Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading a Scale with VFP
Message
From
05/11/2000 08:04:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00438051
Message ID:
00438107
Views:
17
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform