Chapter 14. Statement Reference
266
Auto-off mode (
F
)
OPEN "BAR:F" AS #7 CODE "A"
If you press the trigger switch
*1
, the illumination LED
*2
comes on. When you
release the switch or when the BHT completes bar code reading, then the illu-
mination LED will go off. Holding down the trigger switch
*1
lights the illumina-
tion LED for a maximum of 5 seconds.
While the illumination LED is on, the BHT can read a bar code until a bar code
is read successfully or the bar code devices file becomes closed.
If the illumination LED goes off after 5 seconds from when you press the trig-
ger switch
*1
, it is necessary to press the trigger switch
*1
again for reading a
bar code.
Once a bar code is read successfully, pressing the trigger switch
*1
cannot turn
on the illumination LED
*2
and the BHT cannot read the next bar code as long
as the entered bar code data is not read out from the barcode buffer.
Alternate switching mode (
A
)
OPEN "BAR:A" AS #7 CODE "A"
If you press the trigger switch
*1
, the illumination LED
*2
comes on. Even if you
release the switch, the illumination LED
*2
remains on until the bar code device
file becomes closed or you press that switch again. While the illumination
LED
*2
is on, the BHT can read a bar code.
Pressing the trigger switch
*1
toggles the illumination LED
*2
on and off.
Once a bar code is read successfully, pressing the trigger switch
*1
turns on
the illumination LED
*2
but the BHT cannot read the next bar code as long as
the entered bar code data is not read out from the barcode buffer.
Continuous reading mode (
C
)
OPEN "BAR:C" AS #7 CODE "A"
Upon execution of the above statement, the BHT turns on the illumination
LED
*2
and keeps it on until the bar code device file becomes closed, irrespec-
tive of the trigger switch
*1
.
While the illumination LED
*2
is on, the BHT can read a bar code.
Once a bar code is read successfully, the BHT cannot read the next bar code
as long as the entered bar code data is not read out from the barcode buffer.
*1
The trigger switch function is assigned to the magic keys.
*2
The illumination LED may not come on where the environment is bright enough for the BHT
to scan.
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...