AW00097603000 Standard Features
Basler aviator GigE 179
// Select auto function AOI 1
// Set position and size of the selected auto function AOI
Camera.AutoFunctionAOISelector.SetValue( AutoFunctionAOISelector_AOI1 );
Camera.AutoFunctionAOIOffsetX.SetValue( 0 );
Camera.AutoFunctionAOIOffsetY.SetValue( 0 );
Camera.AutoFunctionAOIWidth.SetValue( Camera.AutoFunctionAOIWidth.GetMax() );
Camera.AutoFunctionAOIHeight.SetValue( Camera.AutoFunctionAOIHeight.GetMax() );
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3 on page 21.
10.7.4 Using an Auto Function
To use an auto function, carry out the following steps:
1. Select an Auto Function AOI.
2. Assign the auto function you want to use to the selected Auto Function AOI.
3. Unassign the auto function you want to use from the other Auto Function AOI.
4. Set the position and size of the Auto Function AOI.
5. If necessary, set the lower and upper limits for the auto functions’s parameter value.
6. If necessary, set the target value.
7. Set the GrayValueAdjustmentDampingAbs parameter.
8. If necessary, set the auto function profile to define priorities between auto functions.
9. Enable the auto function by setting it to "once" or "continuous".
For more information about the individual settings, see the next sections that describe the individual
auto functions.