Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retreiveing data from a serial port 1

Status
Not open for further replies.

procom

Programmer
Jan 28, 2001
4
US
I need to retrieve data from a serial port into a form. A scale will be sending the weight to the serial port which needs to show in a field on a form which can be edited if necessary.
 
Hello.

Try using the MSCOMM.OCX (it came with the Visual FoxPro). I've used it, and the thing works. If you want more information, reply and I can e-mail to you a sample code about how to do this.


Hmmmmm... Maybe I should write a FAQ about this isssue... The TekTips gurus! What do you think?

Grigore Dolghin
 
Unfortunatly, the "keyword search" functionality is down, as an almost identical question was answered some time ago (including example code).

As Grigore stated, your best bet is using the MSCOMM.OCX

Diederik Vermeeren
verm1864@exact.nl
 
Some VFP / MSCOMM32 sample code is available in
- HOWTO: Receive from the Serial Port by Using MScomm32.ocx.
Also useful may be
- HOWTO: Send to the Serial Port by Using Mscomm32.ocx.
And of course,
- HOWTO: Transmit and Receive Binary Data using MSCOMM32.

Rick
 
Hi
Read my reply for the Bar Code Scanner it will help you.
It uses the same control you need.
Thanks
Walid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top