From 111c6908b06ccaf5e3a972d0a5688e5e94a93192 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Sat, 15 Apr 2023 13:36:28 +0200
Subject: [PATCH] Updates test for ohmpi card 3.15

---
 test_ohmpi_card_3.15.py => test_ohmpi_card_3_15.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename test_ohmpi_card_3.15.py => test_ohmpi_card_3_15.py (70%)

diff --git a/test_ohmpi_card_3.15.py b/test_ohmpi_card_3_15.py
similarity index 70%
rename from test_ohmpi_card_3.15.py
rename to test_ohmpi_card_3_15.py
index 7dfcf9df..7c8a3978 100644
--- a/test_ohmpi_card_3.15.py
+++ b/test_ohmpi_card_3_15.py
@@ -1,5 +1,5 @@
-import sys
-sys.path.extend(['/home/su530201/PycharmProjects/ohmpi_reversaal/OhmPi'])
+# import sys
+# sys.path.extend(['/home/su530201/PycharmProjects/ohmpi_reversaal/OhmPi'])
 from OhmPi.hardware.ohmpi_card_3_15 import Tx
 from OhmPi.hardware.ohmpi_card_3_15 import Rx
 from OhmPi.logging_setup import create_stdout_logger
@@ -11,3 +11,6 @@ print('\nCreating TX...')
 tx = Tx(exec_logger= exec_logger, soh_logger= soh_logger)
 print('\nCreating RX...')
 rx = Rx(exec_logger= exec_logger, soh_logger= soh_logger)
+
+print(f'TX current: {tx.current:.3f} mA')
+print(f'RX voltage: {rx.voltage:.3f} mV')
-- 
GitLab