diff --git a/cfg/leidenghs_cfg.py b/cfg/leidenghs_cfg.py new file mode 100644 index 00000000..b38fb852 --- /dev/null +++ b/cfg/leidenghs_cfg.py @@ -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, + )