SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By acc
#129424
Outputting second NMEA sentance to the gps file. Anyone know how to do this?

I'm using WinARM and have an EM408 gps attached to an ultimate imu. I have adjusted the code to output the imu time stamp into the NMEA.csv gps file.

At the moment I can output either GGA or RMC NMEA sentances to the file. When I try to output both, the file becomes disordered and only one set of data is output. There seems to be a second line in the file with a gps timestamp but has no sentance attached.

It can be either a second file output with the second sentance or output second sentance to same gps file.
I'm a beginner in C++.
Can anyone help, please?
By asymingt
#130510
Hey acc

I can confirm the same behaviour on my unit. GGA messages work fine by themselves, RMC messaged work fine by themselves. However, when both messages are enabled I lose the first few characters of the RMC sentence. I suspect that this might be a problem with the EM408 itself.

Cheers
Andrew