LineSource
Top  Previous  Next

Description

Returns or sets the source of the signal to output on the selected I/O line when the line mode is Output. Can be one of the following values:

"Off"  
   Line output is disabled (Tri-State).  
"AcquisitionTriggerWait"  
   Camera is currently waiting for a trigger to capture one frame or series of frames.  
"AcquisitionActive"  
   Camera is currently doing an acquisition of one frame or series of frames.  
"FrameTriggerWait"  
   Camera is currently waiting for a frame trigger.  
"FrameActive"  
   Camera is currently doing a capture of a frame.  
"Timer1Active", "Timer2Active",...  
   The chosen timer is in the active state.  
"Counter1Active","Counter2Active",...  
   The chosen counter is in the active state.  
"UserOutput1Active","UserOutput2Active",...  
   The chosen user output bit state as defined by its current UserOutputValue.  


Syntax


[VB]
objActiveGige.LineSource [= Value]


[C/C++]
HRESULT get_LineSource( string *pValue );
HRESULT put_LineSource( string Value );



Data Type
[VB]

String

Parameters
[C/C++]

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

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

Combo1.ListIndex = ActiveGige1.LineSource
End Sub

Private Sub
 Combo1_Click()
ActiveGige1.LineSource = 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 LineSource feature per GenICam standard.