add cfgs for fibrestick/laser
This commit is contained in:
22
cfg/addons/laser_cfg.py
Normal file
22
cfg/addons/laser_cfg.py
Normal file
@@ -0,0 +1,22 @@
|
||||
Node('pdld_laser.psi.ch',
|
||||
'PDLD laser',
|
||||
interface = 'tcp://5000',
|
||||
)
|
||||
|
||||
Mod('laser_io',
|
||||
'frappy_psi.pdld.IO',
|
||||
'laser IO',
|
||||
uri='serial:///dev/ttyUSB0?baudrate=9600',
|
||||
)
|
||||
|
||||
Mod('laser',
|
||||
'frappy_psi.pdld.Laser',
|
||||
'laser switch',
|
||||
io='laser_io',
|
||||
)
|
||||
|
||||
Mod('laser_power',
|
||||
'frappy_psi.pdld.LaserPower',
|
||||
'laser power',
|
||||
io='laser_io',
|
||||
)
|
||||
37
cfg/stick/fibrestick_cfg.py
Normal file
37
cfg/stick/fibrestick_cfg.py
Normal file
@@ -0,0 +1,37 @@
|
||||
Node('fibrestick.psi.ch',
|
||||
'stick with laser fibre',
|
||||
)
|
||||
|
||||
Mod('sea_stick',
|
||||
'frappy_psi.sea.SeaClient',
|
||||
'SEA stick connection',
|
||||
config='fibre.stick',
|
||||
service='stick',
|
||||
)
|
||||
|
||||
Mod('ts',
|
||||
'frappy_psi.sea.SeaReadable', '',
|
||||
meaning=['temperature', 30],
|
||||
io='sea_stick',
|
||||
sea_object='tt',
|
||||
json_file='ma11.config.json',
|
||||
rel_paths=['ts'],
|
||||
)
|
||||
|
||||
Mod('laser_io',
|
||||
'frappy_psi.pdld.IO',
|
||||
'laser IO',
|
||||
uri='serial:///dev/serial/by-path/pci-0000:00:14.0-usb-0:4.4.4.2:1.0-port0?baudrate=9600',
|
||||
)
|
||||
|
||||
Mod('laser',
|
||||
'frappy_psi.pdld.Laser',
|
||||
'laser switch',
|
||||
io='laser_io',
|
||||
)
|
||||
|
||||
Mod('laser_power',
|
||||
'frappy_psi.pdld.LaserPower',
|
||||
'laser power',
|
||||
io='laser_io',
|
||||
)
|
||||
Reference in New Issue
Block a user