Select to view content in your preferred language

Connecting to Garmin USB GPS from code

1486
2
08-16-2012 12:36 PM
Labels (1)
sirishapolsapalli
Deactivated User
Hello,

I am trying to get my current location using a Garmin GPS 18 X USD device using the code from the samples provided with ArcGIS Runtime SDK for WPF. But the sample using the SerialPortGpsCoordinateWatcher. I do not have a serial port on my laptop and using the USB to Serial adaptor would not work in our situation.

How do I read the values output by the GPS with the USB adaptor using ArcGIS Runtime SDK for WPF.

Your help is appreciated.

Thank you,
Sirisha.
0 Kudos
2 Replies
ShaunWeston
Frequent Contributor
Yeah it seems you either need a GPS connected through the COM port or by using the Microsoft location API. If you've got a GPS connected through the USB then you'd probably have to look into writing your own code/module in WPF.NET to read in those values then basically converting them to points on a map.
0 Kudos
BrianLocke
Frequent Contributor
I have went here

[HTML]http://wb9coy.com/Projects.html[/HTML]

Great great job by WB9COY

Saved my life, I just reference the project and then made my own view model... able to get a usb puck reading but would like to actually pass the $GPPGA Sentence over to the GPS Layer instead of creating a List<Graphic> or an ObservableCollection by parsing things out. Would like to take advantage of the GpsLayer properties/methods
0 Kudos