comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading GPS NMEA via serial port
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Reading GPS NMEA via serial port [message #43090] Mon, 21 March 2005 15:17 Go to next message
andrew.cool is currently offline  andrew.cool
Messages: 47
Registered: July 2003
Member
Hello All,

Having read a few recent posts about using the serial DLM from the
RSI user Contrib code site to read GPS data streams, I thought I'd give it
a try with my El Cheapo GPS at home.

Success to date is mixed.

Yes, I'm getting a data stream, and I can pick out an occassional UT
time stamp, but the rest leaves me flummoxed.

I gather that the returned NMEA sntence are human readable ASCII, a la :-
$GPGGA,170834,4124.8963,N,08151.6838,W,1,05,1.5,280.2,M,-34. 0,M,,,*75

and the the buffer returned from the COMM_READ call is of type BYTE.
(I initially had that set to 'string", and Boy was that an IDL Killer!)

So I should be able to spot a byte sequence for "GPGGA" in the above
82 byte long NMEA sentence, i.e. a sequence of 71,80,71,71,65.

But no. Printing out all the STRING'd valid [A..Z,a..z) characters in the data
stream produces rubbish.

What am I not understanding about getting recognizable NMEA sentences
outta my GPS unit?

I spent a balmy evening out on my back lawn, armed with laptop and GPS,
programming and swatting mossies, with not much to show for it other than
goobledeegook and itchy red lumps.


Cheers,

Andrew (aka Itchy & Scratchy)

DSTO, Adelaide, Oz
Re: Reading GPS NMEA via serial port [message #43315 is a reply to message #43090] Mon, 04 April 2005 17:51 Go to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
On Mon, 4 Apr 2005, Andrew Cool wrote:
> I haven't progressed much further on my own code recently...

Pretty much off topic, but I'd like to direct you and anyone
following this thread to a very cool website:

http://www.gpsdrawing.com/

Some highlights:
tic-tac-toe on the city of Hollywood, 3D GPS sculptures via
skydiving, etc...

http://www.gpsdrawing.com/animations.htm

-k.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Reading GPS NMEA via serial port
Next Topic: 6.1 -> 2 bugs: $PWD and exit, status=

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:52:47 PDT 2025

Total time taken to generate the page: 0.00476 seconds