MATLAB IMAGE ACQUISITION TOOLBOX 3 Guida Utente Pagina 125

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 124
Specifying the Trigger Type
Example: Using a
n Immediate Trigger
To use an immedia
te trigger, simply create a video input o bj ect. Imm ed iate
triggering is th
e default trigger type for all video input objects. With an
immediate trigg
er, the object e xe cute s the trigger immediately after you start
the object runn
ing with the
start command. The following figure illustrates
an immediate tr
igger.
Immediate Trigger
The following exam ple illustrates how to use an immediate trigger:
1 Create an im age acquisition object Th i s example creates a video
input o bj ect for a M atrox ima ge acquisition device. To run th is example on
your system, use the
imaqhwinfo function to get the object constructor for
your image acquisition device and substitute that syntax for the following
code.
vid = videoinput('mat rox',1);
5-11
Vedere la pagina 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 407 408

Commenti su questo manuale

Nessun commento