Files
frappy_sinq/setups/frappy.py
Markus Zolliker 80d81d72ae determine environment from alias definitions
secop devices are added automatically to the environment if the
appear in the alias_config. secop devices no longer available
are remove from the envrionment list.

+ fix rename nicos_sinq/frappy to nicos_sinq/frappy_sinq
2022-04-13 09:07:43 +02:00

27 lines
1.1 KiB
Python

description = 'frappy'
group = 'optional'
modules = ['nicos_sinq.frappy_sinq.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("=======================================================================================")
'''