View previous topic :: View next topic |
Author |
Message |
unljde Occasional Visitor
Joined: 29/05/2003 18:40:33 Posts: 2 Location: United States
|
Posted: Sun Sep 14, 2003 8:04 am Post subject: data capture |
|
|
I am trying to make an application that captures the date, time, lat, and long from a GPS receiver. I am using a IPAQ PDA, with a CoPilot GPS unit, and programming in embedded visual basic. The program will capture directly after I run the CoPilot program, but will not capture it cold. Does anybody have any ideas what I am doing wrong, or what a possible fix may be? Thanks for the help. |
|
Back to top |
|
|
Don Schmitt Occasional Visitor
Joined: 27/03/2003 00:40:57 Posts: 16 Location: United States
|
Posted: Sun Sep 14, 2003 8:04 am Post subject: data capture |
|
|
I'm not sure what you mean by "Cold"?
Are you just opening the COM port, and then reading the NMEA data? Have you verified that you successfully open the port?
I found a utility that works pretty well for logging this information (although I too had to write my own for other reasons). It's called VisualGPSCE. You could capture the GPGGA messages, and then translate them easily enough with a desktop app, or in Excel for that matter.
Cheers!
_________________ <a href= "mailto:donsc@blackfishsoftware.com">Don Schmitt</a>
Blackfish Software
<a target="_blank" href= "http://www.blackfishsoftware.com">Pin Distance</a> - Know your distance to the green |
|
Back to top |
|
|
unljde Occasional Visitor
Joined: 29/05/2003 18:40:33 Posts: 2 Location: United States
|
Posted: Sun Sep 14, 2003 8:04 am Post subject: data capture |
|
|
By cold, I mean without first running pocket CoPilot. Yes, I am just opening the COM port and then reading the NMEA data. Is there another way, or is there something else that needs to be done?? Do I first need to send data to the GPS unit? |
|
Back to top |
|
|
Don Schmitt Occasional Visitor
Joined: 27/03/2003 00:40:57 Posts: 16 Location: United States
|
Posted: Sun Sep 14, 2003 8:04 am Post subject: data capture |
|
|
Hmmm...I'm still a little confused about the "cold" term because we are in Pocket PC land.
But this is strange behavior. If you successfully open the COM port, then I would expect you to get SOME data. Are you getting ANY data at all (i.e. perhaps data that just don't look like NMEA)?
One thought: I'm not sure how to configure the COM port in VB, but maybe you need to call the VB equivalent of SetCommState after you open the port...perhaps CoPilot does this in a way that leaves the COM port in the correct state for you.
_________________ <a href= "mailto:donsc@blackfishsoftware.com">Don Schmitt</a>
Blackfish Software
<a target="_blank" href= "http://www.blackfishsoftware.com">Pin Distance</a> - Know your distance to the green |
|
Back to top |
|
|
Dave Frequent Visitor
Joined: Sep 10, 2003 Posts: 6460 Location: UK
|
Posted: Sun Sep 14, 2003 8:04 am Post subject: data capture |
|
|
Cold in GPS terms is usually that you have a complete almanac but no ephemeris data, ephemeris takes a minimum of 30 seconds to receive providing clear line of sight to the satellites (gods). Usually cold is when a receiver has been off for 4-6 hours+. |
|
Back to top |
|
|
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
|
|