Programming; Code Mark; Multiple Code Reading; Read Mode Of The Trigger Switch - Denso BHT-700-CE Reference Manual

Barcode handy terminal
Table of Contents

Advertisement

13.2. Programming

13.2.1. Code Mark

The BHT_GetBarType function allows you to check the code mark (denoting the code type) and the
length of the inputted barcode data.

13.2.2. Multiple Code Reading

You may activate the multiple code reading feature which reads more than one code type while
automatically identifying them. To do it, you should designate desired code types in the read code
parameter of the BHT_EnableBar function.

13.2.3. Read Mode of the Trigger Switch

The trigger switch function is assigned to the [SCAN] key and the magic key M3 by default. You may
assign the trigger switch function to other keys by using the BHT_SysSettingDW function.
You may select the read mode of the trigger switch by using the BHT_EnableBar function as listed below.
Read Mode
Auto-off Mode
Momentary Switching Mode BHT_EnableBar (TEXT ("M...
Alternate Switching Mode
Continuous Reading Mode
To check whether the trigger switch is pressed or not, use the BHT_WaitEvent function as shown below.
BHT_WaitEvent (1, BHT_EVT_MASK_TRGDOWN, 0, &dwSignaledEvent);
if ( (dwSignaledEvent & BHT_EVT_MASK_TRGDOWN) != 0 ) {
printf("Trigger switch pressed ");
}

13.2.4. Generating a Check Digit of Barcode Data

Specifying a check digit in the BHT_EnableBar function makes the Interpreter automatically check
barcodes. If necessary, you may use the BHT_GetBarChkdgt function for generating a check digit of
barcode data.
BHT_EnableBar Function
BHT_EnableBar (TEXT ("F...
BHT_EnableBar (TEXT ("A...
BHT_EnableBar (TEXT ("C...
42

Advertisement

Table of Contents
loading

Table of Contents