From 79407c47849ae73c7b319e8b8ff47d8519216a66 Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Wed, 6 Dec 2023 23:33:15 +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 8aa0acc7..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