From 04c556c4c9ebe779a2193d6a56f2ccc05e8fb6a3 Mon Sep 17 00:00:00 2001 From: appel_c Date: Tue, 26 Aug 2025 09:13:23 +0200 Subject: [PATCH] w --- 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 546607c..3f593b9 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -388,13 +388,12 @@ class Timepix(PSIDeviceBase, TimePixControl): status_backend = DeviceStatus(self) # Add callback that starts the acquisition on the detector status_backend.add_callback(trigger_callback) - # Prepare the backend, attach the status to the state of the backend - status_backend = self.backend.on_trigger(status=status_backend) - # Prepare the camera status that resolves when the camera is finished acquiring status_camera = TransitionStatus( self.cam.acquire_busy, [ACQUIRESTATUS.ACQUIRING, ACQUIRESTATUS.DONE] ) + # Prepare the backend, attach the status to the state of the backend + status_backend = self.backend.on_trigger(status=status_backend) # TODO cleanup and test def failed_to_start_collect_cb(status: DeviceStatus):