Script execution
This commit is contained in:
12
script/test/TestStreamNotFixed.py
Normal file
12
script/test/TestStreamNotFixed.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import ch.psi.pshell.bs.Provider as Provider
|
||||
|
||||
p=Provider("provider", "tcp://localhost:9999", True)
|
||||
st1 = Stream("st1", dispatcher)
|
||||
st1.initialize()
|
||||
st1.start()
|
||||
st1.waitCacheChange(10000)
|
||||
|
||||
try:
|
||||
bscan (st1, 10, 10)
|
||||
finally:
|
||||
st1.close()
|
||||
Reference in New Issue
Block a user