added an example config

This commit is contained in:
2025-11-12 15:52:57 +01:00
committed by Markus Zolliker
parent 765218eed2
commit 42ebe05d5b

View File

@@ -16,7 +16,29 @@
# Module authors:
# Markus Zolliker <markus.zolliker@psi.ch>
# *****************************************************************************
"""PDLD Laser"""
"""PDLD Laser
----cfg.py example ---
# connected via USB
Mod('laser_io',
'frappy_psi.pdld.IO',
'laser IO',
uri='serial:///dev/ttyUSB1?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',
)
~
"""
from frappy.core import StringIO, Parameter, HasIO, \