User`s guide
Controlling Logging Parameters
Specifying a Delay Before Data Logging Begi n s
Specifying Multiple Triggers
When a trigger occurs, a video input object acquires the number of frames
specif ied by the
FramesPerTrigger property and logs the data to a memory
buffer,adiskfile,orboth.
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 d ata 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. Fo r exam ple, 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 vide oinp ut function.
set(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.
5-29