User Defined Values - Basler acA2040-55 User Manual

Basler ace
Table of Contents

Advertisement

Features

7.20 User Defined Values

The camera can store five "user defined values". Each value is a 32 bit signed integer value that
you can set and read as desired. The values simply serve as convenient storage locations for the
camera user and have no impact on the operation of the camera.
The values are designated as Value 1 through Value 5.
Setting User Defined Values
To set a user defined value using Basler pylon:
1. Set the User Defined Value Selector the desired value, e.g. to Value 1.
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 for Value 1 to 1000:
// Set user defined value 1
camera.UserDefinedValueSelector.SetValue( UserDefinedValueSelec-
tor_Value1 );
camera.UserDefinedValue.SetValue(1000);
// Get the value of user defined Value 1
camera.UserDefinedValueSelector.SetValue( UserDefinedValueSelec-
tor_Value1 );
int64_t i = 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
326
AW00123409000
page
61.
Basler ace USB 3.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aca2440-35Aca2040-120Aca2440-75

Table of Contents