Camera.waitForCapture Method¶
Module: Camera
Definition¶
Waits for new capture data within a specified timeout period.
wait_for_capture(self, timeout: int, do_event: bool) -> bool
Parameters
timeoutintin Time to wait for new data before timing out.do_eventboolin Call doEvent() in the wait loop.
Returns
boolOutputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.
bool waitForCapture(int timeout, bool doEvent)
Parameters
timeoutintin Time to wait for new data before timing out.doEventboolin Call doEvent() in the wait loop.
Returns
boolOutputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.
public bool WaitForCapture(int timeout, bool doEvent)
Parameters
timeoutintin Time to wait for new data before timing out.doEventboolin Call doEvent() in the wait loop.
Returns
boolOutputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.
public boolean waitForCapture(int timeout, boolean doEvent) throws DevicesException
Parameters
timeoutintin Time to wait for new data before timing out.doEventbooleanin Call doEvent() in the wait loop.
Returns
booleanOutputs 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 doEvent,
bool * available)
Parameters
hCameraID3_DEVICES_CAMERAin Handle to the Camera object.timeoutintin Time to wait for new data before timing out.doEventboolin Call doEvent() in the wait loop.availablebool *out Outputs whether new capture data is available.
Returns