revert to: allow multiple names for SE aliases
remark: 'frappy' setup should be moved to instrument setups
This commit is contained in:
@ -6,6 +6,8 @@ modules = ['nicos_sinq.frappy_sinq.commands']
|
||||
devices = dict(
|
||||
frappy_config = device(
|
||||
'nicos_sinq.frappy_sinq.devices.FrappyConfig',
|
||||
# frappy_config does not need to be visible
|
||||
visibility = [],
|
||||
# the possible SECoP connections
|
||||
nodes = ['se_main', 'se_stick', 'se_addons'],
|
||||
#
|
||||
@ -17,22 +19,25 @@ devices = dict(
|
||||
# the devices with the names given by key are added to determine the
|
||||
# device, using the given importance number, with similar values as
|
||||
# given by the SECoP standard (10: instrument, 20: cryostat, 30: insert)
|
||||
# for the name of the created aliases see the instrument specific
|
||||
# setup 'frappy_aliases'
|
||||
temperature = { # the SECoP meaning
|
||||
# possible devices in addition to SECoP meaning (with importance)
|
||||
'targets': {'se_ts': 20, 'se_tt': 19, 'se_tm': 18},
|
||||
'alias': ['Ts', 'temperature'], # the name(s) to be given to the alias
|
||||
'targets': # possible devices in addition with importance
|
||||
{'se_ts': 20, 'se_tt': 19, 'se_tm': 18},
|
||||
},
|
||||
temperature_regulation = {
|
||||
'targets': {'se_tt': 20, 'se_tm': 19},
|
||||
'alias': 'Tr',
|
||||
'targets': {'se_tt': 20, 'se_tm': 19},
|
||||
},
|
||||
temperature_drivable = {
|
||||
'envlist': False, # do not put into env list
|
||||
'alias': 'T',
|
||||
'envlist': False,
|
||||
},
|
||||
magneticfield = {
|
||||
'alias': ['B', 'magfield'],
|
||||
'targets': {'se_mf': 20},
|
||||
},
|
||||
rotation_z = {
|
||||
'alias': 'dom',
|
||||
'envlist': False,
|
||||
'targets': {'se_om': 20},
|
||||
}
|
||||
|
Reference in New Issue
Block a user