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

  • 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 162
Specifying the Trigger Type
6-15
Hardware Trigger
The following example illustrates how to use a hardware 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. The device must support hardware
triggers.
vid = videoinput('matrox',1);
2
Determine valid trigger property configurations — Use the triggerinfo
function to determine if your image acquisition device supports hardware
triggers, and if it does, to find out valid configurations of the TriggerSource and
TriggerCondition properties. See “Determining Valid Configurations” on page 6-6
for more information.
In this example, triggerinfo returns the following valid trigger configurations.
triggerinfo(vid)
Valid Trigger Configurations:
TriggerType: TriggerCondition: TriggerSource:
'immediate' 'none' 'none'
'manual' 'none' 'none'
Vue de la page 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 573 574

Commentaires sur ces manuels

Pas de commentaire