EasyManuals Logo

Basler acA2040-55 User Manual

Basler acA2040-55
373 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 #224 background imageLoading...
Page #224 background image
Features AW00123409000
214 Basler ace USB 3.0
int64_t i = camera.WidthMax.GetValue();
camera.Width.SetValue(1294);
camera.OffsetX.SetValue(0);
int64_t i = camera.HeightMax.GetValue();
camera.Height.SetValue(964);
camera.OffsetY.SetValue(0);
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.1 on page 61.
7.6.1 Center X and Center Y
The ROI feature also includes Center X and Center Y capabilities for horizontal and vertical
centering. When CenterX is enabled, the camera will automatically center the ROI along the
sensor’s X axis. When CenterY is enabled, the camera automatically centers the ROI along the
sensor’s Y axis.
Enabling ROI Centering
You can enable ROI centering from within your application software by using the Basler pylon API.
The following code snippet illustrates using the API to enable automatic ROI centering:
camera.CenterX.SetValue(true);
camera.CenterY.SetValue(true);
When CenterX is enabled, the OffsetX setting is adjusted accordingly and
becomes read only.
Note: When CenterX is disabled, the original OffsetX setting that applied when
CenterX was enabled, is not automatically restored. If you want to return to the
original OffsetX setting, you have to do so "manually".
The enabling of CenterY has an analogous effect on OffsetY settings.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler acA2040-55 and is the answer not in the manual?

Basler acA2040-55 Specifications

General IconGeneral
BrandBasler
ModelacA2040-55
CategoryDigital Camera
LanguageEnglish

Related product manuals