diff --git a/tools/oneclick/gui/monitoring/server_unb_data_logger.py b/tools/oneclick/gui/monitoring/server_unb_data_logger.py
index 985c08d27858bde03b8316f2d34d86315592a361..ef8d47bd8a8622e6f9ab3490b5d2a2a74750f49f 100644
--- a/tools/oneclick/gui/monitoring/server_unb_data_logger.py
+++ b/tools/oneclick/gui/monitoring/server_unb_data_logger.py
@@ -45,7 +45,8 @@ for i in range(len(label_list)):
 cmd = "python $UPE/peripherals/util_unb_sens.py --unb {unbnr} --fn 0:3 --bn 0:3 -n 0".format(unbnr=unbnr)
 # First time datarate reading doesn't return anything
 datarate.get_data_rates()
-startTime = time.time()
+startTime_sleep = time.time()
+startTime_process = time.time()
 while True:    
     output = getstatusoutput(cmd)[1]  # Get statusoutput
     linelist = []
@@ -95,14 +96,14 @@ while True:
     
      
     # get data rates
-    process_time = time.time() - startTime
+    process_time = time.time() - startTime_process
     data_dict.update(calc_datarates_Gbps(process_time))
+    startTime_process = time.time()
     
-    process_time = time.time() - startTime
-    startTime = time.time()
-    if process_time < 2:
-        time.sleep(2-process_time)
-    
+    sleep_time = time.time() - startTime_sleep    
+    if sleep_time < 1:
+        time.sleep(1-sleep_time)
+    startTime_sleep = time.time()
     
     
     # Write data_dict to client