Example Code

New NMEA - GPS library

Code and Documents

Attachment

Here is the small contributuion to  the LVLIB for handling (parsing) NMEA GPS information made by MarcusTörndahl

  • Modification on Enum 'Fix Quality' in the GGA frame
    0 = invalid
    1 = GPS fix (SPS)
    2 = DGPS fix
    3 = PPS fix
    4 = Real Time Kinematic
    5 = Float RTK
    6 = estimated (dead reckoning) (2.3 feature)
    7 = Manual input mode
    8 = Simulation mode
    ( see http://www.gpsinformation.org/dale/nmea.htm#GGA )

  • Creation of NMEA_GPGGA_ToStringArray.vi to save the frames to a file
  • Conversion of latitude and longitude DDMM.MMMMM format to Decimal degrees (DD)
  • Example to connect a GPS via a serial link configured with NMEA-GGA, NMEA-VTG and NMEA-RMC outputs

Don't hesitate to add comment to get modification access for posting new versions!

Julien

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
ljaeggi
Member
Member
on

Any chance some one could convert this to a zip file?

Thanks

Mr_J
Member
Member
on

http://www.7-zip.org/ 7zip is free to download

ljaeggi
Member
Member
on

Unfotunately 7 zip cannot be installed on this machine. Limited access rights etc. A zip file of the contents would be appreciated. Thanks for getting back to me.

joemar
Member
Member
on

Hello, 

 

I would appreciate it if somebody can convert and upload the library in LV2012 format.

 

Thanks.

JJideani
Member
Member
on

Hi Mr_J

 

Thanks for this library.  I'm trying to use it to get speed information from a NaviLock GNSS receiver.  The receiver generates "$GN..." messages and not "$GP..." messages, so I had to include that option in the 'IF' block in the example VI and it seems to work - it at least is able to populate the GPRMC, GPGGA and GPVTG clusters correctly.  However, it seems like the speed readings don't correspond to actual speed and the readings only update roughly every 8 seconds.  Any idea why?  With U-blox's u-center NMEA parser I am able to get live speed updates roughly every second.  Is there something I'm missing?

 

Thanks.

JJideani
Member
Member
on

Nevermind, its working correctly now.  I just had to reduce the millisecond timer in the serial communication loop to 10 milliseconds.

Contributors