LineFormat
Top  Previous  Next

Description

Returns or sets (if possible) the current electrical format of the selected I/O line. Can be one of the following values:

"NoConnect"  
   The line is not connected.  
"TriState"  
   The line is currently in the Tri-State mode (not driver).  
"TTL"  
   The line is currently accepting or sending TTL level signals.  
"LVDS"  
   The line is currently accepting or sending LVDS level signals.  
"RS422"  
   The line is currently accepting or sending RS422 level signals..  
"OptoCoupled",...  
   The line is opto-coupled.  


Syntax


[VB]
objActiveUSB.LineFormat [= Value]


[C/C++]
HRESULT get_LineFormat( string *pValue );
HRESULT put_LineFormat( string Value );



Data Type
[VB]

String

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string specifying the line format.  
Value [in]  
The line format 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 demonstrates the use of a combo box for line format selection:

Private Sub
 Form_Load()
Lst = ActiveUSB1.GetEnumList("LineFormat")
For
 i = 0 
To
 
UBound
(Lst)
Combo1.AddItem (Lst(i))
Next

Combo1.ListIndex = ActiveUSB1.LineFormat
End Sub

Private Sub
 Combo1_Click()
ActiveUSB1.LineFormat = Combo1.Text
End Sub
 

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