diff --git a/debye_bec/devices/pilatus/pilatus.py b/debye_bec/devices/pilatus/pilatus.py index 79c385b..2e58a48 100644 --- a/debye_bec/devices/pilatus/pilatus.py +++ b/debye_bec/devices/pilatus/pilatus.py @@ -204,8 +204,8 @@ class Pilatus(PSIDeviceBase, ADBase): # TODO Check hown long this takes, make it asynchronous if slow.. start_time = time.time() - self.cam.array_callbacks.set(1).wait(5) # Enable array callbacks - self.hdf.enable.set(1).wait(5) # Enable HDF5 plugin + self.cam.array_callbacks.put(1) # Enable array callbacks + self.hdf.enable.put(1) # Enable HDF5 plugin # Camera settings self.cam.num_exposures.put(1) # why self.cam.num_images.put(n_images)