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.

Timestamp problem


DiegoBRIK Oct 25, 2019 11:16 AM

Hello! I'm using a CR1000 and a GPS model 16-hvs from Campbell and others sensors. Well, in the last month (september) the data was recorded correctly, but this month (octobre) the data is missing the measure at time 00:00:00... this problem is happening in 8 Loggers at the same time.

I was thinking that may be some lag between the logger and the gps, but 10 minutes is a lot of lag... I don't know what to investigate right now. And there is no skipped records or errors in the status table. I'm going to put some parts of my program below:

'GPS
Alias gps_data(1)=latitude_a
Alias gps_data(2)=latitude_b
Alias gps_data(3)=longitude_a
Alias gps_data(4)=longitude_b
Alias gps_data(5)=speed
Alias gps_data(6)=course
Alias gps_data(7)=magnetic_variation
Alias gps_data(8)=fix_quality
Alias gps_data(9)=nmbr_satellites
Alias gps_data(10)=altitude
Alias gps_data(11)=pps
Alias gps_data(12)=dt_since_gprmc
Alias gps_data(13)=gps_ready
Alias gps_data(14)=max_clock_change
Alias gps_data(15)=nmbr_clock_change

'gps
PortSet(6,0)
GPSOn=True
SetStatus("BaudrateCOM4",38400)

If (MINUTO=0 OR GPSOn) Then
GPS(latitude_a,Com4,Timeoffset,1000,nmea_sentence(1))
EndIf

My data table is storing data like this: 

"2019-10-01 23:50:00",2930,"1"...
"2019-10-02 00:10:00",2931,"1"...

Thanks for the help

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