User`s guide
Controlling Logging Parameters
6-31
Contents of Memory Buffer Before and After Removing Frames
6
Clean up — Always remove image acquisition objects from memory, and the
variables that reference them, when you no longer need them.
delete(vid)
clear vid
Delaying Data Logging After a Trigger
In some image acquisition setups, you might not want to log 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 useful for your application.
To account for this characteristic of your setup, you can specify that the toolbox skip a
specified number of frames after a trigger executes. You use the TriggerFrameDelay
property to specify the number of frames you want to skip before logging begins.
For example, to specify a delay of five frames 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 defined by the FramesPerTrigger property and is unaffected by
the delay.
vid.TriggerFrameDelay = 5;
This figure illustrates this scenario.