New ScreenPanel
This commit is contained in:
24
script/bs5.py
Executable file
24
script/bs5.py
Executable file
@@ -0,0 +1,24 @@
|
||||
#st1 = Stream("st1", bs)
|
||||
st1 = Stream("st1", dispatcher)
|
||||
|
||||
s1=st1.addScalar("Int8Scalar", "Int8Scalar", 10, 0)
|
||||
s2=st1.addScalar("Float64Scalar", "Float64Scalar", 10, 0)
|
||||
s2=st1.addScalar("BoolScalar", "BoolScalar", 10, 0)
|
||||
w1=st1.addWaveform("Int32Waveform", "Int32Waveform", 10, 0)
|
||||
w2=st1.addWaveform("BoolWaveform", "BoolWaveform", 10, 0)
|
||||
m1=st1.addMatrix("Int16Waveform", "Int16Waveform", 10, 0, 64, 32)
|
||||
|
||||
st1.setFilter("Int8Scalar>50")
|
||||
st1.initialize()
|
||||
#st1.setFilter("Int8Scalar>20")
|
||||
|
||||
try:
|
||||
tscan (st1.getReadables(), 100, 0)
|
||||
|
||||
#The bscan command performs samples every stream element
|
||||
#bscan (st1, 10) #Sampling 10 elements
|
||||
|
||||
#st1.start(True)
|
||||
#tscan ([s1,w1], 10 , 0.2)
|
||||
finally:
|
||||
st1.close()
|
||||
Reference in New Issue
Block a user