EasyManuals Logo

Basler racer User Manual

Basler racer
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #125 background imageLoading...
Page #125 background image
AW00118508000 Features
Basler racer Camera Link 117
You can set the gain auto functionality from within your application software by using the pylon API.
The following code snippets illustrate using the API to set the exposure auto functionality:
// Set the position and size of the auto function AOI (sample values)
camera.AutoFunctionAOIOffsetX.SetValue(20);
camera.AutoFunctionAOIWidth.SetValue(500);
camera.AutoFunctionAOIHeight.SetValue(300);
// Select gain all and set the upper and lower gain limits for the
// gain auto function
camera.GainSelector.SetValue(GainSelector_DigitalAll);
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_Continuous);
You can also use the Basler pylon Viewer application to easily set the parameters.
For general information about auto functions, see Section 8.5.1 on page 110.
For more information about
the pylon API and the pylon Viewer, see Section 3.1 on page 26.
the auto function AOI and how to set it, see Section 8.5.3 on page 112.
8.5.5 Exposure Auto
Exposure Auto is the "automatic" counterpart to manually setting the ExposureTimeAbs parameter.
The exposure auto function automatically adjusts the ExposureTimeAbs parameter value within set
limits until a target average gray value for the pixel data from the auto function AOI is reached.
The exposure auto function can be operated in the "once" and continuous" modes of operation.
If the auto function AOI does not overlap the image AOI (see Section 8.5.3.1 on page 113), the pixel
data from the auto function AOI will not be used to control the exposure time. Instead, the current
manual setting of the ExposureTimeAbs parameter value will control the exposure time.
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 6.1.5.2 on page 65.

Table of Contents

Other manuals for Basler racer

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler racer and is the answer not in the manual?

Basler racer Specifications

General IconGeneral
BrandBasler
Modelracer
CategoryDigital Camera
LanguageEnglish

Related product manuals