Camera.openDevice Method

Module: Camera

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 id3DevicesCamera_OpenDevice (
    ID3_DEVICES_CAMERA hCamera,
    int deviceId)

Parameters

in Handle to the Camera object.

deviceId int
in The device id.

Returns

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