List Info

Thread: Re: How to read from COM port?




Re: How to read from COM port?
country flaguser name
United States
2008-03-20 23:40:59

I could not find that issue of the Elektor magazine, so I downloaded
a PDF copy, which I have also put in the files/programs folder as
ElektorGPSfeature.pdf. In the last paragraph, last page, in half a
column they describe how to write a GPS program. NOTE: while the
article referred to a Trimble GPS module with built in USB port, the
magazine article mounted that on a board with a RS232 to USB
converter circuit, and the program uses MSCOMM1 and an RS232 port.

--- In visualbasic6programming%40yahoogroups.com">visualbasic6programmingyahoogroups.com, "Bamm Gabriana"
<bamm...> wrote:
&gt;
> > I'm not sure how split() will handle this.
&gt;
> Split it at the * to separate the checksum from the values, then
split
> the left part at the commas to separate the words from each
other.
>
> > I have uploaded a file of a GPS project (smartGPS.zip) from
Elektor
> > magazine, from a few years ago. Unfortunately I can not find the
> > article that went with it, but it works, and was designed to be
> > pulled apart and customised, as a learning tool.
(Files/programs/GPS
> > Comms.)
>
> Thanks! Just what I need, a sample source!
>
> > Current Elektor programs use USB, unless you have a good reason
not
> > to, it is probably a better way to go.
> > cheers, Ken.
>;
> My eTrex cable is serial; however I have a USB-to-RS232 cable, so I
> guess USB might work, but doing that might complicate my project
even
> further. I am not an expert at programming, I just need this for an
> astronomy project I am doing.
&gt;

__._,_.___
.

__,_._,___
Re: How to read from COM port?
country flaguser name
United States
2008-03-21 02:11:06

Thank you so much! This should be more than enough to get me going.
This will just be a simple app that will update the software that I
use to control my telescope with the proper position and time information.

I currently use a program called AstroGPS for this purpose. It is a
good program, but it is no longer enough for my needs, hence I am
attempting to write my own program which does something similar.

--- In visualbasic6programming%40yahoogroups.com">visualbasic6programmingyahoogroups.com, "kengoldy" wrote:
&gt;
> I could not find that issue of the Elektor magazine, so I downloaded
> a PDF copy, which I have also put in the files/programs folder as
> ElektorGPSfeature.pdf. In the last paragraph, last page, in half a
> column they describe how to write a GPS program. NOTE: while the
> article referred to a Trimble GPS module with built in USB port, the
> magazine article mounted that on a board with a RS232 to USB
> converter circuit, and the program uses MSCOMM1 and an RS232 port.

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )