User`s manual

Standard Features AW00089316000
216 Basler ace GigE
10.2.1 Setting the Black Level
The black level can be adjusted by changing the value of the Black Level Raw parameter.
The range of the allowed settings for the Black Level Raw parameter value varies by camera model
as shown in Table 21.
To set the Black Level Raw parameter value:
Set the Black Level Selector to Black Level All.
Set the Black Level Raw parameter to your desired value.
You can set the Black Level Selector and the Black Level 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.BlackLevelSelector.SetValue ( BlackLevelSelector_All );
Camera.BlackLevelRaw.SetValue( 32 );
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.
Camera Model Min Allowed Black Level Raw Setting Max Allowed Black Level Raw Setting
acA640-90gm/gc 0 1023
acA640-100gm/gc 0 1023
acA645-100gm/gc 0 1023
acA750-30gm/gc 0 1023
acA780-75gm/gc 0 1023
acA1300-30gm/gc 0 1023
acA1600-20gm/gc 0 1023
acA2000-50gm/gc 0 255
acA2000-50gmNIR 0 255
acA2040-25gm/gc 0 255
acA2040-25gmNIR 0 255
acA2500-14gm/gc 0 63
Table 21: Black Level Raw Parameter Range