diff --git a/script/test/bs4.py b/script/test/bs4.py index ad217da..0702bc1 100644 --- a/script/test/bs4.py +++ b/script/test/bs4.py @@ -12,11 +12,14 @@ s3=st1.addScalar("S10DI01-DICT025:B1_CHARGE", "S10DI01-DICT025:B1_CHARGE", 10, 0 #s4=st1.addScalar("S10DI01-DICT025:B1_CHARGES", "S10DI01-DICT025:B1_CHARGES", 10, 0) +st1.setFilter("SINEG01-DICT210:GUN_CHARGE < 0.0") + st1.initialize() +#st1.start(True) #Filter -st1.setFilter("SINEG01-DICT210:GUN_CHARGE < 0.0") + try: while(True): #The stream can be used on any conventional scan. The next stream value is sampled. @@ -35,9 +38,7 @@ try: #If waveform individual stream channel is used, and no size is provided in constructor/config, #then it must be read previously to the scan to update the size value. - #st1.start(True) - #tscan ([s1,s2,s3], 10 , 0.1) - #st1.stop() + #tscan ([s1,s2,s3], 10 , 0.1) finally: st1.close()