Download Print this page

HP 82153A Owner's Manual page 15

Wand

Advertisement

Example: Use
to test a copy of the above bar code. Because
WNDTST
byte in a row, be sure that the data registers R
code.
Bar Code
WNDTST
Test Bar Code
CLX
Note: If flag 29 is cleared you will not see the radix marks (refer to
Handbook and Programming Guide).
If the wand correctly reads the bar code you scan, the displayed zeros will correspond to the narrow bars and the displayed ones will
correspond to the wide bars. A series of consistently misreads of a bar code row normally indicates defective bar code. However, if
the wand consistently misreads bar code that is in good condition, the wand may need service. If you suspect that your wand is
operating improperly, refer to
How it Works. When you execute
separate data storage register. Because the wand is designed to handle rows up to 16 bytes long, you will never need more than R
through R
for any
WNDTST
16
bytes occur in the row, regardless of your direction of scan.
Programming
. As you would expect
WNDTST
However, unlike the other wand functions,
). For this reason, when you scan
program memory as
Options. If you use an HP 82143A Printer with your HP-41C, executing
WNDTST
displayed byte values. If you doe not use a printer, but want the HP-41C to halt for each byte value display instead of pausing, set flag
21 before executing
WNDTST
display to the next.
Customized ALPHA Prompts
Using the following programming procedure you can replace initial
function prompts with your own customized ALPHA prompts.
*
If
has been copied into program memory first, placing the HP-41C in PRGM mode, then scanning or keying in
WNDTST
appearing as an instruction in program memory.
WNDTST
HP 82153A - Wand Owner Manual - page 17
through R
00
Display
W: READY
B1.=1.1.0.1.0.1.0.0.
B2.=0.0.0.0.1.0.0.1.
0.
Appendix
B, Maintenance and Service.
and scan a row of bar code, the value of each consecutive byte in the row is stored in a
WNDTST
operation. The byte values will always be displayed in the left-to-right sequence that the corresponding
WNDTST
is actually an HP-41C applications program that calls a wand function (
WNDTST
or key in
WNDTST
XROM
. After the first byte value appears, execute
uses R
WNDTST
are available for this example. To run the test, scan the following bar
02
Executes
WNDTST
Corresponds to the pattern of the wide and
narrow bars in the first byte:
Corresponds to the pattern of the wide and
narrow bars in the first byte:
Clears the display. (
0 and clears the stack of any previous data.)
FIX
page
230, Display Control Flags, in the HP-41C Owner's
is loaded into program memory in the same way as other HP-41C functions.
with the HP-41C in PRGM mode, the instruction appears in
XEQ
WNDTST
*
T
WNDTST
each time you are ready to step from one byte value
R/S
,
WNDDTA
WNDDTX
as a counter, plus one storage register for each
00
.
1 1 0 1 0 1 0 0
0 0 0 0 1 0 0 1
sets the display to
WNDTST
will result in an automatic printout of the
WNDTST
,
,
WNDSUB
WNDLNK
XEQ
00
WNDTST
,
, or
WNDSCN
WNDTST
T
WNDTST result in
XEQ

Advertisement

loading