ZebraScanEngines_ScanBarcode_WithTimeout
Scans a barcode using a Zebra scanner.
Syntax
C++
Python
def ZebraScanEngines_ScanBarcode_WithTimeout( state: ZebraScanEngines_State, inTimeout: int, /, *, inDeviceID: int | None = None ) -> ( outResult: bool, outBarcodeType: ZebraScanEnginesBarcodeDataTypes | None, outBarcodeDecoded: str | None, outRawData: ByteBuffer | None )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | ZebraScanEngines_State | |||
![]() |
inTimeout | int | 1 - ![]() |
Maximum time to wait for a barcode in milliseconds | |
![]() |
inDeviceID | int | None | 1 - ![]() |
None | Device identifying number |
![]() |
outBarcodeType | ZebraScanEnginesBarcodeDataTypes | None | Barcode type | ||
![]() |
outBarcodeDecoded | str | None | Barcode data | ||
![]() |
outRawData | ByteBuffer | None | Raw barcode data |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.




