
Features AW00118501000
80 Basler racer Camera Link
You can set the Gain Selector and the Gain parameter value from within your application software
by using the pylon API. The following code snippet illustrates using the API to set the selector and
the parameter value:
// Set Gain Digital All
Camera.GainSelector.SetValue( GainSelector_All );
Camera.GainRaw.SetValue( 256 );
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon Viewer, see Section 3.1 on page 15.
Setting the Analog Gain Using Direct Register Access
To set the gain via direct register access:
Set the value of the Gain Digital All register.
For more information about direct register access, see Section 3.2 on page 16.
8.2.1.3 Using Both Analog Gain and Digital Gain
You can use analog gain and digital gain at the same time. In this case, the amplification factors will
multiply. For example, if you set analog gain to an amplification factor of 4 and use an amplification
factor of 1.2 for digital gain the total amplification factor will be 4.8. This corresponds to adding
12 dB and 1.6 dB to give a total gain of 13.6 dB.
For optimum image quality, we recommend to set the total amplification as low as possible. If you
need an amplification factor larger than 4 we recommend to set analog gain to 4 and then digital
gain to reach the desired total amplification.
If you use analog gain and digital gain at the same time and also use the remove
parameter limits for digital gain with digital gain parameter values below 256: Note
also that the amplification factor for total gain will be 0 if the digital gain setting is 0.
Kommentare zu diesen Handbüchern