Printable versions
This Page
All Pages
PDF (2.0MB)

Index

Component
GpsToolsNET

Class
NmeaParser

Properties
PortEnabled
BaudRate
ComPort
GpsDatum
NoEvents
Parent
AllEventsGeneric
ChecksumMandatory

Events
OnGpsFix
OnSatellites
OnMovement
OnQuality
OnComStatus

Generic
GGA
GLL
RMC

Methods
Dispose
EventInterval
Parse
GetGpsFix
GetSatellites
GetMovement
GetQuality
GetComStatus
WriteData

NmeaParser GpsTools v1.10 and later

NmeaParser contains the core functionality to access NMEA data.

Direct serial port access. Set NmeaParser.PortEnabled to True and GpsTools will start searching for a GPS connected to any serial port in the system.
Or set NmeaParser.BaudRate (default 4800) and NmeaParser.ComPort to access a GPS from a specified serial port. The port is enabled by setting NmeaParser.PortEnabled to True.

Note that USB, Bluetooth, CF (Compact Flash) and PC Card GPS:es are accessed through virtual serial ports (COM ports). Drivers are provided with the GPS:es and must be installed before GpsTools can be used.

To run multiple GPS applications at the same time using the same GPS, use GpsGate. Read more about GpsTools + GpsGate integration here

Events. NmeaParser returns data by events. See the list of events to the left. The event you most likely want to use first is NmeaParser.OnGpsFix which gives you a fixed and valid position from the GPS. Control how often the events are fired by using NmeaParser.EventInterval

Generic parser. Use NmeaParser.Parse to parse data from other sources than the serial port e.g a log file or if you want to use your own component for serial port access.

No Events. NmeaParser can also be used in environments that does not support events e.g. Pocket IE. If you set NmeaParser.NoEvents to True you can use NmeaParser.GetGpsFix and NmeaParser.GetSatellites etc. to get GPS data in a synchronous manner without using events.

MultiThreading. Use NmeaParser.MultiThreading to run NmeaParser in a form-less multi-threaded environment.



100% managed code
© 2016 Franson Technology AB, All rights reserved, Contact | | Affiliate | Login