This commit is contained in:
2026-01-22 15:40:49 +01:00
parent 94b24403c7
commit c6c33556bc
@@ -153,12 +153,15 @@ class GalilRIO(PSIDeviceBase):
# This yields tuples of cpt, signal
for walk in self.walk_signals():
logger.info(f"Walking signal: {walk.item.name} of type {type(walk.item)}")
if isinstance(walk.item, GalilRIOSignalRO):
logger.info(f"Adding channel {walk.item._channel} ({walk.item.name}) to read list")
channels.append(
(walk.item._channel, walk.item.name)
) # pylint: disable=protected-access
# Read all channels in one command
logger.info(f"Reading channels: {channels}")
cmd = "MG@" + ",@".join([f"AN[{ii}]" for ii, _ in channels])
logger.info(f"Reading Galil RIO channels with command: {cmd}")
ret = self.controller.socket_put_and_receive(cmd)