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

  • 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 126
Specifying the Trigger Type
To execute anothe r immediate trigger, you must restart the object. Note,
however, that this deletes the data acquired by the first trigger. To execute
multip le immed iate triggers, sp ecify a val ue for th e
TriggerRepeat
property. See “Specifying Multiple Triggers” on page 5-29 for more
information.
4 Clean up Always rem ove image acquisition objects from mem ory, and
the variables that re ference them, when you n o longer need them.
delete(vid)
clear vid
Example: Using a Manual Trigger
To use a manual trigger, create a video input object and set the value of the
TriggerType property to 'manual'. A v ideo input object executes a manual
trigger after you issue the
trigger function. The following figure illustrates a
manual trigger.
Manual T
rigger
The foll
owing example illustrates how to use a manual trigger:
1 Create a
n image acquisition o bject This exa mple cre ates a video
input ob
ject for a webcam image acquisition device. To run this example on
your sys
tem, use the
imaqhwinfo function to get the object constructor for
5-13
Zobrazit stránku 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 407 408

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

Žádné komentáře