
HP 82153A - Wand Owner Manual - page 16
How to use
WNDSCN
:
Bytes
Directional Bars
1. Ensure that there are enough data storage registers available in the HP-41C
for the number of bytes (set of eight bars) in the row you will scan under
WNDSCN
control. Beginning with R
01
,
WNDSCN
uses one data storage
register for each byte in a row. A row can be as short as one byte (8 bars), or
as long as 16 bytes (128 bars).
Note:
Because the first and the last pairs of bars in a row indicate the scan direction, every row of bar code must also include the
illustrated directional bars.
2. Execute
WNDSCN
. The HP-41C will prompt you to scan a row of bar code by displaying
W: READY
3. Scan the desired row.
After you scan a row of your bar code, the HP-41C’s registers are loaded as follows:
1. The total number of bytes read
(n)
is placed in the HP-41C’s X-register as a
normal digit entry.
Total number
of byte in the row.
n
2. The decimal equivalent (yyy) of the binary value of each byte is placed
sequentially in the HP-41C’s data storage registers. The value of the first
byte is placed in R
01
. The value of the last byte is placed in R
n
(where
n
is
the value placed in the X-register in step 1, above).
R
01
R
02
R
n
yyy
1
yyy
2
yyy
n
With the decimal form of the byte values in the HP-41C’s data storage registers, the
WNDSCN
operation is complete. The value can
now be accessed and interpreted according to your instructions.
If you execute
WNDSCN
in a running program, program execution resumes with the first instruction in program memory following the
WNDSCN
instruction. Note that under
WNDSCN
control the wand cannot perform the error checking it performs during other wand
operations (refer to
appendix A
, Errors and Messages). However, you can design your own error tests in the programs you write for
use with
WNDSCN
.
WNDTST
The
WNDTST
wand test
function lets you test the wand of any HP-41C bar code by displaying what has been read in a row you
scanned. To use this test, execute
WNDTST
and scan a row of bar code. Then note and compare each set of digits returned in the
HP-41C’s display with the corresponding bar pattern in each consecutive byts of eight bars in a row. The narrow and wide bars
corresponding to 0’s and 1’s in the display, i.e.,
1
1 0
1 0 1 0 0 0 0 0 0 1 0 0 1
Note:
Because the first and last pairs in a row indicate scan direction, they are not displayed by
WNDTST
.
Содержание 82153A
Страница 32: ...HP 82153A Wand Owner Manual page 36 CF 06 CF 22 SF 28 SF 29 ...
Страница 55: ...HP 82153A Wand Owner Manual page 59 XEQ TRI 7 8 9 4 5 6 1 2 3 0 CLX ...
Страница 60: ...HP 82153A Wand Owner Manual page 64 ROW 17 112 118 ROW 18 118 120 ROW 19 120 121 ...
Страница 64: ...HP 82153A Wand Owner Manual page 68 Pace PROGRAM REGISTERS NEEDED 3 ROW 1 1 5 ROW 2 5 6 ...
Страница 66: ...HP 82153A Wand Owner Manual HEWLETT PACKARD 82153A WAND OWNER S MANUAL ...
Страница 71: ...HP 82153A Wand Owner Manual 82153A WAND ...