From cb3827c36a3ca84fbc744eb67201588fcb6cd980 Mon Sep 17 00:00:00 2001 From: Sasha Rahlin Date: Wed, 20 Mar 2024 23:49:51 -0500 Subject: [PATCH] update ReadoutSystem for hidfmux firmware --- dfmux/python/Housekeeping.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dfmux/python/Housekeeping.py b/dfmux/python/Housekeeping.py index 5d599eb5..885cb56c 100644 --- a/dfmux/python/Housekeeping.py +++ b/dfmux/python/Housekeeping.py @@ -126,10 +126,12 @@ def ProcessBuffered(self, frame): # avoid overloading the network on the return found = False + isv4 = False for board in self.board_serials: dat = self.tuber[board].GetReply()[0]['result'] boardhk = self.HousekeepingFromJSON(dat) + isv4 = isv4 or boardhk.isv4 hkdata[int(boardhk.serial)] = boardhk ip, crate, slot = self.board_map[board] @@ -149,7 +151,7 @@ def ProcessBuffered(self, frame): hwmf = core.G3Frame(core.G3FrameType.Wiring) hwmf['WiringMap'] = hwm - hwmf['ReadoutSystem'] = 'ICE' + hwmf['ReadoutSystem'] = 'ICE4' if isv4 else 'ICE' if self.hwmf is None: self.hwmf = hwmf