Controlling The Indicator Led And Beeper/Vibrator As A Confirmation Of Successful Reading; Reading Split Qr Codes (Only For Bht-700Q) - Denso BHT-700-CE Reference Manual

Barcode handy terminal
Table of Contents

Advertisement

13.2.5. Controlling the Indicator LED and Beeper/Vibrator as a Confirmation of Successful Reading

By using the BHT_EnableBar function, you can control:
- whether the indicator LED should light in blue or not (Default: Light in blue)
- whether the beeper should beep or not (Default: No beep)
when a barcode is read successfully. For detailed specifications, refer to the description for the
BHT_EnableBar function.
It is also possible to operate the vibrator as a confirmation of successful reading instead, by using the
BHT_SetSysSettingDW (BHT_BEEP_VIB_SELECT, VIB_SELECT) function.
(1) Controlling the indicator LED
If you have activated the indicator LED (blue) in the BHT_EnableBar function, an application cannot
control the LED.
If you have deactivated the indicator LED (blue) in the BHT_EnableBar function, an application can
control the LED even when the barcode device file is opened.
This way, you can control the indicator LED, enabling that:
a user program can check the value of a scanned barcode and turn on the indicator LED in blue
when the barcode has been read successfully.
a user program can turn on the indicator LED in red the moment the barcode has been read.
(2) Controlling the beeper and vibrator
If you have activated the beeper in the BHT_EnableBar function, the BHT will beep when it reads a
barcode successfully.
You may select beeping only, vibrating only, or beeping & vibrating by setting on the system menu
(BhtShell.exe) or by setting the output port in the BHT_SetSysSettingDW(BHT_BEEP_VIB_SELECT,...).
This feature is used to sound the beeper or operate the vibrator the moment the BHT reads a barcode
successfully.

13.2.6. Reading Split QR Codes (Only for BHT-700Q)

The QR Code symbology can split data into a maximum of 16 blocks and encodes each of them into a
split code image. When those split code images are scanned, the splitter system restores them into the
oritinal data string in any of the following three modes--edit mode, batch edit mode, and non-edit mode.
These modes can be specified by BHT_EnableBar as follows:
Split code scanning mode
Edit mode
Batch edit mode
Non-edit mode
In edit mode, after completion of reading all split code images, the splitter system stores the read data
into the code buffer. In batch edit mode, when all split code images that fall within the scanning range are
read, the splitter system stores the read data into the code buffer. In non-edit mode, each time a single
split code image is read, the splitter system stores the read data into the code buffer.
The code type which is acquired by the BHT_GetBarType function and the BHT_GetBarInfo function is
"Q" in edit mode and batch edit mode or "S" in non-edit mode.
BHT_EnableBar function
BHT_EnableBar(..., TEXT("Q : E"))
BHT_EnableBar(..., TEXT("Q : B"))
BHT_EnableBar(..., TEXT("Q : C"))
43

Advertisement

Table of Contents
loading

Table of Contents