load($fileName); $timeIndex = $mgr->getTimeFieldIndex(); if ($timeIndex < 0) continue; $paramIndex= $mgr->getFieldIndexByID($paramId); if ($paramIndex < 0) continue; $paramInfo = $mgr->getFieldInfoByID($paramId); if (isset($paramInfo["error"])) continue; $tr = $mgr->getFirstTR(); $crtTime = $startDouble; while ($tr) { $time = strtotime($mgr->getTDValueByFieldIndex($tr,$timeIndex)); if ($time > $crtTime) { if ($time <= $startDouble + $intDouble) { $val = $mgr->getTDValueByFieldIndex($tr,$paramIndex); echo $time." ".$val."\n"; $crtTime = $time; } else break; } $tr = $mgr->getNextTR($tr); } } exit(); ?>