cfg: add cfg file for leidenghs
This commit is contained in:
39
cfg/leidenghs_cfg.py
Normal file
39
cfg/leidenghs_cfg.py
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
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,
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user