TriggerActivation
Top  Previous  Next

Description

Returns or sets the activation mode for the selected trigger configuration. Can be one of the following values:

"RisingEdge"  
   Trigger will assert on the rising edge of the source signal  
"FallingEdge"  
   Trigger will assert on the falling edge of the source signal  
"AnyEdge"  
   Trigger will assert on both edges of the source signal  
"LevelHigh"  
   Trigger will be valid as long as the level of the source signal is high  
"LevelLow"  
   Trigger will be valid as long as the level of the source signal is low  
 

Syntax


[VB]
objActiveUSB.TriggerActivation [= Value]


[C/C++]
HRESULT get_TriggerActivation( string *pValue );
HRESULT put_TriggerActivation( string Value );



Data Type
[VB]

String

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string specifying the trigger activation setting  
Value [in]  
The trigger activation mode to be set  

Return Values


S_OK  
Success  
E_NOINTERFACE  
The feature is not available for the selected camera  
E_INVALIDARG  
The value is not part of the enumerated set  
E_FAIL  
Failure to set the feature value  
 

Example


The following VB example sets a hardware trigger which will start the capture of each frame on the rising edge of the signal coming from the physical input Line1:

ActiveUSB1.TriggerSelector = "FrameStart"
ActiveUSB1.Trigger = 
True

ActiveUSB1.TriggerActivation = "RisingEdge"
ActiveUSB1.TriggerSource = "Line1"
ActiveUSB1.Acquire = 
True

 

Remarks


Before setting up this property, select a corresponding trigger configuration with TriggerSelector.

Depending on a camera model, other device-specific values may be available for this feature. The list of valid values can be retrieved using GetEnumList.

Note that the property is available only if the currently selected camera supports the TriggerActivation feature per GenICam standard.