From 7ed878a88fc720d9a9ae8e105dc1dcccee4ee120 Mon Sep 17 00:00:00 2001 From: awatlet <arnaud.watlet@umons.ac.be> Date: Tue, 10 Oct 2023 11:55:03 +0200 Subject: [PATCH] Fixing polarity issue --- ohmpi/hardware_components/mb_2023_0_X.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py index 4a286a2b..f6a47d93 100644 --- a/ohmpi/hardware_components/mb_2023_0_X.py +++ b/ohmpi/hardware_components/mb_2023_0_X.py @@ -208,7 +208,7 @@ class Tx(TxAbstract): if voltage is not None: self.pwr.voltage = voltage self.exec_logger.debug(f'Voltage pulse of {polarity*self.pwr.voltage:.3f} V for {length:.3f} s') - print('inject_mb') + print('inject_mb', polarity) self.inject(polarity=polarity, injection_duration=length) self.exec_logger.event(f'{self.board_name}\ttx_voltage_pulse\tend\t{datetime.datetime.utcnow()}') -- GitLab