User`s manual

Standard Features AW00089316000
292 Basler ace GigE
Camera.AutoFunctionAOIWidth.GetMax() );
Camera.AutoFunctionAOIHeight.SetValue(
Camera.AutoFunctionAOIHeight.GetMax() );
// Select gain all and set the upper and lower gain limits for the
// gain auto function
Camera.GainSelector.SetValue( GainSelector_All );
Camera.AutoGainRawLowerLimit.SetValue( Camera.GainRaw.GetMin() );
Camera.AutoGainRawUpperLimit.SetValue( Camera.GainRaw.GetMax() );
// Set the target gray value for the gain auto function
// (If exposure auto is enabled, this target is also used for
// exposure auto control.)
Camera.AutoTargetValue.SetValue( 128 );
// Set the mode of operation for the gain auto function
Camera.GainAuto.SetValue( GainAuto_Once );
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 39.
For general information about auto functions, see Section 10.12 on page 282.
For information about Auto Function AOIs and how to set them, see Section 10.12.3 on page 284.