Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scales on com1
Message
 
To
15/07/2003 21:12:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00810504
Message ID:
00810516
Views:
7
>Help please !!!!
>I am using VFP6, and want to hook up electronic scales on com1
>with baud rate 4800, parity bit 1 and receive the weights from the scales.
>Where do I setup info about com1 etc. and how do I talk to the scales ???
>From scales manual, I understand that I got to send "05h" to scales, then scale sends "06h", then I send "11h" and scales send the weight, I hope.
>Your help will be appreciated. Thanks

The easiest way is to use the MSComm control. Just set the properties and away you go.

Scale communication is very basic so it shouldn't take too much work. Just use the CHR() commands for each byte to send.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform