TriggerSelector
Top  Previous  Next

Description

Returns or sets the configuration of a trigger signal. Can be one of the following values:

"AcquisitionStart"  
   Trigger will starts the acquisition of one or several frames according to AcquisitionMode  
"AcquisitionEnd"  
   Trigger will stop the acquisition of one or several frames according to AcquisitionMode  
"AcquisitionActive"  
   Trigger will control the duration of the acquisition of one or several frames  
"FrameStart"  
   Trigger will start the acquisition of a frame  
"FrameEnd"  
   Trigger will end the acquisition of a frame (used in line scan cameras)  
"FrameActive"  
   Trigger will control the duration of a frame (used in line scan cameras)  
"LineStart"  
   Trigger will start the capture of one line of a frame (used in line scan cameras)  
"ExposureStart"  
   Trigger will start the exposure of a frame (or line )  
"ExposureEnd"  
   Trigger will end the exposure of a frame (or line )  
"ExposureActive"  
   Trigger will control the duration of the exposure of a frame (or line )  
 

Syntax


[VB]
objActiveGeni.TriggerSelector [= Value]


[C/C++]
HRESULT get_TriggerSelector( string *pValue );
HRESULT put_TriggerSelector( string Value );



Data Type
[VB]

String

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string specifying the trigger selector setting  
Value [in]  
The trigger selection 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:

ActiveGeni1.TriggerSelector = "FrameStart"
ActiveGeni1.Trigger = 
True

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

 

Remarks


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 TriggerSelector feature per GenICam standard.