|
@@ -111,7 +111,7 @@ $calltime = time();
|
|
|
// increse loop counter
|
|
|
$counter ++;
|
|
|
$stoptime = time();
|
|
|
- $wait_till = $starttime + 11;
|
|
|
+// $wait_till = $starttime + 11;
|
|
|
|
|
|
if ($stoptime-$starttime > 10) {$errormessage .= "ERROR: delayed readout ".($stoptime-$starttime)." s "; $errorcount++;}
|
|
|
|
|
@@ -143,8 +143,8 @@ $calltime = time();
|
|
|
|
|
|
//echo "Loop ".$counter." done.".PHP_EOL;
|
|
|
|
|
|
- if ($wait_till <= $stoptime) sleep(3);
|
|
|
- else time_sleep_until($wait_till);
|
|
|
+// if ($wait_till <= $stoptime) sleep(3);
|
|
|
+// else time_sleep_until($wait_till);
|
|
|
|
|
|
//} while (($counter < 10) && (time() < $calltime + 51));
|
|
|
|