From c8830b1d85104cfac2d6580fc8754daa91ecc815 Mon Sep 17 00:00:00 2001
From: Clement Remi <remi.clement@irstea.fr>
Date: Fri, 2 Jun 2023 08:36:20 +0200
Subject: [PATCH] update time

---
 ohmpi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ohmpi.py b/ohmpi.py
index e751f4ae..f72f0f96 100644
--- a/ohmpi.py
+++ b/ohmpi.py
@@ -906,7 +906,7 @@ class OhmPi(object):
                 if not np.isnan(tx_volt):
                     self.DPS.write_register(0x0000, tx_volt, 2)  # set tx voltage in V
                     self.DPS.write_register(0x09, 1)  # DPS5005 on
-                    time.sleep(1) # do not chnage this value 1 second is the minimum
+                    time.sleep(2) # do not chnage this value 1 second is the minimum
                 else:
                     self.exec_logger.debug('No best voltage found, will not take measurement')
                     out_of_range = True
-- 
GitLab