diff --git a/debye_bec/devices/pilatus/pilatus.py b/debye_bec/devices/pilatus/pilatus.py index d22fec9..355066e 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.num_captured, img_counter + 1) + status = CompareStatus(self.hdf.num_captured, img_counter + 1) logger.warning(f"Triggering took image {time.time() - start_time:.3f} seconds") self.trigger_shot.put(1) return status