fix ma7_samplehead_cfg and thermalcond_cfg

This commit is contained in:
zolliker 2024-10-22 10:52:23 +02:00
parent 601ad9d301
commit 16abfdc65e
4 changed files with 38 additions and 5 deletions

View File

@ -4,7 +4,7 @@ Node('ma7.config.sea.psi.ch',
Mod('sea_main', Mod('sea_main',
'frappy_psi.sea.SeaClient', 'frappy_psi.sea.SeaClient',
'main sea connection for ma7.config', 'main sea connection for ma7_sampleheat.config',
config='ma7_sampleheat.config', config='ma7_sampleheat.config',
service='main', service='main',
) )
@ -25,6 +25,7 @@ Mod('th',
rel_paths=['ts_2', 'setsamp'] rel_paths=['ts_2', 'setsamp']
) )
Mod('ts0', Mod('ts0',
'frappy_psi.sea.SeaReadable', 'frappy_psi.sea.SeaReadable',
'sample stick exch. temperature', 'sample stick exch. temperature',
@ -37,13 +38,21 @@ Mod('ts',
'frappy_psi.parmod.Converging', 'frappy_psi.parmod.Converging',
'test for parmod', 'test for parmod',
unit='K', unit='K',
value_param='th.value', read='th.value',
target_param='th.setsamp', write='th.setsamp',
meaning=['temperature', 20], meaning=['temperature', 20],
settling_time=20, settling_time=20,
tolerance=1, tolerance=1,
) )
#Mod('sampheat',
# 'frappy_psi.sea.SeaWritable', '',
# io='sea_main',
# sea_object='tt',
# rel_paths=['ts_2', 'setsamp', 'manualpower']
#)
Mod('cc', Mod('cc',
'frappy_psi.sea.SeaReadable', '', 'frappy_psi.sea.SeaReadable', '',
io='sea_main', io='sea_main',

View File

@ -367,14 +367,14 @@
{"path": "send", "type": "text", "readonly": false, "cmd": "tcoil send", "visibility": 3}, {"path": "send", "type": "text", "readonly": false, "cmd": "tcoil send", "visibility": 3},
{"path": "status", "type": "text", "visibility": 3}, {"path": "status", "type": "text", "visibility": 3},
{"path": "excitation", "type": "float", "readonly": false, "cmd": "tcoil excitation", "visibility": 3}, {"path": "excitation", "type": "float", "readonly": false, "cmd": "tcoil excitation", "visibility": 3},
{"path": "ta", "type": "float", "visibility": 3, "kids": 3}, {"path": "ta", "type": "float", "kids": 3},
{"path": "ta/enable", "type": "bool", "readonly": false, "cmd": "tcoil ta/enable"}, {"path": "ta/enable", "type": "bool", "readonly": false, "cmd": "tcoil ta/enable"},
{"path": "ta/r", "type": "float"}, {"path": "ta/r", "type": "float"},
{"path": "ta/curve", "type": "text", "readonly": false, "cmd": "tcoil ta/curve", "kids": 3}, {"path": "ta/curve", "type": "text", "readonly": false, "cmd": "tcoil ta/curve", "kids": 3},
{"path": "ta/curve/adjust", "type": "text", "readonly": false, "cmd": "tcoil ta/curve/adjust"}, {"path": "ta/curve/adjust", "type": "text", "readonly": false, "cmd": "tcoil ta/curve/adjust"},
{"path": "ta/curve/points", "type": "floatvarar", "readonly": false, "cmd": "tcoil ta/curve/points"}, {"path": "ta/curve/points", "type": "floatvarar", "readonly": false, "cmd": "tcoil ta/curve/points"},
{"path": "ta/curve/cpoints", "type": "floatvarar", "readonly": false, "cmd": "tcoil ta/curve/cpoints"}, {"path": "ta/curve/cpoints", "type": "floatvarar", "readonly": false, "cmd": "tcoil ta/curve/cpoints"},
{"path": "tb", "type": "float", "visibility": 3, "kids": 3}, {"path": "tb", "type": "float", "kids": 3},
{"path": "tb/enable", "type": "bool", "readonly": false, "cmd": "tcoil tb/enable"}, {"path": "tb/enable", "type": "bool", "readonly": false, "cmd": "tcoil tb/enable"},
{"path": "tb/r", "type": "float"}, {"path": "tb/r", "type": "float"},
{"path": "tb/curve", "type": "text", "readonly": false, "cmd": "tcoil tb/curve", "kids": 3}, {"path": "tb/curve", "type": "text", "readonly": false, "cmd": "tcoil tb/curve", "kids": 3},

View File

@ -71,6 +71,22 @@
{"path": "s4/curve/points", "type": "floatvarar", "readonly": false, "cmd": "res s4/curve/points", "visibility": 3}, {"path": "s4/curve/points", "type": "floatvarar", "readonly": false, "cmd": "res s4/curve/points", "visibility": 3},
{"path": "s4/alarm", "type": "float", "readonly": false, "cmd": "res s4/alarm"}, {"path": "s4/alarm", "type": "float", "readonly": false, "cmd": "res s4/alarm"},
{"path": "s4/raw", "type": "float"}, {"path": "s4/raw", "type": "float"},
{"path": "s5", "type": "float", "kids": 14},
{"path": "s5/active", "type": "enum", "enum": {"inactive": 0, "active": 1}, "readonly": false, "cmd": "res s5/active"},
{"path": "s5/autorange", "type": "bool", "readonly": false, "cmd": "res s5/autorange", "description": "autorange (common for all channels)"},
{"path": "s5/range", "type": "text", "readonly": false, "cmd": "res s5/range", "description": "resistance range in Ohm"},
{"path": "s5/range_num", "type": "int"},
{"path": "s5/excitation", "type": "text", "readonly": false, "cmd": "res s5/excitation", "description": "excitation with unit, i.e. 2uV or 3pA"},
{"path": "s5/excitation_num", "type": "int"},
{"path": "s5/excitation_mode", "type": "enum", "enum": {"voltage": 0, "current": 1, "off": 2}},
{"path": "s5/pause", "type": "int", "readonly": false, "cmd": "res s5/pause", "description": "pause time [sec] after channel change"},
{"path": "s5/filter", "type": "int", "readonly": false, "cmd": "res s5/filter", "description": "filter average time [sec]"},
{"path": "s5/dwell", "type": "int", "readonly": false, "cmd": "res s5/dwell", "description": "dwell time [sec]. Total time per channel: pause + filter + dwell"},
{"path": "s5/status", "type": "text"},
{"path": "s5/curve", "type": "text", "readonly": false, "cmd": "res s5/curve", "kids": 1},
{"path": "s5/curve/points", "type": "floatvarar", "readonly": false, "cmd": "res s5/curve/points", "visibility": 3},
{"path": "s5/alarm", "type": "float", "readonly": false, "cmd": "res s5/alarm"},
{"path": "s5/raw", "type": "float"},
{"path": "analog2", "type": "float", "readonly": false, "cmd": "res analog2"}, {"path": "analog2", "type": "float", "readonly": false, "cmd": "res analog2"},
{"path": "remote", "type": "bool"}, {"path": "remote", "type": "bool"},
{"path": "display", "type": "text", "readonly": false, "cmd": "res display"}]}} {"path": "display", "type": "text", "readonly": false, "cmd": "res display"}]}}

View File

@ -36,3 +36,11 @@ Mod('R4',
sea_object='res', sea_object='res',
rel_paths=['s4'], rel_paths=['s4'],
) )
Mod('R5',
'frappy_psi.sea.SeaReadable', '',
io='sea_stick',
sea_object='res',
rel_paths=['s5'],
)