From fc6cc4cd0a5e898879f5d5f3b293c4234a04eab8 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 19 Oct 2023 18:21:07 +0200 Subject: [PATCH] Updates current_max --- ohmpi/hardware_system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index e366c0cc..b78084be 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -49,6 +49,7 @@ voltage_max = np.min([TX_CONFIG['voltage_max'], np.min(np.hstack((np.inf, [MUX_CONFIG[i].pop('voltage_max', np.inf) for i in MUX_CONFIG.keys()])))]) voltage_min = RX_CONFIG['voltage_min'] +print(f'Current max: {current_max:.2f}') def elapsed_seconds(start_time): lap = datetime.datetime.utcnow() - start_time -- GitLab