Camera.waitForCapture Method¶
Module: Camera
Definition¶
Waits for new capture data within a specified timeout period.
bool waitForCapture(int timeout, bool doEvent)
Parameters
timeout intin Time to wait for new data before timing out.
doEvent boolin Call doEvent() in the wait loop.
Returns
boolOutputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.