User`s guide
5 Acqu iring Image Data
Contents of Memor y Buffer Before and After Removing Frames
6 Clean up — Always rem ove image acquisition objects from mem ory, and
the variables that re ference them, when you n o longer need them.
delete(vid)
clear vid
Delaying Data Logging A fter a Trigger
In some image acquisition setups, you might not want to lo g the first few
frames returned from your camera or other imaging device. For example,
some cameras require a short warmup time when activated. The quality of
the first few images returned by these cameras might be too dark to be u seful
foryourapplication.
To account for this characteristic of your setup, you can specify that the
toolbox skip a specified number of frames after a trigg er executes. You use
the
TriggerFrameDelay property to specify the number of frames y ou want to
skip before logging begins.
Fo r examp le, t o specify a delay of five f r ames before data logging begins after a
trigger executes, you would set the value of the
TriggerFrameDelay property
to 5. The number of frames captured is d efined by the
FramesPerTrigger
property and is unaffected by the de lay.
set(vid,'TriggerFrameDelay',5);
This figure illustrates this scenario.
5-28