AW00089317000 Standard Features
Basler ace GigE 307
You can set the Default Set Selector from within your application software by using the Basler pylon
API. The following code snippet illustrates using the API to set the selector:
If you want to select the Standard Factory Setup:
Camera.DefaultSetSelector.SetValue(DefaultSetSelector_Standard);
If you want to select the High Gain Factory Setup:
Camera.DefaultSetSelector.SetValue(DefaultSetSelector_HighGain);
If you want to select the Auto Functions Factory Setup:
Camera.DefaultSetSelector.SetValue(DefaultSetSelector_AutoFunctions);
If you want to select the Color Factory Setup:
Camera.DefaultSetSelector.SetValue(DefaultSetSelector_Color);
You can also use the Basler pylon Viewer application to easily set the selector.
For more information about the Basler pylon API and the pylon Viewer, see Section 3 on page 45.
10.19.2 Saving a User Set
1. Make changes to the camera’s settings until the camera is operating in a manner that you
would like to save.
2. Set the User Set Selector to User Set 1, User Set 2, or User Set 3.
3. Execute a User Set Save command to save the active set to the selected user set.
Saving an active set to a user set in the camera’s non-volatile memory will overwrite any parameters
that were previously saved in that user set.
You can set the User Set Selector and execute the User Set Save command from within your
application software by using the pylon API. The following code snippet illustrates using the API to
set the selector and execute the command:
Camera.UserSetSelector.SetValue( UserSetSelector_UserSet1 );
Camera.UserSetSave.Execute( );
Selecting which factory setup will serve as the default set is only allowed when the
camera is idle, i.e. when it is not acquiring images continuously or does not have
a single image acquisition pending.
Selecting the standard factory setup as the default set and then loading the default
set into the active set is a good course of action, if you have grossly misadjusted
the settings in the camera and you are not sure how to recover. The standard
factory setup is optimized for use in typical situations and will provide good camera
performance in most cases.
To save the currently active set into a user set: