Files
sf-op/script/test/TestDisp.py
2021-08-17 14:06:14 +02:00

16 lines
375 B
Python
Executable File

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()