w
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user