This commit is contained in:
2025-09-11 17:11:55 +02:00
parent 8e652ff834
commit a3d6929cb7
+3 -2
View File
@@ -258,9 +258,10 @@ class Timepix(PSIDeviceBase, TimePixControl):
# Fetch the backend socket info
net_add = self.backend.timepix_fly_client.get_net_addresses()
print(f"TimePixFly backend is listening on: {net_add.address}")
self.cam.raw_file_template.set("").wait(timeout=self._pv_timeout)
self.cam.raw_file_path.set(f"tcp://connect@127.0.0.1:8451").wait(timeout=self._pv_timeout)
self.cam.raw_file_path.set(f"tcp://connect@{net_add.address}").wait(
timeout=self._pv_timeout
)
def on_unstage(self) -> None:
"""Called while unstaging the device."""