LineInverter
Top  Previous  Next

Description

Returns or sets the inverted state of the electrical input or output signal on the selected I/O line.


Syntax


[VB]
objActiveGige.LineInverter [= Value]


[C/C++]
HRESULT get_LineInverter( VARIANT_BOOL *pValue );
HRESULT put_LineInverter( VARIANT_BOOL Value );



Data Type
[VB]

Boolean

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the boolean value specifying the state of the line.  
Value [in]  
FALSE if the line signal is not inverted, TRUE if the line signal is inverted.  

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 an output of an inverted pulse coming from the Timer1 on the physical line 2 of the camera connector :

ActiveGige1.LineSelector="Line2"
ActiveGige1.LineMode="Output"
ActiveGige1.LineInverter="True"
ActiveGige1.LineSource="Timer1Ouput"
 

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