Convert example configs to python
Fixes: #4627 Change-Id: I1049af9fa2f3f9ec06e55811dc9ecfa5f359c805
This commit is contained in:
30
cfg/ls370sim_cfg.py
Normal file
30
cfg/ls370sim_cfg.py
Normal file
@ -0,0 +1,30 @@
|
||||
Node('LscSIM.psi.ch',
|
||||
'Lsc Simulation at PSI',
|
||||
'tcp://5000',
|
||||
)
|
||||
|
||||
Mod('lscom',
|
||||
'frappy_psi.ls370sim.Ls370Sim',
|
||||
'simulated serial communicator to a LS 370',
|
||||
visibility = 3
|
||||
)
|
||||
|
||||
Mod('sw',
|
||||
'frappy_psi.ls370res.Switcher',
|
||||
'channel switcher for Lsc controller',
|
||||
io = 'lscom',
|
||||
)
|
||||
|
||||
Mod('a',
|
||||
'frappy_psi.ls370res.ResChannel',
|
||||
'resistivity',
|
||||
channel = 1,
|
||||
switcher = 'sw',
|
||||
)
|
||||
|
||||
Mod('b',
|
||||
'frappy_psi.ls370res.ResChannel',
|
||||
'resistivity',
|
||||
channel = 3,
|
||||
switcher = 'sw',
|
||||
)
|
Reference in New Issue
Block a user