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

Parse GPS Sentence VI

LabVIEW 2013 Robotics Module Help

Edition Date: June 2013

Part Number: 372983D-01

»View Product Info

Owning Palette: NMEA Advanced VIs

Requires: Robotics Module

Returns 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.

Use the Get Sentence Parts VI to parse sentences of types this VI does not support.

Use the pull-down menu to select an instance of this VI.

Parse GGA Sentence

date override specifies a date on which the reading in the sentence occurs. By default, this VI assumes the reading occurs on the current date.
GGA sentence specifies the GGA NMEA sentence to parse into individual data points.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
GGA data contains values from GGA sentence.
time of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
time (UTC) contains the UTC time at which the reading occurs. Unless you specify a value for date override, this VI assumes the reading occurs on the current date.
latitude is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
latitude (deg) contains the location on Earth north or south of the equator at which the reading occurs. Positive values represent locations north of the equator, and negative values represent locations south of the equator.
longitude is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
longitude (deg) contains the location on Earth east or west of the prime meridian at which the reading occurs. Positive values represent locations east of the prime meridian, and negative values represent locations west of the prime meridian.
fix quality is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
quality defines the type and quality of the reading.

0Invalid
1GPS Fix
2DGPS Fix
3PPS Fix
4Real Time Kinematic
5Float RTK
6Estimated
7Manual Input Mode
8Simulation Mode
number of satellites in view is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
number of satellites contains the total number of satellites from which you receive fixes.
horizontal dilution of precision is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
horizontal DOP describes the quality of the reading with respect to values of latitude and longitude. Low horizontal DOP values indicate high precision, and a value of 1 indicates the precision of the reading is ideal.
altitude above mean sea level is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
altitude (m) contains the distance at which the reading occurs relative to the mean sea level.
height of geoid above WGS84 is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
height of geoid (m) represents the distance of the mean ocean surface of the Earth above the ellipsoid, or reference surface, defined in the WGS 84 standard.
time since last DGPS update is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
time (s) contains the elapsed time since the previous fix if fix quality is DGPS Fix. If fix quality is not DGPS Fix, LabVIEW returns 0.
DGPS station ID number is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
station ID number contains the identifier of the Differential Global Positioning System (DGPS) broadcast station from which the fix originates if fix quality is DGPS Fix. If fix quality is not DGPS Fix, LabVIEW returns 0.
error out contains error information. This output provides standard error out functionality.

Parse GLL Sentence

date override specifies a date on which the reading in the sentence occurs. By default, this VI assumes the reading occurs on the current date.
GLL sentence specifies the GLL NMEA sentence to parse into individual data points.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
GLL data contains values from GLL sentence.
latitude is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
latitude (deg) contains the location on Earth north or south of the equator at which the reading occurs. Positive values represent locations north of the equator, and negative values represent locations south of the equator.
longitude is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
longitude (deg) contains the location on Earth east or west of the prime meridian at which the reading occurs. Positive values represent locations east of the prime meridian, and negative values represent locations west of the prime meridian.
time of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
time (UTC) contains the UTC time at which the reading occurs. Unless you specify a value for date override, this VI assumes the reading occurs on the current date.
status is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
value describes whether the data is valid.

0Void—Specifies that the data is invalid.
1Active—Specifies that the data is valid.
type of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
mode contains the mode in which the receiver obtains the fix and indicates signal integrity. For example, the Differential and Autonomous modes correspond to active, reliable readings.

0Simulator
1Not Valid
2Estimated
3Differential
4Autonomous
error out contains error information. This output provides standard error out functionality.

Parse GSA Sentence

GSA sentence specifies the GSA NMEA sentence to parse into individual data points.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
GSA data contains values from GSA sentence.
selection of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
selection of 2D or 3D fix describes the freedom of the receiver to move between modes.

0Automatic (default)—Allows the receiver to switch between operating in 2D and 3D mode.
1Manual–Requires the receiver to operate in either 2D or 3D mode.
type of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
mode describes the mode in which the receiver obtains the fix.

