Standard Features AW00089317000
286 Basler ace GigE
// 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 general information about auto functions, see Section 10.13 on page 276.
For more information about
the pylon API and the pylon Viewer, see Section 3 on page 45.
Auto Function AOIs and how to set them, see Section 10.13.3 on page 278.
10.13.5 Exposure Auto
Exposure Auto is the "automatic" counterpart to manually setting the Exposure Time Abs
parameter. The exposure auto function automatically adjusts the Exposure Time Abs parameter
value within set limits until a target average gray value for the pixel data from Auto Function AOI 1
is reached.
The exposure auto function can be operated in the "once" and continuous" modes of operation.
If Auto Function AOI 1 does not overlap the Image AOI (see the "Auto Function AOI" section) the
pixel data from Auto Function AOI 1 will not be used to control the exposure time. Instead, the
current manual setting of the Exposure Time Abs parameter value will control the exposure time.
The exposure auto function and the gain auto function can be used at the same time. In this case,
however, you must also set the auto function profile feature.
When trigger width exposure mode is selected, the exposure auto function is not available.
For more information about
setting the exposure time "manually", see Section 7.11 on page 148.
the trigger width exposure mode, see Section 7.4.3.2 on page 104.
the auto function profile feature, see Section 10.13.7 on page 290.
The limits within which the camera will adjust the Auto Exposure Time Abs parameter are defined
by the Auto Exposure Time Abs Upper Limit and the Auto Exposure Time Abs Lower Limit
parameters. The current minimum and the maximum allowed settings for the Auto Exposure Time
Abs Upper Limit parameter and the Auto Exposure Time Abs Lower Limit parameters depend on
the minimum allowed and maximum possible exposure time for your camera model.
The exposure auto function will not work, if the camera’s exposure mode is set to
trigger width. For more information about the trigger width exposure mode, see
Section 7.4.3.2 on page 104.