Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading a Scale with VFP
Message
De
05/11/2000 08:04:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00438051
Message ID:
00438107
Vues:
18
>I have a scale connected to com1. I have tried to use mscomm and an activeX control someone from this site recommended io.ocx from Stephen Payne. I have tried both in vain.
>
>I have the correct baudrate, databits, parity and stopbits set.
>
>Using either mscomm or io.ocx the return string I get is "".
>
>I can't believe there isn't someone out there who has successfully accomplished this task.
>
>Some good old fashion code sharing would be greatly appreciated. I don't believe in re-inventing the wheel!
>
>Any help - beyond "use mscomm" would be wonderful.
>
>Jill Lindgren

Try here for some example code : http://www.levelextreme.com/wconnect/wc.dll?UniversalThread~?2,54,19,651

In addition to Ed's advice, is the cable to the scale properly configured? Can you get any data from the scale using S. Payne's sample form? It is a great troubleshooting tool for comm ports by itself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform