diff --git a/superxas_bec/devices/timepix/timepix.py b/superxas_bec/devices/timepix/timepix.py index 6a8532b..23f493a 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -573,7 +573,7 @@ class Timepix(PSIDeviceBase, TimePixControl): self.hdf.enable.set(1).wait(5) # Enable HDF5 plugin self.hdf.file_path.set(file_path).wait(5) self.hdf.file_name.set(file_name).wait(5) - self.hdf.num_capture.set(self.n_images).wait(5) + self.hdf.num_capture.set(num_images).wait(5) self.file_event.put( file_path=self._full_path, done=False,