From 52185627f24ad9e19f6524bda114099f33a0de2e Mon Sep 17 00:00:00 2001 From: Arnaud Watlet <arnaud.watlet@umons.ac.be> Date: Wed, 6 Dec 2023 23:26:35 +0100 Subject: [PATCH] Tries to address vmax issue --- ohmpi/ohmpi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index 993bf817..9edfc010 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -585,9 +585,9 @@ class OhmPi(object): self.data_logger.info(dd) self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='on') - self.hw.tx.polarity = 1 + self._hw.tx.polarity = 1 time.sleep(1.0) - self.hw.tx.polarity = 0 + self._hw.tx.polarity = 0 self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='off') else: self.exec_logger.info(f'Skipping {quad}') -- GitLab