Closedown
This commit is contained in:
@@ -98,10 +98,12 @@ def after_read(rec):
|
||||
rec.invalidate()
|
||||
count=count+1
|
||||
|
||||
snap_channels = [ch for ch in diag_channels if not ch.getName().startswith("Scienta")]
|
||||
|
||||
try:
|
||||
print "Scanning...",
|
||||
try:
|
||||
mscan(SampleCurrent, sensors, -1, None, range="auto", take_initial=False, after_read=after_read, domain_axis="MonoEnergy", snaps=diag_channels)
|
||||
mscan(SampleCurrent, sensors, -1, None, range="auto", take_initial=False, after_read=after_read, domain_axis="MonoEnergy", snaps=snap_channels)
|
||||
finally:
|
||||
ret[0].cancel(True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user