242
____________________________________________________________________
File I/O statement
OPEN "BAR: "
Opens the bar code device file. This statement also activates or deactivates the indicator LED
and the beeper (vibrator) individually.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
OPEN "BAR:[readmode][beepercontrol][LEDcontrol]" AS [#]filenumber
CODE readcode
[,readcode...]
Parameter:
Parameter:Parameter:
Parameter:
readmode
A string expression.
beepercontrol
A string expression. Specification of B activates the beeper (vibrator).
(Default: Deactivated)
LEDcontrol
A string expression. Specification of L deactivates the green indicator LED.
(Default: Activated)
filenumber
A numeric expression which returns a value from 1 to 16.
readcode
A string expression.
Description:
Description:Description:
Description:
OPEN "BAR:" opens the bar code device file and associates it with filenumber for
allowing data entry from the bar code device (BHT) according to filenumber.
If the bar code device file has been opened with the OPEN "BAR:" statement, pressing the
trigger switch
*1
turns on the illumination LED
*2
and makes the BHT ready to scan a bar
code.
• If the BHT reads a bar code successfully, the indicator LED for reading confirmation will
illuminate in green. Specification to LEDcontrol may activate or deactivate the
indicator LED. Specification to beepercontrol may activate or deactivate the beeper
and vibrator function.
• A bar code read will be decoded and then transferred to 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.
Comentarios a estos manuales