This commit is contained in:
2026-01-22 15:44:14 +01:00
parent dc34d92412
commit 7ed397f1c5
+1 -1
View File
@@ -163,7 +163,7 @@ class GalilRIO(PSIDeviceBase):
logger.info(f"Reading Galil RIO channels with command: {cmd}")
ret = self.controller.socket_put_and_receive(cmd)
timestamp = time.time()
values = [float(val) for val in ret.strip().split(" ")]
values = [float(val) for val in ret.strip().strip("?").split(" ")]
for val, (_, signal_name) in zip(values, channels):
res[signal_name] = {"value": val, "timestamp": timestamp}
return res