Files
sf-op/script/test/bs.py
2019-03-04 14:27:51 +01:00

13 lines
389 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("VCC", "SLG-LCAM-C103:FPICTURE", 10, 0, w,h)
st1.initialize()
try:
bscan (st1, 3)
finally:
st1.close()