This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions
+25
View File
@@ -0,0 +1,25 @@
#st1 = Stream("st1", bs)
st1 = Stream("st1", dispatcher)
s1=st1.addScalar("Int8Scalar", "Int8Scalar", 10, 0)
w1=st1.addWaveform("Int32Waveform", "Int32Waveform", 10, 0)
#st1.setFilter("Int8Scalar>50")
st1.initialize()
st1.start()
st1.waitCacheChange(10000)
#st1.setFilter("Int8Scalar>20")
try:
#tscan (st1.getReadables(), 100, 0)
#The bscan command performs samples every stream element
bscan (st1, -1, 5.0, layout = "sf") #Sampling 10 elements
#st1.start(True)
#tscan ([s1,w1], 10 , 0.2)
finally:
st1.close()