15 lines
615 B
Python
15 lines
615 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()
|
|
st1.start()
|
|
st1.waitCacheChange(3000)
|
|
for c in st1.getChildren():
|
|
|
|
print c, c.shape, c.getType(None) |