Specifications

265
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 cannot open the bar code device file and the IrDA interface of the com-
munications 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 for a same bar code type with read-
code
(s) ("I" in the example below), all of those conditions are valid. The sam-
ple 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"
BHT-100Q For a same 2D code type, you are allowed to specify conditions only
once with readcode. More than one specification will result in a run-time error.
BHT-100Q
max.code.version for QR Codes and max.no.digits for
bar codes will be subject to the restriction of the BHT's scanning view.
If you specify more than one
readcode including "I" (ITF), then ITF codes less
than 4 digits cannot be read unless numbers of digits are specified.
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
*2
lights and
the BHT can read a bar code.
If the bar code device file becomes closed when the trigger switch
*1
is held
down, the illumination LED 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
*2
so that the BHT can-
not read the next bar code.
*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.