1No Fix—Specifies that a satellite fix is unavailable.
22D Fix—Specifies that data from three satellites defines the horizontal position of the receiver.
33D Fix—Specifies that data from four or more satellites defines the absolute position of the receiver in space.
satellite PRN numbers is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
PRN numbers contains the pseudo-random noise (PRN) numbers by which receivers identify the satellites.
dilution of precision is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
DOP describes the overall quality of the reading. Factors that affect DOP include the distance between satellites and geographic obstructions between satellites and the receiver. Low DOP values indicate high precision, and a value of 1 indicates the precision of the reading is ideal.
horizontal dilution of precision is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
horizontal DOP describes the quality of the reading with respect to values of latitude and longitude. Low horizontal DOP values indicate high precision, and a value of 1 indicates the precision of the reading is ideal.
vertical dilution of precision is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
vertical DOP describes the quality of the satellite reading with respect to values of altitude. Low vertical DOP values indicate high precision, and a value of 1 indicates the precision of the reading is ideal.
error out contains error information. This output provides standard error out functionality.

Parse GSV Sentence

GSV sentence specifies the GSV NMEA sentence to parse into individual data points.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
GSV data contains values from GSV sentence.
number of sentences for full data is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
number of sentences contains the total number of sentences that define readings for all available satellites. A sentence can contain data for no more than four satellites.
sentence index is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
index contains the number of the sentence to form. If index is greater than the number of sentences that is possible, LabVIEW returns a warning.
number of satellites in view is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
number of satellites contains the total number of satellites from which you receive fixes.
satellite data is a cluster that contains the following elements.
included? displays whether the sentence contains this data point for each satellite.
data is a cluster that contains the following elements.
PRN number is the pseudo-random noise (PRN) number by which receivers identify the satellite.
elevation (deg) contains the elevation of the satellite.
azimuth (deg) contains the azimuth of the satellite.
signal to noise ratio is a number between 0 and 99, specified in dB, that defines signal strength.
error out contains error information. This output provides standard error out functionality.

Parse RMC Sentence

RMC sentence specifies the RMC NMEA sentence to parse into individual data points.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
RMC data contains values from RMC sentence.
time of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
time (UTC) contains the UTC time at which the reading occurs.
status is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
value describes whether the data is valid.

0Void—Specifies that the data is invalid.
1Active—Specifies that the data is valid.
latitude is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
latitude (deg) contains the location on Earth north or south of the equator at which the reading occurs. Positive values represent locations north of the equator, and negative values represent locations south of the equator.
longitude is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
longitude (deg) contains the location on Earth east or west of the prime meridian at which the reading occurs. Positive values represent locations east of the prime meridian, and negative values represent locations west of the prime meridian.
ground speed is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
speed (knots) is the speed of the device at the time the reading occurred.
true track angle is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
angle (deg) contains the direction of travel at the time the reading occurred with respect to true north.
magnetic variation is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
variation (deg) contains the angle between the local magnetic field and true north.
type of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
mode contains the mode in which the receiver obtains the fix and indicates signal integrity. For example, the Differential and Autonomous modes correspond to active, reliable readings.

0Simulator
1Not Valid
2Estimated
3Differential
4Autonomous
error out contains error information. This output provides standard error out functionality.

Parse VTG Sentence

VTG sentence specifies the VTG NMEA sentence to parse into individual data points.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VTG data contains values from VTG sentence.
true track made good is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
true track made good (deg) contains the direction of travel with respect to true north.
magnetic track made good is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
magnetic track made good (deg) contains the direction of travel with respect to the local magnetic field.
ground speed (knots) is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
speed (knots) is the speed of the device at the time the reading occurred.
ground speed (km/h) is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
speed (km/h) is the speed of the device at the time the reading occurred.
type of fix is a cluster that contains the following elements.
included? indicates whether the sentence contains this data point.
mode contains the mode in which the receiver obtains the fix and indicates signal integrity. For example, the Differential and Autonomous modes correspond to active, reliable readings.

0Simulator
1Not Valid
2Estimated
3Differential
4Autonomous
error out contains error information. This output provides standard error out functionality.

 

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