diff --git a/superxas_bec/devices/timepix/timepix.py b/superxas_bec/devices/timepix/timepix.py index a27acf0..0095535 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -632,6 +632,11 @@ class Timepix(PSIDeviceBase, TimePixControl): def on_stage(self) -> StatusBase | None: """Called while staging the device.""" + ### Clean last error on backend + last_error = self.backend.timepix_fly_client.last_error() + if last_error: + logger.info(f"TimeipxFly backend reports about last error: {last_error}") + ### self.accumulated_data_e1 = None self.accumulated_data_e2 = None scan_msg: ScanStatusMessage = self.scan_info.msg # type: ignore