User`s guide
triggerconfig
17-89
triggerconfig
Configure video input object trigger properties
Syntax
triggerconfig(obj,type)
triggerconfig(obj,type,condition)
triggerconfig(obj,type,condition,source)
config = triggerconfig(obj)
triggerconfig(obj,config)
Description
triggerconfig(obj,type) configures the value of the TriggerType property of the
video input object obj to the value specified by the text string type. For a list of valid
TriggerType values, use triggerinfo(obj). type must specify a unique trigger
configuration.
obj can be either a single video input object or an array of video input objects. If an
error occurs, any video input objects in the array that have already been configured are
returned to their original configurations.
triggerconfig(obj,type,condition) configures the values of the TriggerType
and TriggerCondition properties of the video input object obj to the values
specified by the text strings type and condition. For a list of valid TriggerType
and TriggerCondition values, use triggerinfo(obj). type and condition must
specify a unique trigger configuration.
triggerconfig(obj,type,condition,source) configures the values of the
TriggerType, TriggerCondition, and TriggerSource properties of the video
input object obj to the values specified by the text strings type, condition, and
source, respectively. For a list of valid TriggerType, TriggerCondition, and
TriggerSource values, use triggerinfo(obj).
config = triggerconfig(obj) returns a MATLAB structure config containing the
object's current trigger configuration. obj must be a 1-by-1 video input object. The field