Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catching data from a com port
Message
 
 
À
28/09/2000 12:34:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00422135
Message ID:
00422143
Vues:
12
>Anybody have a good tool to use with VFP for catching a data string coming in from a com port?
>
>I have a scale that will send me via RS232 the weight of a package. I want to grab the weight compare it to what the weight should be and then pass or stop the package on the screen.
>
>Any help would be appreciated.
>
>Thanks in advance
>
>Alan

Use the MSComm32 control. You can create an OLEControl subclass of it and use the OnComm event. This fires when data is present in the buffer.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform