16 lines
572 B
Python
16 lines
572 B
Python
st1 = Stream("st1", dispatcher)
|
|
st1.addScalar("X1", "SINEG01-DBPM340:X1", 10, 0)
|
|
#st1.addScalar("Y1", "SINEG01-DBPM340:Y1", 10, 0)
|
|
#st1.addScalar("Q1", "SINEG01-DBPM340:Q1", 10, 0)
|
|
#w,h = caget("SLG-LCAM-C103:WIDTH", 'i'), caget("SLG-LCAM-C103:HEIGHT", 'i')
|
|
#st1.addMatrix("VC", "SLG-LCAM-C103:FPICTURE", 10, 0, w,h)
|
|
#st1.addScalar("i", "SINBC02-DSRM310:intensity", 1, 0)
|
|
#st1.addWaveform("x", "SINBC02-DSRM310:x_profile", 1, 0,2048)
|
|
#st1.addWaveform("y", "SINBC02-DSRM310:y_profile", 1, 0,2048)
|
|
st1.initialize()
|
|
|
|
try:
|
|
bscan (st1, 20)
|
|
finally:
|
|
st1.close()
|