Commit e188e67e authored by Martin Drechsler's avatar Martin Drechsler

small change in timeout behaviour

parent cbbaea55
...@@ -763,12 +763,9 @@ class AndorBase(SDK3Camera): ...@@ -763,12 +763,9 @@ class AndorBase(SDK3Camera):
try: try:
pData, lData = SDK3.WaitBuffer(self.handle, int(timeout)) pData, lData = SDK3.WaitBuffer(self.handle, int(timeout))
except: except:
t.do_run = False
self.AcquisitionStop() self.AcquisitionStop()
self._flush() self._flush()
print('camera timeout') print('camera timeout')
t.join()
break break
img = create_aligned_array(xs*ys, 'uint16') 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