User`s guide
6 Acquiring Image Data
6-32
Specifying a Delay Before Data Logging Begins
Specifying Multiple Triggers
When a trigger occurs, a video input object acquires the number of frames specified by
the FramesPerTrigger property and logs the data to a memory buffer, a disk file, or
both.
When it acquires the specified number of frames, the video input object stops running.
To execute another trigger, you must restart the video input object. Restarting an object
causes it to delete all the data it has stored in the memory buffer from the previous
trigger. To execute multiple triggers, retaining the data from each trigger, you must
specify a value for the TriggerRepeat property.
Note that the TriggerRepeat property specifies the number of additional times a
trigger executes. For example, to execute a trigger three times, you would set the value
of the TriggerRepeat property to 2. In the following, vid is a video input object created
with the videoinput function.
vid.TriggerRepeat = 2;
This figure illustrates an acquisition with three executions of a manual trigger. In the
figure, the FramesPerTrigger property is set to 3.