Changing Aoi Parameters "On-The-Fly - Basler ace acA640-90gm User Manual

Gige cameras
Table of Contents

Advertisement

You can set the Offset X, Offset Y, Width, and Height parameter values from within your application
software by using the Basler pylon API. The following code snippets illustrate using the API to get
the maximum allowed settings and the increments for the Width and Height parameters. They also
illustrate setting the Offset X, Offset Y, Width, and Height parameter values
int64_t widthMax = Camera.Width.GetMax( );
int64_t widhInc = Camera.Width.GetInc();
Camera.Width.SetValue( 200 );
Camera.OffsetX.SetValue( 100 );
int64_t heightMax = Camera.Height.GetMax( );
int64_t heightInc = Camera.Height.GetInc();
Camera.Height.SetValue( 200 );
Camera.OffsetY.SetValue( 100 );
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
10.5.1

Changing AOI Parameters "On-the-Fly"

Making AOI parameter changes "on-the-fly" means making the parameter changes while the
camera is capturing images continuously. On-the-fly changes are only allowed for the parameters
that determine the position of the AOI, i.e., the Offset X and Offset Y parameters. Changes to the
AOI size are not allowed on-the-fly.
Basler ace GigE
Standard Features
page
27.
201

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ace aca640-90gcAce aca640-100gmAce aca640-100gc

Table of Contents