GPS connectivity?

Getting GPS data

How could I get DesktopX to receive data from a GPS device?
Mine is connected via usb assigned to COM4. I'm not quite sure where to begin with this one...
2,501 views 4 replies
Reply #1 Top
Does the GPS software have an api?
DX has to call the data from somewhere, right?
More detail is better.

And then it has to do somethign with it?  So where do you want the data stored if you can retrieve it?
Reply #2 Top
I wanted to get the data directly from COM4 if possible. I'm guessing it would output some kind of string with latitude and longitude somewhere in it.

I would want to extract that and store it in an object, then use the data from there.


I'm wondering if there is a way to call the port with WMI, or if ActiveX or extra software is needed.
Reply #3 Top
I googled and some results.
Good luck
Reply #4 Top
The GPS data is usually quite easy to interpret (Google: NMEA), it's getting the data from the COM port into DX that's the tricky part.

I don't know if DX supports interfacing with the hardware directly... Or does DX support DLL calls? If so then you might be able to get hold of a serial port DLL that DX can call routines out of to get hold of the data from the GPS.

Failing that, you'd need to find/write a small executable to do the same thing which can be called from DX.