Message 1 of 5
Reading GPS output on a serial port with VBA

Not applicable
12-03-2001
05:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My apologies for cross-posting.
Does anyone know how to read the GPS receiver output connected to a serial port and have the location (Lat-Long or XY doesn't make any difference to me) dislayed on an AutoCAD drawing in real-time?
I have a Trimble GPS (4700 receiver) connected to the serial port and I have tried to directly read the NMEA output on that port with VBA. After searching on the Web I found out that this is done with some OCX named MSCOMM which programatically controls the computer's serial port. Unfortunately, this OCX does not work with VBA but only with VB (when I try to place it on a VBA form there's a message saying: The control could not be created because it is not properly licensed). Perhaps someone knows some DLL or other OCX that may be used with VBA??
I know about Trimble Link but it seems it doesn't support real-time connection with the GPS receiver.
I have to say that I have spend quite a few days searching for anything similar on the Web without any succes.
****Any*** help, hint, alternative approach or suggestion would be immensely appreciated.
TIA
Christoforos Vradis
Does anyone know how to read the GPS receiver output connected to a serial port and have the location (Lat-Long or XY doesn't make any difference to me) dislayed on an AutoCAD drawing in real-time?
I have a Trimble GPS (4700 receiver) connected to the serial port and I have tried to directly read the NMEA output on that port with VBA. After searching on the Web I found out that this is done with some OCX named MSCOMM which programatically controls the computer's serial port. Unfortunately, this OCX does not work with VBA but only with VB (when I try to place it on a VBA form there's a message saying: The control could not be created because it is not properly licensed). Perhaps someone knows some DLL or other OCX that may be used with VBA??
I know about Trimble Link but it seems it doesn't support real-time connection with the GPS receiver.
I have to say that I have spend quite a few days searching for anything similar on the Web without any succes.
****Any*** help, hint, alternative approach or suggestion would be immensely appreciated.
TIA
Christoforos Vradis