From e93a5c82118acfbd7fdd7d4de51f659fa1630e92 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Wed, 18 Oct 2023 22:47:00 +0200 Subject: [PATCH] Fixes bug in run_measurement --- ohmpi/ohmpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index a20908f1..b18f4406 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -491,7 +491,7 @@ class OhmPi(object): # tx_volt = float(kwargs.pop('tx_volt', self.settings['tx_volt'])) bypass_check = kwargs['bypass_check'] if 'bypass_check' in kwargs.keys() else False if self.switch_mux_on(quad, bypass_check=bypass_check, cmd_id=cmd_id): - tx_volt = self._hw._compute_tx_volt(tx_volt=tx_volt, strategy=strategy) + tx_volt,_ ,_ = self._hw._compute_tx_volt(tx_volt=tx_volt, strategy=strategy) self._hw.vab_square_wave(tx_volt, cycle_duration=injection_duration*2/duty_cycle, cycles=nb_stack, duty_cycle=duty_cycle) if 'delay' in kwargs.keys(): delay = kwargs['delay'] -- GitLab