Start or resume the replay a GPS log file.
Visual Basic |
---|
Public Function ReplayGpsLog( _ ByVal filename As String, _ ByVal replayrate As Long, _ ByVal flags As Long _ ) As Integer |
Flags setting the NMEA options for receiving data from the GPS device.
There are three NMEA sentences of interest: GGA, GLL and RMC, and a checksum which can be checked.
These are controlled with public constants which can be combined with "OR" to form a single value.
The constants are:
SIS_GPS_NMEA_GGAAt least one of the first three must be included to start a replay. Use zero to resume replay after a pause.
SIS_GPS_NMEA_GLL
SIS_GPS_NMEA_RMC
SIS_GPS_NMEA_CHECKSUM
It is not permissible to playback a GPS log whilst connected to a GPS device.
Available: MM ME MD OD OM
Group:
sis.ReplayGpsLog("C:\myproject\gpslog.txt", 100, SIS_GPS_NMEA_GGA Or SIS_GPS_NMEA_RMC)
Start replaying the GPS log file C:\myproject\gpslog.txt at a rate of 100 milliseconds per entry using the GGA and RMC NMEA sentences only.sis.ReplayGpsLog("", 0, 0)
Resume replaying a paused GPS log file.Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).