| Image Acquisition Toolbox | ![]() |
Provide information on available trigger configurations
Syntax
Description
triggerinfo(obj)
displays all available trigger configurations for video input object obj. obj can only be a 1-by-1 video input object.
triggerinfo(obj,type)
displays the available trigger configurations for the specified TriggerType, type, for video input object obj.
config = triggerinfo(...)
returns config, an array of MATLAB structures, containing all the valid trigger configurations for the video input object obj. Each structure in the array contains these fields:
| Field |
Description |
TriggerType |
Name of the trigger type |
TriggerCondition |
Condition that must be met before executing a trigger |
TriggerSource |
Hardware source used for triggering |
You can pass one of the structures in config to the triggerconfig function to specify the trigger configuration.
Example
vid = videoinput('winvideo'); config = triggerinfo(vid) config = 1x2 struct array with fields: TriggerType TriggerCondition TriggerSource config(1) ans = TriggerType: 'immediate' TriggerCondition: 'none' TriggerSource: 'none'
See Also
| triggerconfig | videoinput | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |