Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

TableFile Bug?


meteor Mar 15, 2017 06:43 AM

I use a CR6 (OS 6.0) with 10 Hz logging (CSAT3, LI-7700) and some slow sequences (test without sensors).

==============================

SlowSequence
DataTable (Nieddaten,TRUE,-1)
  DataInterval (0,10,Min,10)                                
  TableFile ("CRD:Nieddaten",8,-1,0,24,Hr,OutStat3,LastFileName3)
  Sample (1,Niedsensor,String)
EndTable
Scan(1, Min,3,0)
    SerialInRecord (COMU7,Niedsensor,&H5354,0,&H4554,NBytesReturned,01)
    CallTable nieddaten
  NextScan
EndSequence

SlowSequence
DataTable (GPSdat,TRUE,-1) 'GPS
  DataInterval (0,30,Min,10)                                
  TableFile ("CRD:GPSdat",8,-1,0,1,Day,OutStat2,LastFileName2)
  Sample(1,latitude_a,fp2)
  Sample(1,latitude_b,IEEE4)

  .......
EndTable
Scan(1, Sec,3,0)
        GPS (latitude_a,COMU1,LOCAL_TIME_OFFSET*3600,0,nmea_sentence(1))
        CallTable(GPSdat)
NextScan
EndSequence
==============================
The result GPSdat

"TOA5","4031","CR6","4031","CR6.Std.06","CPU:version26.CR6","51434","GPSdat"
"TIMESTAMP","RECORD","latitude_a","latitude_b","longitude_a","longitude_b","speed","course","fix_quality","altitude_Min","altitude_Max","gps_ready","nmbr_satellites","nmbr_clock_change"
"TS","RN","","","","","","","","","","","",""
"","","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Min","Max","Smp","Smp","Smp"
"2017-03-11 03:30:00",41,50,58.72,13,34.83,0,226.8,2,253,255.9,0,6,0
"2017-03-11 04:00:00",42,50,58.72,13,34.84,0,226.8,2,255.1,255.9,1,8,0
"2017-03-11 04:30:00",43,50,58.72,13,34.85,0,226.8,2,243,255.1,0,8,0

.............

"2017-03-11 23:30:00",81,50,58.72,13,34.84,0,6.4,2,242.1,246.8,0,8,0
"2017-03-12 00:00:00",82,50,58.72,13,34.82,0,258.7,2,233.2,246.5,0,9,0

00:30:00 to 03:00:00 is missing.

The result Nieddaten

"TOA5","4031","CR6","4031","CR6.Std.06","CPU:version26.CR6","51434","Nieddaten"
"TIMESTAMP","RECORD","Niedsensor"
"TS","RN",""
"","","Smp"
"2017-03-11 23:10:00",242,"NAN"
"2017-03-11 23:20:00",243,"NAN"
"2017-03-11 23:30:00",244,"NAN"
"2017-03-11 23:40:00",245,"NAN"
"2017-03-11 23:50:00",246,"NAN"
"2017-03-12 00:00:00",247,"NAN"

Logger started 2017-03-10, 00:10:00 to 23:00:00 is missing.

If i change "Tablefile" from

TableFile ("CRD:GPSdat",8,-1,0,1,Day,OutStat2,LastFileName2)

to

TableFile ("CRD:GPSdat",64,-1,0,1,Day,OutStat2,LastFileName2)

and

TableFile ("CRD:Nieddaten",8,-1,0,24,Hr,OutStat3,LastFileName3)

to

TableFile ("CRD:Nieddaten",64,-1,0,24,Hr,OutStat3,LastFileName3)

it works.

The same problem with TableFile ("CRD:GPSdat",4,-1,0,1,Day,OutStat2,LastFileName2)


meteor Mar 17, 2017 04:35 PM

renewed tested - it's a BUG!

Log in or register to post/reply in the forum.