>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.comInternet 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!