GPS serial port connection values
GM_GPSStartTrackingSerial
What values are expected for aport and abaud? aport = 1? abaud = 9600?
or are other values epected. I am getting an parameter invalid error message for the above values and am trying to determine weather it is these values or the other parameters which are invalid.
thanks
Dilys
What values are expected for aport and abaud? aport = 1? abaud = 9600?
or are other values epected. I am getting an parameter invalid error message for the above values and am trying to determine weather it is these values or the other parameters which are invalid.
thanks
Dilys
Comments
-
Dilys,
You should only get the invalid parameter error code if you pass 0 for either the port or baud values and do not specify the GM_GPS_FORMAT_AUTODETECT format option. The port number should be the number of the COM port (like 1) and the baud will typically be either 4800 (most common for NMEA connections) or 9600 (used for Garmin connections).
If you don't know this information, you might just pass in GM_GPS_FORMAT_AUTODETECT for the format and let the SDK try and automatically determine the appropriate port and baud rate for a connected GPS device. The auto-detect option will also detect any Garmin USB GPS devices as well.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 637 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 826 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 913 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website