This commit is contained in:
2025-08-12 17:02:00 +02:00
parent 6a1df52faa
commit f65659bd3d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ 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.get('address', '')}")
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)
@@ -449,7 +449,7 @@ class TimepixFlyClient:
)
self._put(put_cmd="other-config", value=other_config.model_dump(), put_response_model=None)
def get_net_addresses(self) -> dict[str, str]:
def get_net_addresses(self) -> NetAddresses:
"""
Get the network addresses of the TimePix detector by sending a GET request
to the net-addresses endpoint.