Files
x07mb/script/test/TestSmplDone.py
2022-03-04 14:28:28 +01:00

15 lines
305 B
Python

import sys
name = 'X07MB-OP2:SMPL-DONE'
#name = 'X07MB-OP2-SAI_07:SUM'
try:
for i in range(1000):
print i
with Channel(name) as c:
for j in range(200):
c.get()
time.sleep(0.00)
except:
print sys.exc_info()
finally:
print i,j