From 0145701303babce60e4e8d154baa7f15b4e7c44c Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Mon, 9 Oct 2023 13:27:04 +0200
Subject: [PATCH] Searches for run_measurement error

---
 ohmpi/hardware_components/mb_2023_0_X.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py
index e43794d9..15049a12 100644
--- a/ohmpi/hardware_components/mb_2023_0_X.py
+++ b/ohmpi/hardware_components/mb_2023_0_X.py
@@ -159,6 +159,7 @@ class Tx(TxAbstract):
     def polarity(self, polarity):
         print(polarity)
         assert polarity in [-1, 0, 1]
+        print(f'asserted polarity: {self.polarity}')
         self._polarity = polarity
         if polarity == 1:
             self.pin0.value = True
-- 
GitLab