MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Uživatelská příručka Strana 482

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 574
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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);
Zobrazit stránku 481
1 2 ... 477 478 479 480 481 482 483 484 485 486 487 ... 573 574

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

Žádné komentáře