BarcodeReader.waitForCapture Method¶
Module: BarcodeReader
Definition¶
Blocks until new capture data is available or a timeout occurs.
bool waitForCapture(int timeout, bool doEvent)
Parameters
timeout intin The maximum time to wait for new data.
doEvent boolin Call doEvent() in the wait loop.
Returns
boolOutputs whether new capture data is available following the wait.
Exceptions
An error has occurred during Devices Library execution.