Download Image Acquisition Toolbox
Transcript
wait
An image acquisition object stops running or logging when one of the following
conditions is met:
• The stop function is issued.
• The requested number of frames is acquired. This occurs when
FramesAcquired = FramesPerTrigger * (TriggerRepeat + 1)
where FramesAcquired, FramesPerTrigger, and TriggerRepeat are
properties of the video input object.
• A run-time error occurs.
• The object's Timeout value is reached.
Example
Create a video input object.
vid = videoinput('winvideo');
Specify an acquisition that should take several seconds. The example sets the
FramesPerTrigger property to 300.
vid.FramesPerTrigger = 300;
Start the object. Because it is configured with an immediate trigger (the
default), acquisition begins when the object is started. The example calls the
wait function after calling the start function. Notice how wait blocks the
MATLAB command line until the acquisition is complete.
start(vid), wait(vid);
See Also
imaqhelp, start, stop, trigger, propinfo
9-63
Related documents
MATLAB IMAGE ACQUISITION TOOLBOX 3 User`s guide
Image Acquisition Toolbox User's Guide
MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES User`s guide
trealu_a2014_lo _manipulador_codi_font
fire alert system using shape and color analysis through image
capítulo 1 - DSpace en ESPOL - Escuela Superior Politécnica del
Dokument_39. - Publication Server of HTWG Konstanz
as a PDF
Using the Isis2 Library to Build Scalable High
Data Acquisition Toolbox User`s Guide