From 4a00d3baeb82c5f2137fe80a39d8eda712a04909 Mon Sep 17 00:00:00 2001 From: x01da Date: Tue, 2 Jun 2026 13:29:38 +0200 Subject: [PATCH] Automatic backup triggered by new deployment --- debye_bec/devices/pilatus/pilatus.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debye_bec/devices/pilatus/pilatus.py b/debye_bec/devices/pilatus/pilatus.py index 91a422e..d75b37b 100644 --- a/debye_bec/devices/pilatus/pilatus.py +++ b/debye_bec/devices/pilatus/pilatus.py @@ -545,11 +545,11 @@ class Pilatus(PSIDeviceBase, ADBase): self.cam.array_callbacks.set(1).wait(5) # Enable array callbacks self.hdf.enable.set(1).wait(5) # Enable HDF5 plugin # Camera settings - self.cam.num_exposures.set(1).wait(5) - self.cam.num_images.set(self.n_images).wait(5) - self.cam.acquire_time.set(detector_exp_time).wait(5) # let's try this - self.cam.acquire_period.set(exp_time).wait(5) - self.filter_number.set(0).wait(5) + self.cam.num_exposures.set(1, timeout=5).wait() + self.cam.num_images.set(self.n_images, timeout=5).wait() + self.cam.acquire_time.set(detector_exp_time, timeout=5).wait() # let's try this + self.cam.acquire_period.set(exp_time, timeout=5).wait() + self.filter_number.set(0, timeout=5).wait() # HDF5 settings logger.debug( f"Setting HDF5 file path to {file_path} and file name to {file_name}. full_path is {self._full_path}"