MATLAB IMAGE ACQUISITION TOOLBOX 3 Guida Utente Pagina 143

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 142
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
Vedere la pagina 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 407 408

Commenti su questo manuale

Nessun commento