From 418c5eb4ab38c8626fdc7fb472f79d67220f24d1 Mon Sep 17 00:00:00 2001 From: Arnaud Watlet <arnaud.watlet@umons.ac.be> Date: Wed, 29 Nov 2023 11:32:26 +0100 Subject: [PATCH] tests new cabling config --- ohmpi/hardware_system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index 11830d88..5b5c418e 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -157,6 +157,7 @@ class OhmPiHardware: mux_config['id'] = mux_id self.mux_boards[mux_id] = mux_module.Mux(**mux_config) + print(self.mux_boards[mux_id].cabling) self.mux_barrier = Barrier(len(self.mux_boards) + 1) self._cabling = {} @@ -164,7 +165,7 @@ class OhmPiHardware: mux.barrier = self.mux_barrier for k, v in mux.cabling.items(): update_dict(self._cabling, {k: (mux_id, k[0])}) #TODO: in theory k[0] is not needed in values - + print(self._cabling) # Complete OhmPiHardware initialization self.readings = np.array([]) # time series of acquired data self._start_time = None # time of the beginning of a readings acquisition -- GitLab