User`s manual
Standard Features AW00089316000
290 Basler ace GigE
illustrate setting the X Offset, Y Offset, Width, and Height parameter values. As an example, Auto
Function AOI1 is selected:
// Select the appropriate auto function AOI for gain auto and exposure
auto
// control. Currently auto function AOI 1 is predefined to gather the
pixel
// data needed for gain auto and exposure auto control
// Set the position and size of the 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 39.










