| Home > Function descriptions > | History back Previous chapter Next chapter Print |
SetHardwareGain |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG SetHardwareGain (LONG nMaster, LONG nRed, LONG nGreen, LONG nBlue)
Description
SetHardwareGain() controls the sensor integrated amplifier. They can be tuned between 0% - 100% independent of each other.
Parameters
nMaster |
Gain value for master channel [0 …100] or IS_IGNORE_PARAMETER [=-1] |
nRed |
Gain value for red channel [0 …100] or IS_IGNORE_PARAMETER [=-1] |
nGreen |
Gain value for green channel [0 …100] or IS_IGNORE_PARAMETER [=-1] |
nBlue |
Gain value for blue channel [0 …100] or IS_IGNORE_PARAMETER [=-1] |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Example
//Set the master gain value to 10:
ret = SetHardwareGain (10, IS_IGNORE_PARAMETER,
IS_IGNORE_PARAMETER, IS_IGNORE_PARAMETER);
Related properties
Related functions