balloonatic
Posts: 18
Joined: Mon Aug 16, 2004 7:17 pm
Location: Canada

Garmin PGRMZ Sentence

Thu Jan 27, 2005 7:58 am

I'm not sure if I should post this to GpsTools or SerialTools so here goes nothing..

I would like to receive the $PGRMZ sentence from my eTrex as this sentence represents the barometric altitude instead of the GPS altitude. I understand that this sentence is only available when I switch my eTrex over to GARMIN from NMEA. When I do this GPSTools looses it's connection to the GPSr. I have GPSGate so if I can figure out how to get the $PGRMZ sentence from the eTrex on my iPAQ's USB port I can still get all the other data from the CF GPSr and GPSTools.

Anyone know how I can get the proprietary GARMIN $PGRMZ sentence from my eTrex?

See Yah

User avatar
johan
GpsGate
Posts: 15404
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Garmin PGRMZ Sentence

Thu Jan 27, 2005 10:21 am

Took a look at a Garmin here and it sends $PGRMZ in NMEA mode. Catch the NmeaParser.Generic() event, and look for the command RMZ and you will have it.

Regards,
Johan

Franson Support

balloonatic
Posts: 18
Joined: Mon Aug 16, 2004 7:17 pm
Location: Canada

RE: Garmin PGRMZ Sentence

Thu Jan 27, 2005 10:50 pm

Ooops...
I have a switch for turning the results of the NmeaParser.Generic() event off.

I had the switch OFF. I'll try it again tonight with the switch ON!
Wasn't sure whether to check for "RMZ" or "PGRMZ" either. Thanks for the clarification.

See Yah

User avatar
johan
GpsGate
Posts: 15404
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Garmin PGRMZ Sentence

Thu Jan 27, 2005 10:54 pm

In GpsTools 2.11 (and earlier) you should check
If NmeaSentence.Command = "RMZ"

In GpsTools 2.20 (and later) you also have the option to check
If NmeaSentence.FullCommand = "PGRMZ"


Regards,
Johan

Franson Support

balloonatic
Posts: 18
Joined: Mon Aug 16, 2004 7:17 pm
Location: Canada

RE: Garmin PGRMZ Sentence

Sat Jan 29, 2005 7:40 am

Thanks, It works great!


See Yah

Return to “GpsTools”