MATLAB IMAGE ACQUISITION TOOLBOX 3 Betriebsanweisung Seite 312

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 408
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 407 408

Kommentare zu diesen Handbüchern

Keine Kommentare