MATLAB IMAGE ACQUISITION TOOLBOX 3 Uživatelská příručka Strana 312

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 408
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 407 408

Komentáře k této Příručce

Žádné komentáře