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("=======================================================================================")
|
||||
'''
|
Reference in New Issue
Block a user