move files in from repo git.psi.ch/sinqdev/nicos-sinq
This commit is contained in:
26
setups/frappy.py
Normal file
26
setups/frappy.py
Normal file
@ -0,0 +1,26 @@
|
||||
description = 'frappy'
|
||||
group = 'optional'
|
||||
|
||||
modules = ['nicos_sinq.frappy.commands']
|
||||
|
||||
devices = {
|
||||
'temperature': device('nicos.devices.generic.DeviceAlias'),
|
||||
'magfield': device('nicos.devices.generic.DeviceAlias'),
|
||||
}
|
||||
alias_config = {
|
||||
'temperature': {'se_ts': 110, 'se_tt': 100},
|
||||
'magfield': {'se_mf': 100},
|
||||
}
|
||||
|
||||
startupcode = '''
|
||||
printinfo("=======================================================================================")
|
||||
printinfo("Welcome to the NICOS frappy secnode setup!")
|
||||
printinfo(" ")
|
||||
printinfo("Usage:")
|
||||
printinfo(" frappy_main('<main cfg>') # change main SE configuration (e.g. cryostat)")
|
||||
printinfo(" frappy_stick('<stick cfg>') # change sample-stick configuration")
|
||||
printinfo(" frappy_stick('') # remove stick")
|
||||
printinfo(" frappy_main('') # remove main SE apparatus")
|
||||
printinfo(" frappy_main() # show the current SE configuration")
|
||||
printinfo("=======================================================================================")
|
||||
'''
|
11
setups/frappy_addons.py
Normal file
11
setups/frappy_addons.py
Normal file
@ -0,0 +1,11 @@
|
||||
from os import environ
|
||||
description = 'frappy addons'
|
||||
group = 'optional'
|
||||
|
||||
devices = {
|
||||
'se_addons':
|
||||
device('nicos_sinq.frappy.devices.FrappyNode',
|
||||
description='SEC node', unit='',
|
||||
prefix='se_', auto_create=True, service='addons',
|
||||
),
|
||||
}
|
11
setups/frappy_main.py
Normal file
11
setups/frappy_main.py
Normal file
@ -0,0 +1,11 @@
|
||||
from os import environ
|
||||
description = 'frappy main setup'
|
||||
group = 'optional'
|
||||
|
||||
devices = {
|
||||
'se_main':
|
||||
device('nicos_sinq.frappy.devices.FrappyNode',
|
||||
description='main SEC node', unit='',
|
||||
prefix='se_', auto_create=True, service='main',
|
||||
),
|
||||
}
|
11
setups/frappy_stick.py
Normal file
11
setups/frappy_stick.py
Normal file
@ -0,0 +1,11 @@
|
||||
from os import environ
|
||||
description = 'frappy stick setup'
|
||||
group = 'optional'
|
||||
|
||||
devices = {
|
||||
'se_stick':
|
||||
device('nicos_sinq.frappy.devices.FrappyNode',
|
||||
description='stick SEC node', unit='',
|
||||
prefix='se_', auto_create=True, service='stick',
|
||||
),
|
||||
}
|
Reference in New Issue
Block a user