Ok, I'm now able to get the hours minutes and seconds to populate the CV variables in the code. The last step that doesn't seam to be working here is actually updating the clock in DT80.
It seems that the minutes and seconds are working but the hours are off. Adjusting the variable that contains the time zone doesn't seem to do anything either, any suggestions?
BEGIN"GPSTime"
Profile SerSen_Port Function=Serial
Profile SerSen_Port Mode=RS232
Profile SerSen_Port BPS=4800
Profile SerSen_Port Flow=HARDWARE
5CV(W)=-4
6CV(W)=5CV*3600
RA"Report"("B:",ALARMS:OV:100KB,DATA:OV:1MB)10S
1..4cv(w)=0
2SERIAL(RS232,"\e\m[$GPGGA],%2d[1CV]%2d[2CV]%2d[3CV],%*f,%*1s,%*f,%*1s,%f[4cv]",1,W)
1CV("Hours")
2CV("Minutes")
3CV("Seconds")
4CV("Valid signal")
7CV("Second since midnight")=1CV*3600+2CV*60+3CV+6CV
Alarm(3ST><8,9)And
Alarm(&"Valid signal"==1)"Time updated"{P39=0 T=7CV P39=0}
END
Ok, I'm now able to get the hours minutes and seconds to populate the CV variables in the code. The last step that doesn't seam to be working here is actually updating the clock in DT80.
It seems that the minutes and seconds are working but the hours are off. Adjusting the variable that contains the time zone doesn't seem to do anything either, any suggestions?
````
BEGIN"GPSTime"
Profile SerSen_Port Function=Serial
Profile SerSen_Port Mode=RS232
Profile SerSen_Port BPS=4800
Profile SerSen_Port Flow=HARDWARE
5CV(W)=-4
6CV(W)=5CV*3600
RA"Report"("B:",ALARMS:OV:100KB,DATA:OV:1MB)10S
1..4cv(w)=0
2SERIAL(RS232,"\e\m[$GPGGA],%2d[1CV]%2d[2CV]%2d[3CV],%*f,%*1s,%*f,%*1s,%f[4cv]",1,W)
1CV("Hours")
2CV("Minutes")
3CV("Seconds")
4CV("Valid signal")
7CV("Second since midnight")=1CV*3600+2CV*60+3CV+6CV
Alarm(3ST><8,9)And
Alarm(&"Valid signal"==1)"Time updated"{P39=0 T=7CV P39=0}
END
````