Error downloading data from clicker BT-Q1000XT and GPSBabel

View: New views
13 Messages — Rating Filter:   Alert me  

Error downloading data from clicker BT-Q1000XT and GPSBabel

by German Duran :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

We need your help. 

                       

We use GPSBabel  0.2.22.0 and QStarz driver in order to have a command line argument to extract the records from clicker BT-Q1000XT

 

The problem that we are having is when we tried to extract the records, the program will time out and give out this error:

 

Command line: 

C:\clicker\GPSBabel\gpsbabel.exe" -p "" -w -i mtk -f com7: -o unicsv -F "C:\data.csv"

 

Sample Error log 1:

2011-09-22 15:08:42,585 [6] ERROR DOWNLOAD - GPSBabel Error: 510: Bad CRC 25 != ab (pos 0x015a7c)

2011-09-22 15:08:42,601 [6] ERROR DOWNLOAD - GPSBabel Error: 511: Bad CRC 00 != 9b (pos 0x015b27)

2011-09-22 15:08:42,601 [6] ERROR DOWNLOAD - GPSBabel Error: 517: Bad CRC 00 != 6e (pos 0x015d67)

2011-09-22 15:08:42,601 [6] ERROR DOWNLOAD - GPSBabel Error: 518: Bad CRC 0a != d8 (pos 0x015f66)

2011-09-22 15:08:42,617 [6] ERROR DOWNLOAD - GPSBabel Error: 519: Bad CRC 00 != c2 (pos 0x0160e3)

2011-09-22 15:08:42,617 [6] ERROR DOWNLOAD - GPSBabel Error: 520: Bad CRC 0b != 3a (pos 0x016260)

2011-09-22 15:08:42,617 [6] ERROR DOWNLOAD - GPSBabel Error: 521: Bad CRC 00 != 05 (pos 0x016260)

2011-09-22 15:08:42,632 [6] ERROR DOWNLOAD - GPSBabel Error: 522: Bad CRC 12 != 3e (pos 0x01641e)

2011-09-22 15:08:42,632 [6] ERROR DOWNLOAD - GPSBabel Error: 523: Bad CRC 00 != 4d (pos 0x0164c9)

2011-09-22 15:08:42,648 [6] ERROR DOWNLOAD - GPSBabel Error: 524: Bad CRC c7 != f5 (pos 0x016646)

2011-09-22 15:08:42,648 [6] ERROR DOWNLOAD - GPSBabel Error: 525: Bad CRC 00 != cb (pos 0x0167c3)

2011-09-22 15:08:42,663 [6] ERROR DOWNLOAD - GPSBabel Error: 526: Bad CRC 0b != 4a (pos 0x016940)

2011-09-22 15:08:42,679 [6] ERROR DOWNLOAD - GPSBabel Error: 527: Bad CRC 00 != 93 (pos 0x016abd)

2011-09-22 15:08:42,695 [6] ERROR DOWNLOAD - GPSBabel Error: 528: Bad CRC 0e != 99 (pos 0x016c3a)

2011-09-22 15:08:42,695 [6] ERROR DOWNLOAD - GPSBabel Error: 529: Bad CRC 01 != 1a (pos 0x016c3a)

2011-09-22 15:08:42,726 [6] ERROR DOWNLOAD - GPSBabel Error: 530: Bad CRC 0e != fa (pos 0x016df8)

2011-09-22 15:08:42,726 [6] ERROR DOWNLOAD - GPSBabel Error: 531: Bad CRC 00 != 61 (pos 0x016ea3)

2011-09-22 15:08:42,742 [6] ERROR DOWNLOAD - GPSBabel Error: 532: Bad CRC 08 != 38 (pos 0x017020)

2011-09-22 15:08:42,742 [6] ERROR DOWNLOAD - GPSBabel Error: 533: Bad CRC 00 != 9e (pos 0x01719d)

2011-09-22 15:08:42,757 [6] ERROR DOWNLOAD - GPSBabel Error: 534: Bad CRC 2c != 05 (pos 0x01731a)

