This commit is contained in:
15
script/test/TestStreamDemo.py
Normal file
15
script/test/TestStreamDemo.py
Normal file
@@ -0,0 +1,15 @@
|
||||
STREAM_URL="tcp://localhost:5552"
|
||||
|
||||
|
||||
|
||||
st1=Stream("st1", STREAM_URL, SocketType.SUB)
|
||||
st1.createMatrix = True
|
||||
st1.initialize()
|
||||
st1.start()
|
||||
st1.waitCacheChange(2000)
|
||||
|
||||
|
||||
show_panel(st1)
|
||||
|
||||
|
||||
#bscan(st1, 10, -1)
|
||||
Reference in New Issue
Block a user