Re: Reading different barcode length via RS232
From: Dick Grier (dick_grierNOSPAM_at_msn.com)
Date: 12/24/04
- Previous message: Sergey Bogdanov: "Re: How to set Read-Only a"
- In reply to: Dan Bass: "Re: Reading different barcode length via RS232"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 24 Dec 2004 10:38:42 -0700
Hi,
You have to read data into a buffer (append new data as it arrives), and
parse out of that buffer until some known terminating character is found. I
suspect that this would be a carriage return, but your documentation will
tell you.
remember to clear the buffer that you are parsing from after you have read
the barcode.
***
-- Richard Grier (Microsoft Visual Basic MVP) See www.hardandsoftware.net for contact information. Author of Visual Basic Programmer's Guide to Serial Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See www.mabry.com/vbpgser4 to order.
- Previous message: Sergey Bogdanov: "Re: How to set Read-Only a"
- In reply to: Dan Bass: "Re: Reading different barcode length via RS232"
- Messages sorted by: [ date ] [ thread ]