Specifications

Chapter 14. Statement Reference
276
If the BHT reads a bar code successfully, the indicator LED for reading confirma-
tion will illuminate in green. The BHT-5000/BHT-6000/BHT-6500/BHT-7000/BHT-
7500 may activate or deactivate the indicator LED. The BHT-6500/BHT-7000/
BHT-7500 may activate or deactivate the beeper and vibrator function.
A bar code read will be decoded and then transferred to the barcode buffer. In the
BHT-3000, if the decoded data does not satisfy the reading conditions*, then the
reading confirmation LED will illuminate in red and no data will be transferred to
the barcode buffer.
(*The reading conditions include the number of digits, a check digit, the type of the
leading character, and start/stop characters.)
Only a single bar code device file can be opened at a time. The total number of
files which can be opened at a time is 16 including data files and communications
device files.
The BHT-6000/BHT-6500/BHT-7000/BHT-7500 cannot open the bar code device
file and the optical interface of the communications device file concurrently. If you
attempt to open them concurrently, a run-time error will occur. The BHT can open
the bar code device file and the direct-connect interface concurrently.
The name of the bar code device file,
BAR, may be in lowercase.
OPEN "bar:" AS #10 CODE "A"
Alphabet letters to be used for readmode, beepercontrol, LEDcontrol
and readcode may be in lowercase.
Up to eight
readcodes can be specified.
If you specify more than one condition to a same read code, all of them are valid.
The sample below makes the BHT read both of the 6- and 10-digit ITF codes.
OPEN "BAR:" AS #1 CODE "I:6","I:10"
OPEN "BAR:" AS #1 CODE "I:6,10"
(For the BHT-6500/BHT-
7000/BHT-7500)
readmode
The BHT supports four read modes--the momentary switching mode, the auto-
off mode, the alternate switching mode, and the continuous reading mode,
which can be selected by specifying M, F, A, and C to readmode, respectively.
Momentary switching mode (
M)
OPEN "BAR:M" AS #7 CODE "A"
Only while you hold down the trigger switch
*1
, the illumination LED (laser
source
*2
) lights and the BHT can read a bar code.
In the BHT-3000/BHT-4000/BHT-5000/BHT-6000, even if the bar code device
file is closed, the illumination LED does not go off so long as the trigger
switch
*1
is held down.
In the BHT-6500/BHT-7000/BHT-7500, if the bar code device file is closed
when the trigger switch
*1
is held down, the illumination LED (laser source
*2
)
will go off.
Until the entered bar code data is read out from the barcode buffer, pressing
the trigger switch
*1
cannot turn on the illumination LED (laser source
*2
) so that
the BHT cannot read the next bar code.
*1
In the BHT-6000/BHT-6500/BHT-7000/BHT-7500, the trigger switch function is assigned to the
magic keys.
*2
The BHT-6500/BHT-7500 uses a laser source.