From 30ee6e8fd0f3cd44a68eea03b56771db1239c900 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Tue, 10 Oct 2023 15:13:36 +0200 Subject: [PATCH] Searches for run_measurement error --- ohmpi/hardware_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index 79845010..3c4c1ee3 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -400,7 +400,7 @@ class OhmPiHardware: def vab_square_wave(self, vab, cycle_duration, sampling_rate=None, cycles=3, polarity=1, duty_cycle=1., append=False): self.exec_logger.event(f'OhmPiHardware\tvab_square_wave\tbegin\t{datetime.datetime.utcnow()}') - self._gain_auto() + self._gain_auto() # TODO: Uncomment me assert 0. <= duty_cycle <= 1. if duty_cycle < 1.: durations = [cycle_duration/2 * duty_cycle, cycle_duration/2*(1.-duty_cycle)] * 2 * cycles -- GitLab