From: LJB on
Does anyone have any vbscript samples on sending or receiving waypoints for
Garmin handheld GPS? Mine connects via a USB to Serial adapter at COM5. I
can switch my GPS from Garmin format to NEMA if necessary. I'd like to
create a simple app with inputboxs for latitude, longitude and waypoint name
so I can look at a map and just key in locations of interest. Actually any
vbscript interacting with a GPS unit would be interesting.

Thanks,
LJB


From: mr_unreliable on
LJB wrote:
> Does anyone have any vbscript samples on sending or receiving waypoints for
> Garmin handheld GPS? Mine connects via a USB to Serial adapter at COM5. I
> can switch my GPS from Garmin format to NEMA if necessary. I'd like to
> create a simple app with inputboxs for latitude, longitude and waypoint name
> so I can look at a map and just key in locations of interest. Actually any
> vbscript interacting with a GPS unit would be interesting.
>
hi LJB,

Good Luck with this. It sounds to me like it's a little beyond
the capabilities of mere scripting.

Unless somebody comes up with exactly what you want, then first
off you are going to have to do some research. You need the
"technical specs" of the Garmin data transfer, as well as the
"NEMA" protocol. btw, is that "NEMA" (National Electrical
Manufacturers Association) - a protocol for connecting home
appliances to your computer?, or, is it "NMEA" (National
Marine Electronics Association) a network for your boat that
is used to transfer data between your navigational instruments
and your gps-driven chart plotter?

Once you are conversant with the tech-specs, then you need to
find some interfacing code. Chances are, the code will be c++
code, but there may be vbSrript interfaces too.

You might start here, with the Garmin "Device Interface SDK":

http://www8.garmin.com/support/commProtocol.html

and more specifically, the Garmin "USB Device Drivers":

http://www8.garmin.com/support/agree.jsp?id=591

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)

p.s. do you happen to be from Texas?


From: vt on
"LJB" <postmaster(a)127.0.0.1> a �crit dans le message de news:
eqPzWq2oKHA.5520(a)TK2MSFTNGP05.phx.gbl...
> Does anyone have any vbscript samples on sending or receiving waypoints
> for Garmin handheld GPS? Mine connects via a USB to Serial adapter at
> COM5. I can switch my GPS from Garmin format to NEMA if necessary. I'd
> like to create a simple app with inputboxs for latitude, longitude and
> waypoint name so I can look at a map and just key in locations of
> interest. Actually any vbscript interacting with a GPS unit would be
> interesting.
>
> Thanks,
> LJB
For a list of NMEA sentences, see:
http://home.mira.net/~gnb/gps/nmea.html

Most devices know the simple and common sentence $GPRMC:

http://www.codepedia.com/1/The+GPRMC+Sentence




From: mr_unreliable on
LJB wrote:
> Does anyone have any vbscript samples on sending or receiving waypoints for
> Garmin handheld GPS? Mine connects via a USB to Serial adapter at COM5.
>

As far as accessing a COM port via script, it can be done
using fso (file scripting object). There are several
examples posted in this ng, but the "Google Advanced
Group Search" doesn't seem to be working very well these
days. I suggest using the standard google and searching
for fso and "COM port".

Beyond that, you will also see suggestions to use the ms
actX control called "msComm32.ocx".

http://support.microsoft.com/kb/823179/en-us

However, msComm32.ocx is a licensed control, and you may
not have it installed unless you have purchased some version
of ms visual basic.

If you have an unlimited software budget (255 euros + maint
fee), then you might wish to consider the proprietary
"ActiveComport Toolkit" control:

http://www.activexperts.com/activcomport/

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)




From: LJB on

"mr_unreliable" <kindlyReplyToNewsgroup(a)notmail.com> wrote in message
news:ef$LYyCpKHA.2076(a)TK2MSFTNGP05.phx.gbl...
> LJB wrote:
>> Does anyone have any vbscript samples on sending or receiving waypoints
>> for Garmin handheld GPS? Mine connects via a USB to Serial adapter at
>> COM5.
>
> As far as accessing a COM port via script, it can be done
> using fso (file scripting object). There are several
> examples posted in this ng, but the "Google Advanced
> Group Search" doesn't seem to be working very well these
> days. I suggest using the standard google and searching
> for fso and "COM port".
>
> Beyond that, you will also see suggestions to use the ms
> actX control called "msComm32.ocx".
>
> http://support.microsoft.com/kb/823179/en-us
>
> However, msComm32.ocx is a licensed control, and you may
> not have it installed unless you have purchased some version
> of ms visual basic.
>
> If you have an unlimited software budget (255 euros + maint
> fee), then you might wish to consider the proprietary
> "ActiveComport Toolkit" control:
>
> http://www.activexperts.com/activcomport/
>
> cheers, jw
> ____________________________________________________________
>
> You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
> the answers will be applicable to the questions)
>

Good info.
Thanks