DeviceChannel.openDevice Method

Module: DeviceChannel

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 id3DevicesDeviceChannel_OpenDevice (
    ID3_DEVICES_DEVICE_CHANNEL hDeviceChannel,
    int deviceId)

Parameters

in Handle to the DeviceChannel object.

deviceId int
in The device id.

Returns

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