From 89597efb0bf53c09969054536858c1563baf854d Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Mon, 9 Oct 2023 12:40:46 +0200 Subject: [PATCH] Searches for run_measurement error --- dev/test_mb_2024_0_mux_2024.py | 2 +- ohmpi/ohmpi.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/test_mb_2024_0_mux_2024.py b/dev/test_mb_2024_0_mux_2024.py index f5b367fa..01a4e648 100644 --- a/dev/test_mb_2024_0_mux_2024.py +++ b/dev/test_mb_2024_0_mux_2024.py @@ -58,7 +58,7 @@ if within_ohmpi: #k._hw.rx._bias = -1.38 #print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV') # k._hw._plot_readings() - A, B, M, N = (28, 25, 27, 26) + A, B, M, N = (0, 0, 0, 0) # k._hw.switch_mux([A, B, M, N], state='on') # k._hw.vab_square_wave(12., cycle_duration=10., cycles=3) # k._hw.switch_mux([A, B, M, N], state='off') diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index 7dcc396b..44c70738 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -784,7 +784,6 @@ class OhmPi(object): Bypasses checks for A==M or A==M or B==M or B==N (i.e. used for rs-check) """ assert len(quadrupole) == 4 - print(quadrupole) if (self._hw.tx.pwr.voltage > self._hw.rx._voltage_max) and bypass_check: self.exec_logger.warning('Cannot bypass checking electrode roles because tx pwr voltage is over rx maximum voltage') self.exec_logger.debug(f'tx pwr voltage: {self._hw.tx.pwr.voltage}, rx max voltage: {self._hw.rx._voltage_max}') -- GitLab