diff --git a/debye_bec/devices/pilatus/pilatus.py b/debye_bec/devices/pilatus/pilatus.py index 2e58a48..8b22f92 100644 --- a/debye_bec/devices/pilatus/pilatus.py +++ b/debye_bec/devices/pilatus/pilatus.py @@ -92,6 +92,7 @@ class Pilatus(PSIDeviceBase, ADBase): cam = Cpt(PilatusDetectorCam, "cam1:") hdf = Cpt(HDF5Plugin, "HDF1:") + filter_number = Cpt(EpicsSignal, "FileNumber", kind=Kind.omitted, doc="File number for ramdisk") trigger_shot = Cpt( EpicsSignal, read_pv="X01DA-OP-MO1:BRAGG:xrd_trig_req", @@ -211,6 +212,7 @@ class Pilatus(PSIDeviceBase, ADBase): self.cam.num_images.put(n_images) self.cam.acquire_time.put(detector_exp_time) self.cam.acquire_period.put(PILATUS_ACQUIRE_TIME) + self.filter_number.put(0) # HDF5 settings logger.debug(f"Setting HDF5 file path to {file_path} and file name to {file_name}") self.hdf.file_path.put(file_path)