Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading the serial port
Message
 
 
À
11/08/2000 10:44:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00403935
Message ID:
00403940
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform