Specifications
BHT_SetNLedOn
Description
Turn on the indicator LED and/or synchronization LED.
Syntax
DWORD BHT_SetNLedOn (
DWORD dwLedDevice ,
DWORD dwLedNum )
Parameters
dwLedDevice
[in] LED device
dwLedDevice Specification
LED_BAR Indicator LED
dwLedNum
[in] LEDs to be turned on
Specification
dwLedNum
If dwLedDevice = LED_BAR
RED_LED Red LED
GREEN_LED Blue LED
RED_LED | GREEN_LED Red and blue LEDs
Return value
Error code Meaning
ERROR_SUCCESS Successful completion
ERROR_INVALID_PARAMETER Parameter error.
Notes:
- When the barcode device file is opened by the BHT_EnableBar function, the indicator LED cannot be
controlled. Note that if the LED has been specified to be kept off by the BHT_EnableBar, the LED can
be controlled.
- If the LED is turned on by this function in a user program, it will be kept on until this function turns off
the LED even if the user program is terminated.
108










