Extract Sentences 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 complete NMEA sentences contained in sensor data.

previous partial sentence contains characters to prepend to sensor data.
sensor data contains the data to parse for GPS data. This VI appends sensor data to previous partial sentence and then parses the data.

Use a method of instrument control to acquire sensor data from a GPS receiver. For example, you can use VISA in LabVIEW to read NMEA sentences from a GPS receiver through a serial port and then parse the data with this VI.
filter for sentence type specifies the type of NMEA sentences this VI returns. This VI ignores sentences in previous partial sentence and sensor data of all other types.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
discarded data before first sentence contains all characters before the first sentence in sensor data.
remaining partial sentence contains all characters following the final sentence in complete sentences. To avoid losing this data, use this VI in a loop with shift registers to transfer remaining partial sentence to the previous partial sentence input on the next iteration of the loop.
complete sentences is an array of all valid NMEA sentences in sensor data.
error out contains error information. This output provides standard error out functionality.
invalid sentences contains NMEA sentences with formatting errors, such as invalid checksums.


Not Helpful