add pressure meaning and alias device p

This commit is contained in:
2023-07-04 15:46:36 +02:00
parent 0ca4dae4f5
commit 59eaa39cd4
2 changed files with 6 additions and 0 deletions

View File

@ -77,6 +77,8 @@ class FrappyConfig(Device):
'config for temperature regulation', type=anytype, default={}), 'config for temperature regulation', type=anytype, default={}),
'magneticfield': Param( 'magneticfield': Param(
'config for magnetic field', type=anytype, default={}), 'config for magnetic field', type=anytype, default={}),
'pressure': Param(
'config for pressure', type=anytype, default={}),
'rotation_z': Param( 'rotation_z': Param(
'config for sample rotation (to be used as a3)', 'config for sample rotation (to be used as a3)',
type=anytype, default={}), type=anytype, default={}),

View File

@ -33,6 +33,10 @@ devices = dict(
'alias': ['B', 'magfield'], 'alias': ['B', 'magfield'],
'targets': {'se_mf': 20}, 'targets': {'se_mf': 20},
}, },
pressure = {
'alias': 'p',
'targets': {'se_pressure': 20},
},
rotation_z={ rotation_z={
# possible names of the instruments main omega alias # possible names of the instruments main omega alias
# only one of these must be an alias, and this is then used # only one of these must be an alias, and this is then used