Owning Palette: Protocols VIs
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 Protocol VI to parse strings that contain GPS data for common GPS data points.
This VI and the NMEA Advanced VIs generally can read and parse GPS data that is compatible with the National Marine Electronics Association (NMEA) standard. Many GPS receivers communicate data in the NMEA format, or NMEA sentences. National Instruments tested these VIs with common GPS receivers. However, National Instruments does not guarantee full support for any NMEA standard.
GPS NMEA sentences are formatted as shown in the following example:
$GPxxx,y0,y1,...,*zz\r\n, where xxx is the three-letter acronym of a type of NMEA sentence, y0, y1, and so on are GPS data points, zz is a two-letter checksum, and \r\n are termination characters.
|Get GPS Data||Parses sensor data in the NMEA format from GPS receivers and returns common GPS data, such as the latitude and longitude of a reading.|
|NMEA Advanced VIs||Use the NMEA Advanced VIs to read data from GPS receivers and form and parse NMEA sentences.|
Refer to the NMEA Get GPS Data From Record VI in the labview\examples\robotics\NMEA directory for an example of using the NMEA Protocol VI.