2011-09-22 15:08:42,757 [6] ERROR DOWNLOAD - GPSBabel Error: 535: Bad CRC 00 != d0 (pos 0x017497)

2011-09-22 15:08:42,773 [6] ERROR DOWNLOAD - GPSBabel Error: 536: Bad CRC 0b != 27 (pos 0x017614)

2011-09-22 15:08:42,773 [6] ERROR DOWNLOAD - GPSBabel Error: 537: Bad CRC 40 != 98 (pos 0x017791)

2011-09-22 15:08:42,788 [6] ERROR DOWNLOAD - GPSBabel Error: 538: Bad CRC 0a != bb (pos 0x01790e)

2011-09-22 15:08:42,788 [6] ERROR DOWNLOAD - GPSBabel Error: mtk: Invalid latitude 8482165644883881800000000000000000000000000000000000000000000000000000000000.000000 in waypoint WP000002.

 

Sample Error log 2:

2011-09-22 14:01:12,760 [13] ERROR DOWNLOAD - GPSBabel Error: 1026: Bad CRC 00 != ce

2011-09-22 14:01:12,775 [13] ERROR DOWNLOAD - GPSBabel Error: 1033: Bad CRC 01 != c0

2011-09-22 14:01:12,775 [13] ERROR DOWNLOAD - GPSBabel Error: 1034: Bad CRC 12 != 8f

2011-09-22 14:01:12,775 [13] ERROR DOWNLOAD - GPSBabel Error: 1035: Bad CRC 01 != a8

2011-09-22 14:01:12,775 [13] ERROR DOWNLOAD - GPSBabel Error: 1036: Bad CRC 19 != 74

2011-09-22 14:01:12,790 [13] ERROR DOWNLOAD - GPSBabel Error: 1037: Bad CRC 01 != a8

2011-09-22 14:01:12,790 [13] ERROR DOWNLOAD - GPSBabel Error: 1038: Bad CRC 0e != a2

2011-09-22 14:01:12,790 [13] ERROR DOWNLOAD - GPSBabel Error: 1039: Bad CRC 00 != f8

2011-09-22 14:01:12,790 [13] ERROR DOWNLOAD - GPSBabel Error: 1040: Bad CRC 3a != c3

2011-09-22 14:01:12,805 [13] ERROR DOWNLOAD - GPSBabel Error: 1064: Bad CRC 00 != 58

2011-09-22 14:01:12,805 [13] ERROR DOWNLOAD - GPSBabel Error: 1070: Bad CRC 07 != 91

2011-09-22 14:01:12,805 [13] ERROR DOWNLOAD - GPSBabel Error: 1071: Bad CRC 5f != 45

2011-09-22 14:01:12,805 [13] ERROR DOWNLOAD - GPSBabel Error: mtk: Invalid latitude 605551064317105880000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000 in waypoint WP000001.

 

We have many clickers experiencing this error.  After the error is recorded, GPSbabel quits and no data is extracted from the clicker.

 

Regards,

 

German Duran
Systems Administrator

PowerDirect Marketing
4700 Von Karman Ave., Suite 100
Newport Beach, CA 92660
P: 949-253-3454  I  C: 305-81-GERM-1 / 305-814-3761

gduran@...

www.powerdirect.net
Description: PDM-Logo-Science-Tag80
Description: FaceBook_32x32 Description: Twitter_32x32

 





------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Error downloading data from clicker BT-Q1000XT and GPSBabel

by Robert Lipe-4 :: Rate this Message:

| View Threaded | Show Only this Message



On Wed, Sep 28, 2011 at 6:25 PM, German Duran <gduran@...> wrote:

We need your help. 

                       

We use GPSBabel  0.2.22.0


Please use the current version, 1.4.2.  
 

and QStarz driver in order to have a command line argument to extract the records from clicker BT-Q1000XT


I've never heard it called a clicker.

 

 

The problem that we are having is when we tried to extract the records, the program will time out and give out this error:

 

