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

12 lines
378 B
Python
Executable File

st = Stream("st1",dispatcher)
st.setFilter(get_beam_ok_channel(bunch=1) + " == 1")
c = "SARCL02-DBLM135:LOSS_SIGNAL_RAW"
st.addWaveform(c, c, 1, 2048)
try:
st.initialize()
st.start()
st.waitCacheChange(10000) #Wait stream be running before starting scan
mscan(st, st.getReadables()[1], -1, line_plots= [c,], keep=False, save=False)
finally:
st.close()