Files
frappy/cfg/leidenghs_cfg.py

40 lines
672 B
Python

Node('leidenghs_test.test',
'test leiden GHS driver',
'tcp://5000',
)
Mod('io',
'frappy_psi.leidenghs.IO',
'leiden GHS communication',
uri='serial:///dev/tty.usbserial-14330?baudrate=9600',
)
Mod('A8',
'frappy_psi.leidenghs.Valve',
'test valve A8',
io='io',
key='A8',
)
Mod('P1',
'frappy_psi.leidenghs.Pressure',
'test pressure P1',
io='io',
addr='P1',
)
Mod('P2',
'frappy_psi.leidenghs.Pressure',
'test pressure P2',
io='io',
addr='P2',
)
Mod('P6',
'frappy_psi.leidenghs.PressureLimit',
'test pressure with limits P6',
io='io',
addr='P6',
offset=0,
)