From dbba785b0ecc5a6b5ea85f5669667dedd5b307f4 Mon Sep 17 00:00:00 2001 From: appel_c Date: Tue, 9 Dec 2025 11:03:01 +0100 Subject: [PATCH] fix(timepix): remove status writer from trigger call --- superxas_bec/devices/timepix/timepix.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/superxas_bec/devices/timepix/timepix.py b/superxas_bec/devices/timepix/timepix.py index 3f3485a..132e1fa 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -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