
Features
AW00123404000
270
Basler ace USB 3.0
camera.AutoFunctionAOIUseBrightness.SetValue(true);
// Set the position and size of the auto function ROI
camera.AutoFunctionAOIOffsetX.SetValue(0);
camera.AutoFunctionAOIOffsetY.SetValue(0);
camera.AutoFunctionAOIWidth.SetValue(1294);
camera.AutoFunctionAOIHeight.SetValue(964);
// Set the maximum possible size of the selected auto function ROI
camera.AutoFunctionAOIOffsetX.SetValue(0);
camera.AutoFunctionAOIOffsetY.SetValue(0);
camera.AutoFunctionAOIWidth.SetValue(
camera.AutoFunctionAOIWidth.GetMax() );
camera.AutoFunctionAOIHeight.SetValue(
camera.AutoFunctionAOIHeight.GetMax() );
// Select gain all and set the upper and lower gain limits for
// the gain auto function
camera.GainSelector.SetValue(GainSelector_All);
camera.AutoGainLowerLimit.SetValue(0.0);
camera.AutoGainUpperLimit.SetValue(19.745);
// Set the lowest possible lower limit and the highest possible
// upper limit for the gain auto function
camera.AutoGainLowerLimit.SetValue(
camera.AutoGainLowerLimit.GetMin());
camera.AutoGainUpperLimit.SetValue(
camera.AutoGainUpperLimit.GetMax());
// Set the target gray value for the selected auto function
// The parameter value range refers to the theoretically maximum
// available range of gray values for the set pixel format.
// For example, if an 8 bit pixel format is set, a parameter value
// of 0.50196 will correspond to a gray value of 128.
camera.AutoTargetBrightness.SetValue(0.50196);
// 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 more information about the pylon API and the pylon Viewer, see Section 3.1 on
page 43
.
Summary of Contents for ace acA1920-155
Page 4: ......
Page 50: ...Specifications Requirements and Precautions AW00123404000 40 Basler ace USB 3 0...
Page 56: ...Camera Drivers and Tools for Changing Camera Parameters AW00123404000 46 Basler ace USB 3 0...
Page 106: ...Physical Interface AW00123404000 96 Basler ace USB 3 0...
Page 186: ...Image Acquisition Control AW00123404000 176 Basler ace USB 3 0...