From b3abbeca2c9a9e7f260b2a83966cd4898cbfa540 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Tue, 20 Jun 2023 17:50:48 +0200 Subject: [PATCH] Fixes tag[i] error + tx_tx_gain_auto event --- ohmpi/hardware_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index 3a9ba81a..a6c78cc6 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -137,7 +137,7 @@ class OhmPiHardware: self.tx_sync.wait() self.tx.adc_gain_auto() self.rx.adc_gain_auto() - self.exec_logger.event(f'OhmPiHardware\ttx_rx_gain_Auto\tend\t{datetime.datetime.utcnow()}') + self.exec_logger.event(f'OhmPiHardware\ttx_rx_gain_auto\tend\t{datetime.datetime.utcnow()}') def _inject(self, polarity=1, inj_time=None): # TODO: deal with voltage or current pulse self.exec_logger.event(f'OhmPiHardware\tinject\tbegin\t{datetime.datetime.utcnow()}') -- GitLab