Commit d69d3305 authored by reiche's avatar reiche

Added support for achriver

parent 1094833a
#--------------------------------------------------------
# pycaspy channels for SwissFEL Bunch Compressor Channels
# contact: Sven Reiche
SF-BC-SERVER:SINLH-TOF 10 100 1000
SF-BC-SERVER:SINLH-R56 10 100 1000
SF-BC-SERVER:SINLH-ANGLE 10 100 1000
SF-BC-SERVER:SINLH-OFFSET 10 100 1000
SF-BC-SERVER:SINLH-ONOFF 10 100 1000
SF-BC-SERVER:SINBC-TOF 10 100 1000
SF-BC-SERVER:SINBC-R56 10 100 1000
SF-BC-SERVER:SINBC-ANGLE 10 100 1000
SF-BC-SERVER:SINBC-OFFSET 10 100 1000
SF-BC-SERVER:SINBC-ONOFF 10 100 1000
SF-BC-SERVER:S10BC-TOF 10 100 1000
SF-BC-SERVER:S10BC-R56 10 100 1000
SF-BC-SERVER:S10BC-ANGLE 10 100 1000
SF-BC-SERVER:S10BC-OFFSET 10 100 1000
SF-BC-SERVER:S10BC-ONOFF 10 100 1000
SF-BC-SERVER:STATUS 10 100 1000
SF-BC-SERVER:ALARM 10 100 1000
SF-BC-SERVER:ACTIVITY 10 100 1000
SF-BC-SERVER:STOP 10 100 1000
import BCSetupServer as BCS
filename='S_SFBD_BCSERVER.config'
ST=10
MT=100
LT=1000
f=open(filename,'w')
f.write('#--------------------------------------------------------\n')
f.write('# pycaspy channels for SwissFEL Bunch Compressor Channels\n')
f.write('# contact: Sven Reiche \n\n')
for key in BCS.pvdb.keys():
if 'PING' in key:
continue
f.write('%s%s %d %d %d\n' % (BCS.prefix,key,ST,MT, LT))
f.close()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment