User`s manual
Features  AW00098504000
192 Basler ace Camera Link
10.9.2.1 Assignment of an Auto Function to an Auto Function AOI
By default, the Gain Auto and the Exposure Auto auto functions are assigned to Auto Function AOI 
1 and the Balance White Auto auto function is assigned to Auto Function AOI 2. The assignments 
can, however, be set as desired. For example, the Balance White Auto auto function can be 
assigned to Auto Function AOI 1 or all auto functions can be assigned to the same Auto Function 
AOI. 
One limitation must be kept in mind: For the purpose of making assignments, the Gain Auto and the 
Exposure Auto auto functions are always considered as a single "Intensity" auto function and 
therefore the Auto Function AOI assignment is always identical for both auto functions. For 
example, if you assign the "Intensity" auto function to Auto Function AOI 2 the Gain Auto and the 
Exposure Auto auto functions are both assigned to Auto Function AOI 2. This does not imply, 
however, that the Gain Auto and the Exposure Auto auto functions must always be used at the 
same time.
Assigning an Auto Function to an Auto Function AOI Using Basler pylon
You can assign auto functions to Auto Function AOIs from within your application software by using 
the pylon API. 
As an example, the following code snippet illustrates using the API to assign the Gain Auto and 
Exposure Auto auto function - considered as a single "Intensity" auto function - and the Exposure 
Auto auto function to Auto Function AOI 1. 
The snippet also illustrates disabling the unused Auto Function AOI 2 to avoid assigning any auto 
function to more than one Auto Function AOI.
// Select Auto Function AOI 1
// Assign auto functions to the selected Auto Function AOI
Camera.AutoFunctionAOISelector.SetValue( AutoFunctionAOISelector_AOI1 );
Camera.AutoFunctionAOIUsageIntensity.SetValue( true );
Camera.AutoFunctionAOIUsageWhiteBalance.SetValue( true );
// Select the unused Auto Function AOI 2
// Disable the unused Auto Function AOI
Camera.AutoFunctionAOISelector.SetValue( AutoFunctionAOISelector_AOI2 );
Camera.AutoFunctionAOIUsageIntensity.SetValue( false );
Camera.AutoFunctionAOIUsageWhiteBalance.SetValue( false );
We strongly recommend that you do not assign an auto function to more than one 
Auto Function AOI even though this can be done.










