From 091bb45875511e3d9ef3c551c1101d90744dabab Mon Sep 17 00:00:00 2001 From: awatlet <arnaud.watlet@umons.ac.be> Date: Wed, 11 Oct 2023 14:35:51 +0200 Subject: [PATCH] Fixes vab_pulse --- 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 d1f6bf7f..60429ff8 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -445,7 +445,7 @@ class OhmPiHardware: if not append: self._clear_values() for i in range(n_pulses): - self._vab_pulse(self, vab=vab, duration=durations[i], sampling_rate=sampling_rate, polarity=polarities[i], + self._vab_pulse(vab=vab, duration=durations[i], sampling_rate=sampling_rate, polarity=polarities[i], append=True) def switch_mux(self, electrodes, roles=None, state='off', **kwargs): -- GitLab