Re: MSComm Control
From: Dick Grier (dick_grierNOSPAM_at_msn.com)
Date: 03/25/04
- Next message: Tony Proctor: "Re: Using a non-thread-safe dll in a com object"
- Previous message: R. Ian Lee: "RE: VB6 professional and Windows XP"
- In reply to: SMB: "Re: MSComm Control"
- Next in thread: SMB: "Re: MSComm Control"
- Reply: SMB: "Re: MSComm Control"
- Reply: DJ Sim: "Re: MSComm Control"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Mar 2004 08:29:31 -0700
Hi,
>>
I then tried another Telnet client - ZOC and that one
worked. I can't figure it out.
<<
Telnet isn't an issue, unless you are doing this remotely. The Weigh-tronix
scales that I have seen are quite simple. You just connect the cable,
configure the serial port (including RTS), and enable OnComm receive by
setting RThreshold = 1. Data are delimited by a vbCRLF, so receiving each
message is straight forward. You append it to a buffer and display the
result in a text box -- you can parse the results as soon as the CFLF have
been received.
I'd have to suspect that you have a configuration problem, but without more
information, or hands-on with the scale, it is hard for me to suggest
anything else.
Dick
-- Richard Grier (Microsoft Visual Basic MVP) See www.hardandsoftware.net for contact information. Author of Visual Basic Programmer's Guide to Serial Communications, 3rd Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
- Next message: Tony Proctor: "Re: Using a non-thread-safe dll in a com object"
- Previous message: R. Ian Lee: "RE: VB6 professional and Windows XP"
- In reply to: SMB: "Re: MSComm Control"
- Next in thread: SMB: "Re: MSComm Control"
- Reply: SMB: "Re: MSComm Control"
- Reply: DJ Sim: "Re: MSComm Control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|