LineSelector
Top  Previous  Next

Description

Returns or sets the physical line (or pin) of the external device connector to configure. The values are strings specifying the index of the physical line and associated I/O control block, such as "Line0", "Line1", "Line2".
 

Syntax


[VB]
objActiveGige.LineSelector [= Value]


[C/C++]
HRESULT get_LineSelector( string *pValue );
HRESULT put_LineSelector( string Value );



Data Type
[VB]

String

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string specifying the physical line to configure.  
Value [in]  
The line 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 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.LineFormat="TTL"
ActiveGige1.LineInverter="True"
ActiveGige1.LineSource="Timer1Ouput"


Remarks

When a specific line is selected, all the other line features (LineMode, LineFormat, LineSource, LineInverter) will be applied to its associated I/O control block and will condition the resulting input or output signal.

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