TriggerPolarity
Top  Previous  Next

Description

Returns or sets the polarity of the hardware trigger input.


Syntax


[VB]
objActiveDcam.TriggerPolarity [= Value]


[C/C++]
HRESULT get_TriggerPolarity ( bool *pTriggerPolarity );
HRESULT put_TriggerPolarity( bool TriggerPolarity );



Data Type
[VB]

Boolean


Parameters
[C/C++]

pTriggerPolarity [out,retval]  
Pointer to the Boolean that is TRUE if the high active trigger input, or FALSE otherwise  
TriggerPolarity [in]  
Set to TRUE to enable the high active trigger input, or set to FALSE for the low active input  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  
 

Example


This VB example sets the trigger input to the high active polarity:

ActiveDcam1.TriggerPolarity = 
True

MsgBox ActiveDcam1.TriggerPolarity
 

Remarks


When the trigger input is set to the low active polarity, the acquisition of the frame will occur upon a drop of the voltage on the trigger input. For the high active input, the acquisition will occur upon a raise of the voltage.