User`s manual

Standard Features AW00118302000
192 Basler racer GigE
10.13 User Defined Values
The camera can store two "user defined values". These two values are 32 bit signed integer values
that you can set and read as desired. They simply serve as convenient storage locations for the
camera user and have no impact on the operation of the camera.
The two values are designated as Value 1 and Value 2.
Setting User Defined Values
Setting a user defined value using Basler pylon is a two step process:
Set the User Defined Value Selector to Value 1 or Value 2.
Set the User Defined Value parameter to the desired value for the selected value.
You can use the pylon API to set the User Defined Value Selector and the User Defined Value
parameter value from within your application software. The following code snippet illustrates using
the API to set the selector and the parameter value:
// Set user defined value 1
Camera.UserDefinedValueSelector.SetValue( UserDefinedValueSelector_Value1 );
Camera.UserDefinedValue.SetValue( 1000 );
// Set user defined value 2
Camera.UserDefinedValueSelector.SetValue( UserDefinedValueSelector_Value2 );
Camera.UserDefinedValue.SetValue( 2000 );
// Get the value of user defined value 1
Camera.UserDefinedValueSelector.SetValue( UserDefinedValueSelector_Value1 );
int64_t UserValue1 = Camera.UserDefinedValue.GetValue();
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the Basler pylon API and the pylon Viewer, see Section 3.1 on page 23.