This commit is contained in:
2025-09-03 15:53:50 +02:00
parent 43bdb95f38
commit 3878dc77d5

View File

@@ -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)