User manual
54
4.29 OBRSetCheckCounter
This function sets up the number of validations to carry out for decoded data.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetCheckCounter functi
on.
Calling Sequences
[C++]
int OBRSetCheckCounter(
int nCounter
)
[Visual Basic]
Public Shared Function OBRSetCheckCounter( _
ByVal nCounter As Int32 _
) As Int32
[C#]
public static Int32 OBRSetCheckCounter(
Int32 nCounter
);
Parameters
nCounter
For Laser Scanner;
This parameter is for specifying the number of times in the range of 1 to 9 to carry out
validation. The default is 3.
For Linear Imager;
This parameter is for specifying the number of times in the range of 1 to 9 to carry out
validation on decoded data. The default setting which is "0" will set the validation to
automatic.
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