BarcodeReader.openDevice Method

Module: BarcodeReader

Definition

Controls opening the associated device.

open_device(self, device_id: int) -> None

Parameters

device_id int
in The device id.

Exceptions

An error has occurred during Devices Library execution.
void openDevice(int deviceId)

Parameters

deviceId int
in The device id.

Exceptions

An error has occurred during Devices Library execution.
public void OpenDevice(int deviceId)

Parameters

deviceId int
in The device id.

Exceptions

An error has occurred during Devices Library execution.
public void openDevice(int deviceId) throws DevicesException

Parameters

deviceId int
in The device id.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesBarcodeReader_OpenDevice (
    ID3_DEVICES_BARCODE_READER hBarcodeReader,
    int deviceId)

Parameters

in Handle to the BarcodeReader object.

deviceId int
in The device id.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.