Convert example configs to python
Fixes: #4627 Change-Id: I1049af9fa2f3f9ec06e55811dc9ecfa5f359c805
This commit is contained in:
36
cfg/epics_cfg.py
Normal file
36
cfg/epics_cfg.py
Normal file
@ -0,0 +1,36 @@
|
||||
Node('see_demo_equipment',
|
||||
'Do not use, it needs to be rewritten....',
|
||||
'tcp://10767',
|
||||
)
|
||||
|
||||
Mod('tc1',
|
||||
'frappy_demo.modules.CoilTemp',
|
||||
'',
|
||||
sensor="X34598T7",
|
||||
)
|
||||
|
||||
Mod('tc2',
|
||||
'frappy_demo.modules.CoilTemp',
|
||||
'',
|
||||
sensor="X39284Q8",
|
||||
)
|
||||
|
||||
|
||||
for i in [1,2]:
|
||||
Mod('sensor%d' % i,
|
||||
'frappy_ess.epics.EpicsReadable',
|
||||
'',
|
||||
epics_version="v4",
|
||||
value_pv="DEV:KRDG%d" % i,
|
||||
group="Lakeshore336",
|
||||
)
|
||||
|
||||
Mod('loop%d' % i,
|
||||
'frappy_ess.epics.EpicsTempCtrl',
|
||||
'',
|
||||
epics_version="v4",
|
||||
group="Lakeshore336",
|
||||
value_pv="DEV:KRDG%d" % i,
|
||||
target_pv="DEV:SETP_S%d" % i,
|
||||
heaterrange_pv="DEV:RANGE_S%d" % i,
|
||||
)
|
Reference in New Issue
Block a user