Installing RS232 Interface CCD Scanner
Step 6: Test your RS232 Interface CCD Scanner
Your scanner may now be tested
using software designed to read bar
code data from the RS232 port. The
following sample program written in
BASIC is sufficient for this purpose:
10 open COM1:"9600,N,8,1,cd,ds,cs" as #1
20 input #1, A$
30 print A$
40 go to 20
With this program running, the
number of any bar code you scan
will appear on your screen. Press
[CTRL + C] to exit from this
software program.
Step 7: Turn to Chapter 4
You are now ready to program the
RS232 Interface CCD scanner to
meet the specific requirements of
your application environment.
9