Commit e188e67e authored by Martin Drechsler's avatar Martin Drechsler

small change in timeout behaviour

parent cbbaea55
......@@ -763,12 +763,9 @@ class AndorBase(SDK3Camera):
try:
pData, lData = SDK3.WaitBuffer(self.handle, int(timeout))
except:
t.do_run = False
self.AcquisitionStop()
self._flush()
print('camera timeout')
t.join()
break
img = create_aligned_array(xs*ys, 'uint16')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment