This commit is contained in:
11
script/test/test_loop_caget.py
Normal file
11
script/test/test_loop_caget.py
Normal file
@@ -0,0 +1,11 @@
|
||||
add_device(ChannelDouble("c0", "TESTIOC:TESTSINUS:SinCalc"), True)
|
||||
c0.monitored=True
|
||||
show_panel(c0)
|
||||
|
||||
for i in range(1000000):
|
||||
c=ChannelDouble("channel", "TESTIOC:TESTSINUS:SinCalc")
|
||||
c.initialize()
|
||||
print i, c.read()
|
||||
c.close()
|
||||
time.sleep(0.001)
|
||||
|
||||
Reference in New Issue
Block a user