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

  • 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 311
triggerconfig
input object obj using co nfi g, a MATLAB structure with field names
TriggerType, TriggerCondit ion,andTrigge rSource,eachcontaining
the d esired proper ty value.
Examples Example 1
Construct a video input object.
vid = videoinput('win video', 1);
Configure trigger properties for the object.
triggerconfig(vid, 'manual')
Trigger the a cquisition .
start(obj)
trigger(obj)
Remove video input object from memory.
delete(vid);
Example 2
This example uses a s tructure returned from triggerinfo to configure
trigger parameters.
Create a video input object.
vid = videoinput('win video', 1);
Use triggerinf o to get a ll valid configurations for the trigger
properties for the object.
config = triggerinfo( vid);
Pass one of the configurations to the triggerconfig function.
triggerconfig(vid,config(2));
Remove video input object from memory.
12-58
Vue de la page 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 407 408

Commentaires sur ces manuels

Pas de commentaire