Closedown
This commit is contained in:
+6
-6
@@ -16,7 +16,7 @@ st1.initialize()
|
||||
|
||||
|
||||
#Filter
|
||||
st1.setFilter("SINEG01-DICT210:GUN_CHARGE > -10.0")
|
||||
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.
|
||||
@@ -30,14 +30,14 @@ try:
|
||||
#An individual stream channel can be used in a conventional scan, but in this case the stream
|
||||
#must be explicitly started, and there is no guarantee the values belong to the same PulseID
|
||||
#(likely they are since as only cached values are taken).
|
||||
st1.start(True)
|
||||
tscan ([s1,s2], 10 , 0.1)
|
||||
#st1.start(True)
|
||||
#tscan ([s1,s2], 10 , 0.1)
|
||||
|
||||
#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.start(True)␍
|
||||
#tscan ([s1,s2,s3], 10 , 0.1)
|
||||
␍ #st1.stop()
|
||||
|
||||
finally:
|
||||
st1.close()
|
||||
|
||||
Reference in New Issue
Block a user