[WIP] fixes for gas10ka / varioxB

treat proxy for io correctly
This commit is contained in:
l_samenv
2024-06-10 10:11:03 +02:00
parent b1f9c74269
commit 67fa50a9e0
10 changed files with 855 additions and 59 deletions

43
cfg/stick/gas10ka_cfg.py Normal file
View File

@ -0,0 +1,43 @@
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'),
)