MATLAB IMAGE ACQUISITION TOOLBOX 3 Guide de l'utilisateur Page 129

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 408
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 128
Specifying the Trigger Type
0
Verify that the object has still not acquired any frames.
get(vid,'FramesAcquired')
ans =
0
4 Execute the manual trigger —Callthetrigger function to execute
the m anual trigger.
trigger(vid)
The object initiates the acquisition of five frame s. Check the
FramesAcquired property again to verify that five frames have been
acquired.
get(vid,'FramesAcquired')
ans =
5
After it acquires the specified number of frames, the video input object
stops running.
isrunning(vid)
ans =
0
To execute another manual trigger, you must first restart the v ideo input
object. Note that this deletes the frames acquired by the first trigger. To
execute multiple manual triggers, specify a value for the
TriggerRepeat
property. See “Specifying Multiple Triggers” on page 5-29 for more
information.
5 Clean up A lways rem ove image acquisition objects from mem ory, and
the variables that re ference them, when you n o longer need them.
delete(vid)
clear vid
5-15
Vue de la page 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 407 408

Commentaires sur ces manuels

Pas de commentaire