This commit is contained in:
24
script/test/TestArrayTestStats.py
Normal file
24
script/test/TestArrayTestStats.py
Normal file
@@ -0,0 +1,24 @@
|
||||
#av=create_averager(arr,1,)
|
||||
#print av.sum.read()
|
||||
#tscan(av.sum, 10,0.1)
|
||||
|
||||
|
||||
|
||||
#CHANNEL_NAME= "TESTIOC:TESTWF2:MyWF"
|
||||
#tscan("ca://" + CHANNEL_NAME + "?op=sum", 10, 1.0)
|
||||
|
||||
|
||||
|
||||
#av=create_averager(arr,1,)
|
||||
#print av.sum.read()
|
||||
#tscan(av.sum, 10,0.1)
|
||||
|
||||
|
||||
|
||||
s = ArrayRegisterStats(arr.cache).sum
|
||||
s.asyncUpdate=True
|
||||
tscan((arr,s), 10,1.0)
|
||||
|
||||
|
||||
#plot(ars.sum.read())
|
||||
|
||||
Reference in New Issue
Block a user