Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

NMEA Advanced VIs

LabVIEW 2013 Robotics Module Help

Edition Date: June 2013

Part Number: 372983D-01

»View Product Info

Owning Palette: NMEA Protocol VI

Requires: Robotics Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the NMEA Advanced VIs to read data from GPS receivers and form and parse NMEA sentences.

Palette ObjectDescription
Extract SentencesReturns complete NMEA sentences contained in sensor data.
Form GPS SentenceCreates an NMEA sentence using the data you specify for a particular sentence type. You must manually select the polymorphic instance to use.
Form SentenceCreates an NMEA sentence formatted as the sentence type you specify and with the sentence data you specify. This VI also applies punctuation, a checksum, and termination characters to the sentence.
Get Sentence PartsReturns an array of values contained in an NMEA sentence.
Get Sentence TypeReturns the type of an NMEA sentence. The first token following $ in an NMEA sentence is the sentence type. The type of a sentence defines the contents and interpretation of the sentence.
Parse GPS SentenceReturns data contained in a particular type of NMEA sentence. The input sentence you specify must include valid NMEA formatting and end with a carriage return and line feed, or \r\n. You must manually select the polymorphic instance to use.
Validity CheckSpecifies whether the formatting of an NMEA sentence is valid.

Types of NMEA Sentences

The first token following $ in an NMEA sentence is the sentence type. The type of a sentence defines the contents and interpretation of the sentence. Sentence type tokens in GPS NMEA sentences are typically in the form of GPxxx, where xxx is the three-letter acronym of a type of GPS NMEA sentence.

Although many types of NMEA sentences exist, the Form GPS Sentence and Parse GPS Sentence VIs provide explicit support for creating and parsing a few common types of sentences. The following table describes the sentence types these VIs support.

Sentence TypeData Contained in Sentences
GGATime, position, and type of fix
GLLTime, position, and status of fix
GSAType of fix, dilution of precision, and satellite data
GSVSatellite data
RMCTime, position, heading, and speed
VTGHeading and speed relative to the ground

Use the Form Sentence and Get Sentence Parts VIs to create and parse other types of sentences, respectively.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit