frappy/cfg/stick/gas10ka_cfg.py
l_samenv 67fa50a9e0 [WIP] fixes for gas10ka / varioxB
treat proxy for io correctly
2024-06-10 10:11:03 +02:00

44 lines
818 B
Python

import os
Node('gas10ka.psi.ch',
'gas pressure stick 10 kbar',
)
frappy_main_port = os.environ.get('FRAPPY_MAIN_PORT', 0)
Mod('itc1_',
'frappy.core.Proxy',
'itc1 on main frappy server',
remote_class = 'frappy_psi.mercury.IO',
uri = f'tcp://localhost:{frappy_main_port}',
module='itc1',
# export = False,
)
Mod('res_sample',
'frappy_psi.mercury.RawSensor',
'raw sensor',
io='itc1_',
slot='MB1.T1',
)
Mod('htr_sample',
'frappy_psi.mercury.HeaterUpdate',
'sample stick heater power',
slot='MB0.H1,MB1.T1',
io='itc1_',
)
Mod('T_sample',
'frappy_psi.softcal.SoftPiLoop',
'sample T',
meaning=['temperature', 20],
rawsensor='res_sample',
output_module='htr_sample',
p=1,
i=0.01,
calib='X161269',
value=Param(unit='K'),
)