MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guide de l'utilisateur Page 158

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 574
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 157
6 Acquiring Image Data
6-10
Immediate Trigger
The following example illustrates how to use an immediate trigger:
1
Create an image acquisition object — This example creates a video input object
for a Matrox image acquisition device. To run this 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('matrox',1);
Verify that the object has not acquired any frames.
vid.FramesAcquired
ans =
0
2
Configure properties — To use an immediate trigger, you do not have to configure
the TriggerType property because 'immediate' is the default trigger type. You
can verify this by using the triggerconfig function to view the current trigger
configuration or by viewing the video input object's properties.
triggerconfig(vid)
ans =
Vue de la page 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 573 574

Commentaires sur ces manuels

Pas de commentaire