267
• If
readmode
is omitted, the BHT defaults to the auto-off mode.
• In the momentary switching mode, alternate switching mode, or continuous
reading mode, after you read a low-quality bar code which needs more than
one second to be read, keeping applying the barcode reading window to that
bar code may re-read the same bar code in succession at intervals of one sec-
ond or more.
■
beepercontrol
and
LEDcontrol
The
OPEN
"BAR:"
statement can control the beeper and the indicator LED to
activate or deactivate each of them when a bar code is read successfully. The
BHT may also control the vibrator with
beepercontrol
.
• You should describe parameters of
readmode
,
beepercontrol
, and
LEDcontrol
without any space inbetween.
• You should describe
readmode
,
beepercontrol
, and
LEDcontrol
in
this order.
• Specifying
B
to
beepercontrol
allows you to choose beeping only, vibrat-
ing only, or beeping & vibrating by making setting on the adjustment screen of
the LCD contrast, beeper, vibrator, and touch screen or by setting the I/O ports
with the
OUT
statement.
To sound the beeper when a bar code is read successfully:
OPEN "BAR:B" AS #7 CODE "A"
To deactivate the indicator LED when a bar code is read successfully:
OPEN "BAR:L" AS #7 CODE "A"
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...