User`s manual
Features
112 Basler aviator Camera Link
You can use the pylon API to set the Balance Ratio Selector and the Balance Ratio Abs parameter
value from within your application software. The following code snippet illustrates using the API to
set the selector and the parameter value:
// Set the red balance ratio
Camera.BalanceRatioSelector.SetValue( BalanceRatioSelector_Red );
Camera.BalanceRatioAbs.SetValue( 1.20 );
// Set the green balance ratio
Camera.BalanceRatioSelector.SetValue( BalanceRatioSelector_Green );
Camera.BalanceRatioAbs.SetValue( 1.20 );
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 4 on page 45.
Setting the White Balance Using Direct Register Access
To set the balance ratio parameters via direct register access:
Set the value of White Balance Red register to adjust the red ratio.
Set the value of the White Balance Green register to adjust the green ratio.
Set the value of the White Balance Blue register to adjust the blue ratio.
For more information about changing settings via direct register access, see Section 4 on page 45.