diff --git a/superxas_bec/devices/timepix/timepix.py b/superxas_bec/devices/timepix/timepix.py index 9399573..4b5a7ab 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -188,6 +188,9 @@ class Timepix(PSIDeviceBase, TimePixControl): device_manager: Device manager instance, if available. **kwargs: Additional keyword arguments for the base class. """ + super().__init__( + name=name, prefix=prefix, scan_info=scan_info, device_manager=device_manager, **kwargs + ) self.backend = TimepixFlyBackend( backend_rest_url=backend_rest_url, hostname=hostname, socket_port=socket_port ) @@ -210,9 +213,6 @@ class Timepix(PSIDeviceBase, TimePixControl): self._pv_timeout = 5 self._readout_time = 2.1e-3 # 2.1ms readout time to ensure readout is >2ms, required from ASI serval server.. self.r_lock = threading.RLock() # Lock to access the message buffer safely - super().__init__( - name=name, prefix=prefix, scan_info=scan_info, device_manager=device_manager, **kwargs - ) def _poll_array_data(self): """Poll the array data for preview updates."""