From 76e3092e36bb5fc9532bc6eab7bd5498c1fcdcd6 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Fri, 16 Jun 2023 08:46:58 +0200 Subject: [PATCH] Sets polarity to 0 after each pulse --- ohmpi/hardware_system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index f7365f63..b76a7e23 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -324,6 +324,7 @@ class OhmPiHardware: injection.start() readings.join() injection.join() + self.tx.polarity = 0 def _vab_pulses(self, vab, lengths, sampling_rate, polarities=None, append=False): n_pulses = len(lengths) -- GitLab