fix(timepix): remove status writer from trigger call
All checks were successful
CI for superxas_bec / test (pull_request) Successful in 33s
CI for superxas_bec / test (push) Successful in 36s

This commit is contained in:
2025-12-09 11:03:01 +01:00
parent ec36aba2e2
commit dbba785b0e

View File

@@ -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