User`s guide
Waiting for an Acquisition to Finish
6-35
Using wait to Block the MATLAB Command Line
Blocking the Command Line Until an Acquisition Completes
The following example illustrates how to use the wait function to put a 60 second time
limit on the execution of a hardware trigger. If the hardware trigger does not execute
within the time limit, wait returns control to the MATLAB command line.
1
Create an image acquisition object — This example creates a video input object
for a Matrox image acquisition device. To run this example on your system, use the