User manual

56
4.31 OBRSetScanningTimeout
This function sets up a time period for timeout used for scanning bar code.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetScanningTimeout func
tion.
Calling Sequences
[C++]
int OBRSetScanningTimeout(
int nTimeout
)
[Visual Basic]
Public Shared Function OBRSetScanningTimeout( _
ByVal nTimeout As Int32 _
) As Int32
[C#]
public static Int32 OBRSetScanningTimeout(
Int32 nTimeout
);
Parameters
nTimeout
This parameter is for specifying a time period in the range of 1 to 9 seconds for timeout.
The default is 3 seconds.
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