User`s guide
triggerinfo
Purpose Provide i nformation abo ut available trigger configurations
Syntax triggerinfo(obj)
triggerinfo(obj,type)
config = triggerinfo (...)
Description triggerinfo(obj) displays all ava il able trigger configura tions f or the
video input object
obj. obj can only be a 1-by-1 video input object.
triggerinfo(obj,type) display s the available trigger configurations
for the specified
TriggerType, type , for the video input object obj.To
get a list of valid
type v alues for a particular image acquisition object,
use
triggerinfo(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
atrigger
TriggerSource
Hardware source used for triggering
You can pass one of the structures in config to the triggerconfig
function to specify the trigger configu ration.
Examples This example illustrates how to use the triggerinfo function to
retrieve valid confi gu ra tions of t h e
TriggerType, Trigge rSource,and
TriggerCondition properties.
1 Create a video input object.
vid = videoinput('win video');
12-60