fix(timepix): remove status writer from trigger call
This commit is contained in:
@@ -733,7 +733,6 @@ class Timepix(PSIDeviceBase, TimePixControl):
|
||||
self.cam.acquire_busy, [ACQUIRESTATUS.DONE, ACQUIRESTATUS.ACQUIRING, ACQUIRESTATUS.DONE]
|
||||
)
|
||||
img_counter = self.hdf.num_captured.get()
|
||||
status_writer = CompareStatus(self.hdf.num_captured, img_counter + 1)
|
||||
status_backend = None
|
||||
# First we make sure that the backend reach 'config' state. This needs to happend before each trigger.
|
||||
if self.enable_xes is True:
|
||||
@@ -768,9 +767,9 @@ class Timepix(PSIDeviceBase, TimePixControl):
|
||||
status_backend = self.backend.on_trigger_finished()
|
||||
|
||||
if status_backend is not None:
|
||||
return_status = status_camera & status_backend & status_writer
|
||||
return_status = status_camera & status_backend
|
||||
else:
|
||||
return_status = status_camera & status_writer
|
||||
return_status = status_camera
|
||||
self.cancel_on_stop(return_status)
|
||||
self.cam.acquire.put(1)
|
||||
return return_status
|
||||
|
||||
Reference in New Issue
Block a user