User manual

24
4.3 OBRSetLED
This function sets up notification mode for the completion of scanning bar code using the integrated
LED (Indicator #1 or #2, model dependant).
Calling Sequences
[C++]
int OBRSetLED(
BYTE byMode
)
[Visual Basic]
Public Shared Function OBRSetLED( _
ByVal byMode As Byte _
) As Int32
[C#]
public static Int32 OBRSetLED(
Byte byMode
);
Parameters
byMode
This parameter is for specifying an LED notification mode selecting one of the values listed
below.
OBR_LEDOFF : No LED control
OBR_LEDON : LED control
OBR_LEDEROF : LED control (no control if error in scanning.)
Return Values
OBR_OK : Normal end
OBR_PRM : Parameter error
OBR_PON : Open already
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error