Command line: 

C:\clicker\GPSBabel\gpsbabel.exe" -p "" -w -i mtk -f com7: -o unicsv -F "C:\data.csv"


Is com7 a USB port?  These models are notoriously unreliable for bulk transfer over bluetooth.

 

We have many clickers experiencing this error.  After the error is recorded, GPSbabel quits and no data is extracted from the clicker.


If it consistently works on some units and fails in others, the flash storage in those units may be corrupt.  These units use a block storage and recovering from bad sectors is very difficult.

Can other software read the affected devices?
RJL

 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Parent Message unknown Re: Error downloading data from clicker BT-Q1000XT and GPSBabel

by Robert Lipe-4 :: Rate this Message:

| View Threaded | Show Only this Message



On Thu, Sep 29, 2011 at 11:32 AM, German Duran <gduran@...> wrote:

Robert,

 

Thank you for your reply.   To answer your questions:

 

1.        Yes, we upgraded to the latest GPSBabel software 1.4.2 but still experience the same results.

2.       Com7 is a USB port.  We don’t extract the data via Bluetooth.

3.       The problem only occurs on some clickers, not others.  We are able to extract the data using Starz Qtravel software that they provided.  http://www.qstarz.com/download.php?t=3&m=BT-Q1000XT


If you clear the tracks stored on the unit, does that unit then work with GPSBabel?  If so, it's probably "just"  corruption in the stored data that we're not able to handle from and not a compatibility issue with that specific device.

Can you capture the raw data dump either via the native program or http://www.gpsbabel.org/htmldoc-development/fmt_mtk-bin.html (or better, both) and reproduce the case with the dump?   If so, please send us the dump for analysis.
 

4.       The problem we have is when extracting data.  If GPSBabel finds an error it will quit and not extract anything.  Is there a command that we can tell it to ignore any errors?

