Files
sf-op/script/test/TestDisp.py
2020-02-07 11:43:37 +01:00

16 lines
375 B
Python

channels = ["SIN-CVME-TIFGUN-EVR0:BUNCH-1-OK", "SIN-CVME-TIFGUN-EVR0:BUNCH-2-OK", \
"S10BC01-DBPM010:Q1","S10DI01-DICT025:B1_CHARGE", "SINEG01-DICT210:GUN_CHARGE"]
st = Stream("st", dispatcher)
for c in channels:
st.addScalar(c, c, 1, 0)
try:
st.initialize()
st.start(True)
st.waitCacheChange(3000)
bscan(st, 100)
except:
st.close()