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

  • 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 481
17 Functions — Alphabetical List
17-90
names of config are TriggerType, TriggerCondition, and TriggerSource. Each
field contains the current value of the object's property.
triggerconfig(obj,config) configures the TriggerType, TriggerCondition, and
TriggerSource property values for video input object obj using config, a MATLAB
structure with field names TriggerType, TriggerCondition, and TriggerSource,
each containing the desired property value.
Examples
Example 1
Construct a video input object.
vid = videoinput('winvideo', 1);
Configure trigger properties for the object.
triggerconfig(vid, 'manual')
Trigger the acquisition.
start(vid)
trigger(vid)
Remove video input object from memory.
delete(vid);
Example 2
This example uses a structure returned from triggerinfo to configure trigger
parameters.
Create a video input object.
vid = videoinput('winvideo', 1);
Use triggerinfo to get all valid configurations for the trigger properties for the object.
config = triggerinfo(vid);
Vue de la page 481
1 2 ... 477 478 479 480 481 482 483 484 485 486 487 ... 573 574

Commentaires sur ces manuels

Pas de commentaire