From c8b1ec05ca593b10da56d1464dab2cc056e42216 Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Thu, 7 Dec 2023 15:19:04 +0100
Subject: [PATCH] Tries to address vmax issue

---
 ohmpi/ohmpi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py
index fbd1e4d4..f4656963 100644
--- a/ohmpi/ohmpi.py
+++ b/ohmpi/ohmpi.py
@@ -583,7 +583,7 @@ class OhmPi(object):
             self._hw.tx.pwr.current_max = 0.001
             self._hw.tx.pwr.power_max(0.1)
             new_quad = [quad[0], quad[0]]
-            self._hw.switch_mux(new_quad, roles=['A','B'], state='on', bypass_ab_check=True, bypass_ab_check=True)
+            self._hw.switch_mux(new_quad, roles=['A','B'], state='on', bypass_ab_check=True)
 
             # hw._vab_pulse(duration=injection_duration, vab=tx_volt)
             self._hw._inject(injection_duration=.2, polarity=1)
-- 
GitLab