Author Topic: gps date & time  (Read 5641 times)

Offline Seight-v8

  • Sr. Member
  • ****
  • Posts: 339
  • BHP: 6
    • Members Page - Scott Richmond
gps date & time
« on: September 30, 2011, 12:38:19 pm »
hello all,

any chance we can have gps date & time to be shown when i load a saved log, i know its comes out of the gps receiver, and must be saved in the log file along with gps position, but no date & times are shown.

Unless someone has already figured this out and can help.

at the moment the only way i can find out what date my logs where taken is when they are saved, and this isnt always the date of the actual run....just gets confusing to remember the date/time of each log file.

cheers

scott
Engine:Rover V8 4600cc
Vems Firmware:V1.2.38, GPS, SDcard, LCD & Dual lambdas, Wasted spark, 36-1 trigger, Cam Sync & Bluetooth serial.

http://www.vems.hu/wiki/index.php?page=MembersPage%2FScottRichmond

Offline Seight-v8

  • Sr. Member
  • ****
  • Posts: 339
  • BHP: 6
    • Members Page - Scott Richmond
Re: gps date & time
« Reply #1 on: October 01, 2011, 11:52:59 am »
so i've found that you can use the custom boxes under the GPS section to display date & time....wow its already there....just need to make it work....

Got the date working, from the help files in vemstune.....struggling with the date as i need to get the expression right for it to work.....

date is something like "GPS Date: %d-%d-%d", gpsDateY, gpsDateM, gpsDateD", so time must be something similair to make it work.....

keep me busy for a while...

scott
Engine:Rover V8 4600cc
Vems Firmware:V1.2.38, GPS, SDcard, LCD & Dual lambdas, Wasted spark, 36-1 trigger, Cam Sync & Bluetooth serial.

http://www.vems.hu/wiki/index.php?page=MembersPage%2FScottRichmond

Offline Seight-v8

  • Sr. Member
  • ****
  • Posts: 339
  • BHP: 6
    • Members Page - Scott Richmond
Re: gps date & time
« Reply #2 on: October 01, 2011, 03:33:43 pm »
well for those that might want to know how to do this.

for date its ""GPS Date: %d-%02d-%02d", gpsDateD, gpsDateM, gpsDateY + 2000

for time its "GPS Time: %02d:%02d:%02d", gpsTimeH, gpsTimeM, gpsTimeS

for speed in mph its "GPS Speed (mph) = %0.1f", gpsSpeed * 0.621

might save someone else the time one day.

scott
Engine:Rover V8 4600cc
Vems Firmware:V1.2.38, GPS, SDcard, LCD & Dual lambdas, Wasted spark, 36-1 trigger, Cam Sync & Bluetooth serial.

http://www.vems.hu/wiki/index.php?page=MembersPage%2FScottRichmond