UserOutputValue
Top  Previous  Next

Description

Returns or sets the value of the selected bit of the User Output register.


Syntax


[VB]
objActiveGeni.UserOutputValue [= Value]


[C/C++]
HRESULT get_UserOutputValue( VARIANT_BOOL *pValue );
HRESULT put_UserOutputValue( VARIANT_BOOL Value );



Data Type
[VB]

Boolean

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the boolean value of the selected bit in the User Output register.  
Value [in]  
TRUE sets bit to High, FALSE sets bit to Low  

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 setup of the bits in the User Output register:

ActiveGeni1.UserOutputSelector="UserOutput0"
ActiveGeni1.UserOutputValue=TRUE
ActiveGeni1.UserOutputSelector="UserOutput1"
ActiveGeni1.UserOutputValue=FALSE


Remarks


This property works in combination with UserOutputSelector. 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 UserOutputValue feature per GenICam standard.