Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading the serial port
Message
 
 
To
11/08/2000 10:44:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00403935
Message ID:
00403940
Views:
12
>How can Foxpro retrieve information from the serial port buffer. We have a cable plugged into the serial port of a computer and want to get to the data coming in from the serial port.
>
>Can you use fgets?

Not with VFP. Try using the MSCOMM32 control that comes with VFP. Incoming data triggers the OnComm event of the control and you can read the data using the Input property. Check out the MSCOMM control help file, COMM98.CHM, for more details.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform