From fb2c3184c28893b38b61a1b1fa5d86d37ec0e27f Mon Sep 17 00:00:00 2001 From: appel_c Date: Wed, 3 Sep 2025 16:14:57 +0200 Subject: [PATCH] w --- debye_bec/devices/pilatus/pilatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debye_bec/devices/pilatus/pilatus.py b/debye_bec/devices/pilatus/pilatus.py index 900e376..d22fec9 100644 --- a/debye_bec/devices/pilatus/pilatus.py +++ b/debye_bec/devices/pilatus/pilatus.py @@ -246,7 +246,7 @@ class Pilatus(PSIDeviceBase, ADBase): start_time = time.time() logger.warning(f"Triggering image with num_captured {self.hdf.num_captured.get()}") img_counter = self.hdf.num_captured.get() - status = CompareStatus(self.cam.array_counter, img_counter + 1) + status = CompareStatus(self.cam.num_captured, img_counter + 1) logger.warning(f"Triggering took image {time.time() - start_time:.3f} seconds") self.trigger_shot.put(1) return status