added an example config
This commit is contained in:
@@ -16,7 +16,29 @@
|
|||||||
# Module authors:
|
# Module authors:
|
||||||
# Markus Zolliker <markus.zolliker@psi.ch>
|
# 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, \
|
from frappy.core import StringIO, Parameter, HasIO, \
|
||||||
|
|||||||
Reference in New Issue
Block a user