Skip to content

Commit bdf6e84

Browse files
author
spielman
committed
Stop acquisition on error.
1 parent 33a09e2 commit bdf6e84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: labscript_devices/IMAQdxCamera/blacs_workers.py

+2
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ def grab_multiple(self, n_images, images, waitForNextBuffer=True):
224224
if self.exception_on_failed_shot:
225225
raise
226226
else:
227+
# stop acquisition
227228
print(e, file=sys.stderr)
229+
break
228230

229231

230232

0 commit comments

Comments
 (0)