Camera.waitForCapture Method

Module: Camera

Definition

Waits for new capture data within a specified timeout period.

wait_for_capture(self, timeout: int) -> bool

Parameters

timeout int
in Time to wait for new data before timing out.

Returns

bool
Outputs whether new capture data is available.

Exceptions

An error has occurred during Devices Library execution.
bool waitForCapture(int timeout)

Parameters

timeout int
in Time to wait for new data before timing out.

Returns

bool
Outputs whether new capture data is available.

Exceptions

An error has occurred during Devices Library execution.
public bool WaitForCapture(int timeout)

Parameters

timeout int
in Time to wait for new data before timing out.

Returns

bool
Outputs whether new capture data is available.

Exceptions

An error has occurred during Devices Library execution.
public boolean waitForCapture(int timeout) throws DevicesException

Parameters

timeout int
in Time to wait for new data before timing out.

Returns

boolean
Outputs whether new capture data is available.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesCamera_WaitForCapture (
    ID3_DEVICES_CAMERA hCamera,
    int timeout,
    bool * available)

Parameters

in Handle to the Camera object.

timeout int
in Time to wait for new data before timing out.

available bool *
out Outputs whether new capture data is available.

Returns

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