UserSetSelector
Top  Previous  Next

Description

Returns or assigns the user set to load, save or configure. User sets allow for loading or saving factory or user-defined settings. Loading the factory default user set guarantees a state where a continuous acquisition can be started using only the mandatory features. Can be one of the following values:

"Default" (or "Factory")  
   Selects the factory settings user set.  
"UserSet1"  
   Selects the first user set.  
"UsetSet2"  
   Selects the second user set  
.................................................  
 

Syntax


[VB]
objActiveGige.UserSetSelector [= Value]


[C/C++]
HRESULT get_UserSetSelector( string *pValue );
HRESULT put_UserSetSelector( string Value );



Data Type
[VB]

String

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string specifying the user set.  
Value [in]  
The user set to be selected.  

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 how to load the first user set.

ActiveGige1.UserSetSelector="UserSet1"
ActiveGige1.SetFeatureString("UserSetLoad","Execute")
 

Remarks


This feature should be used in combination with "UserSetLoad" and "UserSetSave" commands. To execute a command, use SetFeatureString.

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