Maptitude GISDK Help

StopGPS()

Summary

Closes a GPS device.

 

Syntax

StopGPS()

 

Example

options = {{"Read From", "\\\\.\\COM1"}, {"Baud Rate", 4800}, {"Data Bits", 8},

          {"Stop Bits", 1}, {"Parity", "None"}}     // Most common settings

StartGPS("Serial Port", options)

dim pos[10]

for i=1 to 10 do

     gps_data = GetGPSInfo()

     if gps_data.length = 1 then

          ShowMessage("An error while reading: " + gps_data[1])

     else if gps_data[1] <> null && gps_data[2] <> null then

// Store the location as a coordinate

          pos[i][ = Coord(gps_data[1], gps_data[2])

end     // for

StopGPS()

 

See Also

Function

Summary

GetGPSInfo()

Gets a reading from a GPS device

StartGPS()

Initializes reading from a GPS device

 

 

©2025 Caliper Corporation www.caliper.com