I don't know if you've ever tried to reverse engineer a comm protocol, but getting its error handling "right" (especially since we don't have devices with those errors) is very hard.

RJL


 

 

Regards,

 

German Duran
Systems Administrator

PowerDirect Marketing
4700 Von Karman Ave., Suite 100
Newport Beach, CA 92660
P: 949-253-3454  I  C: 305-81-GERM-1 / 305-814-3761

gduran@...

www.powerdirect.net
Description: PDM-Logo-Science-Tag80
Description: FaceBook_32x32 Description: Twitter_32x32

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Wednesday, September 28, 2011 7:41 PM
To: German Duran
Cc: gpsbabel-misc@...
Subject: Re: [Gpsbabel-misc] Error downloading data from clicker BT-Q1000XT and GPSBabel

 

 

On Wed, Sep 28, 2011 at 6:25 PM, German Duran <gduran@...> wrote:

We need your help. 

                       

We use GPSBabel  0.2.22.0

 

Please use the current version, 1.4.2.  

 

and QStarz driver in order to have a command line argument to extract the records from clicker BT-Q1000XT

 

I've never heard it called a clicker.

 

 

 

The problem that we are having is when we tried to extract the records, the program will time out and give out this error:

 

Command line: 

C:\clicker\GPSBabel\gpsbabel.exe" -p "" -w -i mtk -f com7: -o unicsv -F "C:\data.csv"

 

Is com7 a USB port?  These models are notoriously unreliable for bulk transfer over bluetooth.

 

 

We have many clickers experiencing this error.  After the error is recorded, GPSbabel quits and no data is extracted from the clicker.

 

If it consistently works on some units and fails in others, the flash storage in those units may be corrupt.  These units use a block storage and recovering from bad sectors is very difficult.

 

Can other software read the affected devices?

RJL

 

 






------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Error downloading data from clicker BT-Q1000XT and GPSBabel

by Star (Shih-Da) :: Rate this Message:

| View Threaded | Show Only this Message

Hi Robert, German:

This is Star.

Have any new findings or conclusions for this issue until now? 

Same issue was happened in my site.

These days I wanna export GPS data from BT-Q1000XT but always getting CRC errors by GPSBabel software. But those GPS data can be shown well by its product software "QTravel". That is, the raw data should not be corrupted. 

Any kindly replies are the most appreciated! THX!

GPSBabel version: 1.4.2 

C:\Program Files\GPSBabel>gpsbabel.exe -w -i mtk -f com18: -o unicsv -F data.csv
4162: Bad CRC aa != 51 (pos 0x0a3104)
4163: Bad CRC 01 != 6d (pos 0x0a3281)
4164: Bad CRC 15 != 82 (pos 0x0a33fe)
4165: Bad CRC c5 != 6d (pos 0x0a357b)
4166: Bad CRC 81 != 16 (pos 0x0a36f8)
4167: Bad CRC 34 != 97 (pos 0x0a36f8)
4168: Bad CRC 08 != 32 (pos 0x0a38ee)
mtk: Invalid latitude 3536360074492070600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000.000000 in waypoint WP000002. 


Thanks,
Star

On Fri, Sep 30, 2011 at 1:16 AM, Robert Lipe <robertlipe@...> wrote:


On Thu, Sep 29, 2011 at 11:32 AM, German Duran <gduran@...> wrote:

Robert,

 

Thank you for your reply.   To answer your questions:

 

1.        Yes, we upgraded to the latest GPSBabel software 1.4.2 but still experience the same results.

2.       Com7 is a USB port.  We don’t extract the data via Bluetooth.

3.       The problem only occurs on some clickers, not others.  We are able to extract the data using Starz Qtravel software that they provided.  http://www.qstarz.com/download.php?t=3&m=BT-Q1000XT


If you clear the tracks stored on the unit, does that unit then work with GPSBabel?  If so, it's probably "just"  corruption in the stored data that we're not able to handle from and not a compatibility issue with that specific device.

Can you capture the raw data dump either via the native program or http://www.gpsbabel.org/htmldoc-development/fmt_mtk-bin.html (or better, both) and reproduce the case with the dump?   If so, please send us the dump for analysis.
 

4.       The problem we have is when extracting data.  If GPSBabel finds an error it will quit and not extract anything.  Is there a command that we can tell it to ignore any errors?

I don't know if you've ever tried to reverse engineer a comm protocol, but getting its error handling "right" (especially since we don't have devices with those errors) is very hard.

RJL


 

 

Regards,

 

German Duran
Systems Administrator

PowerDirect Marketing
4700 Von Karman Ave., Suite 100
Newport Beach, CA 92660
P: 949-253-3454  I  C: 305-81-GERM-1 / 305-814-3761

gduran@...

www.powerdirect.net
Description: PDM-Logo-Science-Tag80
Description: FaceBook_32x32 Description: Twitter_32x32

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Wednesday, September 28, 2011 7:41 PM
To: German Duran
Cc: gpsbabel-misc@...
Subject: Re: [Gpsbabel-misc] Error downloading data from clicker BT-Q1000XT and GPSBabel

 

 

On Wed, Sep 28, 2011 at 6:25 PM, German Duran <gduran@...> wrote:

We need your help. 

                       

We use GPSBabel  0.2.22.0

 

Please use the current version, 1.4.2.  

 

and QStarz driver in order to have a command line argument to extract the records from clicker BT-Q1000XT

 

I've never heard it called a clicker.

 

 

 

The problem that we are having is when we tried to extract the records, the program will time out and give out this error:

 

Command line: 

C:\clicker\GPSBabel\gpsbabel.exe" -p "" -w -i mtk -f com7: -o unicsv -F "C:\data.csv"

 

Is com7 a USB port?  These models are notoriously unreliable for bulk transfer over bluetooth.

 

 

We have many clickers experiencing this error.  After the error is recorded, GPSbabel quits and no data is extracted from the clicker.

 

If it consistently works on some units and fails in others, the flash storage in those units may be corrupt.  These units use a block storage and recovering from bad sectors is very difficult.

 

Can other software read the affected devices?

RJL

 

 



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc






------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Real-Time with CSV to show only most current point

by Pouliot, Christopher (DNR) :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Thanks,

 

Chris

 


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Robert Lipe-4 :: Rate this Message:

| View Threaded | Show Only this Message



On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?


Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Pouliot, Christopher (DNR) :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Robert,

 

I’m not sure how to do that.  This is the command I’m sending to GPSBabel from my C# application (It works when I have an output file specified):

 

"-T -i nmea -f com1 -o csv -F -"

 

From what I’ve Googled I think I need to do a ReadToEnd on the Process object that I’m using to run GPSBabel but that just returns a blank string.  Any hints?  Or is there any example code out there?

 

Your help is greatly appreciated!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 11:31 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Robert Lipe-4 :: Rate this Message:

| View Threaded | Show Only this Message



On Tue, Dec 20, 2011 at 12:54 PM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Robert,

 

I’m not sure how to do that.  This is the command I’m sending to GPSBabel from my C# application (It works when I have an output file specified):

 

"-T -i nmea -f com1 -o csv -F -"


That's correct from our side.   There's definitely code in xcsv.c to make this work, but it's worth disclaiming that this is probably not well exercised as it's not really what we do.
 

 From what I’ve Googled I think I need to do a ReadToEnd on the Process object that I’m using to run GPSBabel but that just returns a blank string.  Any hints?  Or is there any example code out there?


I don't program in C#.  Perhaps someone else out there can help you with that.   Based solely on the name of the method, that's probably wrong; you don't want to read until the pipe is closed; you want to read individual lines as they become available.   But that's better answered by someone that actually knows C#.

RJL


 

 

Your help is greatly appreciated!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 11:31 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Pouliot, Christopher (DNR) :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Gpsbabel appears in my Task Manager processes as running and I don’t think it is writing a file anywhere so I’m thinking that it is doing what it is suppose to do but I’m missing one step of the process to grab that info that’s being piped.  Thanks for the advice and I’ll hold out to see if anyone else out there has any further clues.

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 1:11 PM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 12:54 PM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Robert,

 

I’m not sure how to do that.  This is the command I’m sending to GPSBabel from my C# application (It works when I have an output file specified):

 

"-T -i nmea -f com1 -o csv -F -"

 

That's correct from our side.   There's definitely code in xcsv.c to make this work, but it's worth disclaiming that this is probably not well exercised as it's not really what we do.

 

 From what I’ve Googled I think I need to do a ReadToEnd on the Process object that I’m using to run GPSBabel but that just returns a blank string.  Any hints?  Or is there any example code out there?

 

I don't program in C#.  Perhaps someone else out there can help you with that.   Based solely on the name of the method, that's probably wrong; you don't want to read until the pipe is closed; you want to read individual lines as they become available.   But that's better answered by someone that actually knows C#.

 

RJL

 

 

 

 

Your help is greatly appreciated!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 11:31 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 

 


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Pouliot, Christopher (DNR) :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I’m reading through the Real-time documentation:

gpsbabel -T -i garmin -f usb: -o kml -F xxx.kml

Will read the USB-connected Garmin and rewrite 'xxx.kml' atomically, suitable for a self-refreshing network link in Google Earth.

I run this:   gpsbabel –T –I nmea –f com1 –o kml –F d:\gistemp\test.kml

 

When running this from a command prompt it appends to the KML file.  Shouldn’t it be overwriting the KML with only the most current point?

 

Also, If doing NMEA real-time to a KML file, does the KML output contain all NMEA information by default?  I see that there is a table in the KML with a few things – Lat, Long, Alt, Speed, Heading, Time.  Or is the only way to get all NMEA information by setting my output to be NMEA format?

 

Chris

 

From: Pouliot, Christopher (DNR) [mailto:Christopher.Pouliot@...]
Sent: Tuesday, December 20, 2011 1:32 PM
To: Robert Lipe
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

Gpsbabel appears in my Task Manager processes as running and I don’t think it is writing a file anywhere so I’m thinking that it is doing what it is suppose to do but I’m missing one step of the process to grab that info that’s being piped.  Thanks for the advice and I’ll hold out to see if anyone else out there has any further clues.

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 1:11 PM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 12:54 PM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Robert,

 

I’m not sure how to do that.  This is the command I’m sending to GPSBabel from my C# application (It works when I have an output file specified):

 

"-T -i nmea -f com1 -o csv -F -"

 

That's correct from our side.   There's definitely code in xcsv.c to make this work, but it's worth disclaiming that this is probably not well exercised as it's not really what we do.

 

 From what I’ve Googled I think I need to do a ReadToEnd on the Process object that I’m using to run GPSBabel but that just returns a blank string.  Any hints?  Or is there any example code out there?

 

I don't program in C#.  Perhaps someone else out there can help you with that.   Based solely on the name of the method, that's probably wrong; you don't want to read until the pipe is closed; you want to read individual lines as they become available.   But that's better answered by someone that actually knows C#.

 

RJL

 

 

 

 

Your help is greatly appreciated!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 11:31 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 

 


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Robert Lipe-4 :: Rate this Message:

| View Threaded | Show Only this Message



On Wed, Dec 21, 2011 at 9:36 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

I’m reading through the Real-time documentation:

gpsbabel -T -i garmin -f usb: -o kml -F xxx.kml

Will read the USB-connected Garmin and rewrite 'xxx.kml' atomically, suitable for a self-refreshing network link in Google Earth.

I run this:   gpsbabel –T –I nmea –f com1 –o kml –F d:\gistemp\test.kml

 

When running this from a command prompt it appends to the KML file.  Shouldn’t it be overwriting the KML with only the most current point?


Actually, that command should be giving you a syntax error.

I won't have time to confirm what you're describing until after the holidays, but if it's true, that's a bug.   


 

 Also, If doing NMEA real-time to a KML file, does the KML output contain all NMEA information by default?  I see that there is a table in the KML with a few things – Lat, Long, Alt, Speed, Heading, Time.  Or is the only way to get all NMEA information by setting my output to be NMEA format?


No, it doesn't make sense to present satellite position and all the other stuff in NMEA.

RJL
 

 

Chris

 

From: Pouliot, Christopher (DNR) [mailto:Christopher.Pouliot@...]
Sent: Tuesday, December 20, 2011 1:32 PM
To: Robert Lipe


Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

Gpsbabel appears in my Task Manager processes as running and I don’t think it is writing a file anywhere so I’m thinking that it is doing what it is suppose to do but I’m missing one step of the process to grab that info that’s being piped.  Thanks for the advice and I’ll hold out to see if anyone else out there has any further clues.

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 1:11 PM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 12:54 PM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Robert,

 

I’m not sure how to do that.  This is the command I’m sending to GPSBabel from my C# application (It works when I have an output file specified):

 

"-T -i nmea -f com1 -o csv -F -"

 

That's correct from our side.   There's definitely code in xcsv.c to make this work, but it's worth disclaiming that this is probably not well exercised as it's not really what we do.

 

 From what I’ve Googled I think I need to do a ReadToEnd on the Process object that I’m using to run GPSBabel but that just returns a blank string.  Any hints?  Or is there any example code out there?

 

I don't program in C#.  Perhaps someone else out there can help you with that.   Based solely on the name of the method, that's probably wrong; you don't want to read until the pipe is closed; you want to read individual lines as they become available.   But that's better answered by someone that actually knows C#.

 

RJL

 

 

 

 

Your help is greatly appreciated!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 11:31 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 

 



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Pouliot, Christopher (DNR) :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

It was suppose to be a lower case I ----  gpsbabel –T –i nmea –f com1 –o kml –F d:\gistemp\test.kml

Outlook likes to correct things.

 

Looks like I might need to focus on piping the real-time strings directly to my program so that I can capture the satellite and accuracy information.  My folks dig that sort of thing.

 

One more thing, if I have a garmin unit in garmin mode and do something like this:

gpsbabel –T –i garmin –f com1 –o nmea –F d:\gistemp\nmea.txt

What is happening?  It appears to be spitting out NMEA strings so is it putting my GPS into NMEA mode?   

 

GPS Babel is invaluable to me and I greatly appreciate your work.

 

Thanks!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Wednesday, December 21, 2011 10:04 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Wed, Dec 21, 2011 at 9:36 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

I’m reading through the Real-time documentation:

gpsbabel -T -i garmin -f usb: -o kml -F xxx.kml

Will read the USB-connected Garmin and rewrite 'xxx.kml' atomically, suitable for a self-refreshing network link in Google Earth.

I run this:   gpsbabel –T –I nmea –f com1 –o kml –F d:\gistemp\test.kml

 

When running this from a command prompt it appends to the KML file.  Shouldn’t it be overwriting the KML with only the most current point?

 

Actually, that command should be giving you a syntax error.

 

I won't have time to confirm what you're describing until after the holidays, but if it's true, that's a bug.   

 

 

 

 Also, If doing NMEA real-time to a KML file, does the KML output contain all NMEA information by default?  I see that there is a table in the KML with a few things – Lat, Long, Alt, Speed, Heading, Time.  Or is the only way to get all NMEA information by setting my output to be NMEA format?

 

No, it doesn't make sense to present satellite position and all the other stuff in NMEA.

 

RJL

 

 

Chris

 

From: Pouliot, Christopher (DNR) [mailto:Christopher.Pouliot@...]
Sent: Tuesday, December 20, 2011 1:32 PM
To: Robert Lipe


Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

Gpsbabel appears in my Task Manager processes as running and I don’t think it is writing a file anywhere so I’m thinking that it is doing what it is suppose to do but I’m missing one step of the process to grab that info that’s being piped.  Thanks for the advice and I’ll hold out to see if anyone else out there has any further clues.

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 1:11 PM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 12:54 PM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Robert,

 

I’m not sure how to do that.  This is the command I’m sending to GPSBabel from my C# application (It works when I have an output file specified):

 

"-T -i nmea -f com1 -o csv -F -"

 

That's correct from our side.   There's definitely code in xcsv.c to make this work, but it's worth disclaiming that this is probably not well exercised as it's not really what we do.

 

 From what I’ve Googled I think I need to do a ReadToEnd on the Process object that I’m using to run GPSBabel but that just returns a blank string.  Any hints?  Or is there any example code out there?

 

I don't program in C#.  Perhaps someone else out there can help you with that.   Based solely on the name of the method, that's probably wrong; you don't want to read until the pipe is closed; you want to read individual lines as they become available.   But that's better answered by someone that actually knows C#.

 

RJL

 

 

 

 

Your help is greatly appreciated!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 11:31 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 

 

 


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: Real-Time with CSV to show only most current point

by Robert Lipe-4 :: Rate this Message:

| View Threaded | Show Only this Message



 Looks like I might need to focus on piping the real-time strings directly to my program so that I can capture the satellite and accuracy information.  My folks dig that sort of thing.


Your folks are then likely to be disappointed in GPSBabel for this sort of thing.  It really is an oddity to us.  It was funded by Google for realtime tracking in Earth for the sole purpose of putting a car and a breadcrumb on a map. (That model made some sense in 2006, but with smart phones it really doesn't now.)   We really don't try to be a full Garmin PVT->NMEA converter or Delorme->PVT converter, for example.   We use the minimum to put a picture on a moving map.  Things like VTG, GSA, and GSV data just aren't something we try to preserve.  

It sounds like tools like gpsd or gpsgate are closer to what you're looking for.

 

 One more thing, if I have a garmin unit in garmin mode and do something like this:

gpsbabel –T –i garmin –f com1 –o nmea –F d:\gistemp\nmea.txt

What is happening?  It appears to be spitting out NMEA strings so is it putting my GPS into NMEA mode?   


No.   It's reading Garmin's PVT protocol.   We don't decode it all, only the part we care about (lat, lon, alt, course, speed, time, fix) and then we store that in an internal format.   We then write NMEA from that format.   We don't process almanac, constellation, strength of relative SV or other things that it sounds like you care about.

Since all the serial Garmins will do NMEA (which isn't true with the USB models) and you want NMEA, why involve GPSBabel in this at all?

 

 GPS Babel is invaluable to me and I greatly appreciate your work.


Thanx.  Even if we're not the tool you're looking for, please send people to http://www.gpsbabel.org/contribute.html :-)

 

 

Thanks!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Wednesday, December 21, 2011 10:04 AM


To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Wed, Dec 21, 2011 at 9:36 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

I’m reading through the Real-time documentation:

gpsbabel -T -i garmin -f usb: -o kml -F xxx.kml

Will read the USB-connected Garmin and rewrite 'xxx.kml' atomically, suitable for a self-refreshing network link in Google Earth.

I run this:   gpsbabel –T –I nmea –f com1 –o kml –F d:\gistemp\test.kml

 

When running this from a command prompt it appends to the KML file.  Shouldn’t it be overwriting the KML with only the most current point?

 

Actually, that command should be giving you a syntax error.

 

I won't have time to confirm what you're describing until after the holidays, but if it's true, that's a bug.   

 

 

 

 Also, If doing NMEA real-time to a KML file, does the KML output contain all NMEA information by default?  I see that there is a table in the KML with a few things – Lat, Long, Alt, Speed, Heading, Time.  Or is the only way to get all NMEA information by setting my output to be NMEA format?

 

No, it doesn't make sense to present satellite position and all the other stuff in NMEA.

 

RJL

 

 

Chris

 

From: Pouliot, Christopher (DNR) [mailto:Christopher.Pouliot@...]
Sent: Tuesday, December 20, 2011 1:32 PM
To: Robert Lipe


Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

Gpsbabel appears in my Task Manager processes as running and I don’t think it is writing a file anywhere so I’m thinking that it is doing what it is suppose to do but I’m missing one step of the process to grab that info that’s being piped.  Thanks for the advice and I’ll hold out to see if anyone else out there has any further clues.

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 1:11 PM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 12:54 PM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Robert,

 

I’m not sure how to do that.  This is the command I’m sending to GPSBabel from my C# application (It works when I have an output file specified):

 

"-T -i nmea -f com1 -o csv -F -"

 

That's correct from our side.   There's definitely code in xcsv.c to make this work, but it's worth disclaiming that this is probably not well exercised as it's not really what we do.

 

 From what I’ve Googled I think I need to do a ReadToEnd on the Process object that I’m using to run GPSBabel but that just returns a blank string.  Any hints?  Or is there any example code out there?

 

I don't program in C#.  Perhaps someone else out there can help you with that.   Based solely on the name of the method, that's probably wrong; you don't want to read until the pipe is closed; you want to read individual lines as they become available.   But that's better answered by someone that actually knows C#.

 

RJL

 

 

 

 

Your help is greatly appreciated!

 

Chris

 

From: robertlipe@... [mailto:robertlipe@...] On Behalf Of Robert Lipe
Sent: Tuesday, December 20, 2011 11:31 AM
To: Pouliot, Christopher (DNR)
Cc: GPSBabel-misc
Subject: Re: [Gpsbabel-misc] Real-Time with CSV to show only most current point

 

 

On Tue, Dec 20, 2011 at 11:03 AM, Pouliot, Christopher (DNR) <Christopher.Pouliot@...> wrote:

Hello all,

 

I’m trying to do real-time tracking to a csv file.  I’m able to get it to work but what I’d like is for the most current location to overwrite the previous so that my file contains only the most recent point (similar to what is done with real-time to a KML file).  Is there an option I can set to do this?

 

Not really.  To get a similar effect, let GPSBabel output to a piple (-F -) and let your program read from the pipe. 

 

 



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc