UserOutputSelector
Top  Previous  Next

Description

Selects the bit of the User Output register to be set by UserOutputValue. Can be one of the following values:

"UserOutput0"  
   Selects Bit 0 of the User Output register.  
"UserOutput1"  
   Selects Bit 1 of the User Output register.  
"UserOutput2"  
   Selects Bit 2 of the User Output register.  
      ..................................
 

Syntax


[VB]
objActiveGeni.UserOutputSelector [= Value]


[C/C++]
HRESULT get_UserOutputSelector( string *pValue );
HRESULT put_UserOutputSelector( string Value );



Data Type
[VB]

String

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string specifying the bit in the User Output register.  
Value [in]  
The bit to be set  

Return Values


S_OK  
Success  
E_NOINTERFACE  
The feature is not available for the selected camera  
E_FAIL  
Failure to set the feature value  
 
 
Example

The following VB example demonstrates the use of a combo box for line selection:

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

Combo1.ListIndex = ActiveGeni1.UserOutputSelector
End Sub

Private Sub
 Combo1_Click()
ActiveGeni1.UserOutputSelector = Combo1.Text
End Sub
 

Remarks


This property works in combination with UserOutputValue. Using a corresponding LineSource, the bits from the User Output register can be directed to a physical output line.

Note that the property is available only if the currently selected camera supports the UserOutputSelector feature per GenICam standard.