User`s manual

Standard Features AW00089316000
212 Basler ace GigE
acA2000-50 and acA2040-25 Only
The camera’s gain is determined by the value of the Gain Raw parameter. Gain Raw is adjusted on
an integer scale. The minimum setting varies depending on the camera model and on whether
vertical binning is enabled (see Table 19). The maximum setting depends on whether the camera
is set for a pixel data format that yields 8 bit effective pixel depth (Mono 8, Bayer xx 8, YUV 4:2:2
Packed, YUV 4:2:2 (YUYV) Packed) or yields an effective pixel depth of 12 bits per pixel (Mono 12,
Mono 12 Packed, Bayer xx 12, Bayer xx 12 Packed).
.
To set the Gain Raw parameter value using Basler pylon:
Set the Gain Selector to Gain All.
Set the Gain Raw parameter to your desired value.
You can set the Gain Selector and the Gain Raw parameter value from within your application
software by using the Basler pylon API. The following code snippet illustrates using the API to set
the selector and the parameter value:
Camera.GainSelector.SetValue( GainSelector_All );
Camera.GainRaw.SetValue( 400 );
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.
If you know the current decimal setting for the gain raw, you can use the following formula to
calculate the dB of gain that will result from that setting:
Gain in dB = 20 log
10
(Gain Raw Setting / 32)
Camera Model Min Setting Min Setting with
Vertical Binning
(mono cameras)
Max Setting
(8 bit depth)
Max Setting
(12 bit depth)
acA2000-50gm/gc 36 33 512 512
acA2000-50gmNIR 36 33 512 512
acA2040-25gm/gc 36 33 512 512
acA2040-25gmNIR 36 33 512 512
Table 19: Minimum and Maximum Allowed Gain Raw Settings (acA2000-50, acA2040-25 Only)
On acA2000-50gm/gc, acA2000-50gmNIR, acA2040-25gm/gc and
acA2040-25gmNIR, the minimum setting for the Gain Raw parameter can be
reduced to 0 by using the remove parameter limits feature.
For more information about the remove parameter limits feature, see Section 10.3
on page 217.