267SDK (Software development Kit)
© 2010 Thorlabs
7.3.93
is_SetHWGainFactor
Syntax
INT is_SetHWGainFactor (HIDS hCam, INT nMode, INT nFactor)
Description
is_SetHWGainFactor() uses gain factors to control sensor gain channels. These channels can be
set independently of each other. The is_SetHardwareGain() does not use factors for setting the
gain channels, but standardised values between 0 and 100. The actual gain factor is sensor-
dependent and can be found in Specifications: Sensors chapter.
You can use the is_GetSensorInfo() function to query the available gain controls.
Depending on the time when the gain settings are changed, these changes might only become
effective when the next image is captured.
Input Parameters
IS_GET_MASTER_GAIN_FACTOR
Returns the master gain factor.
Returns the red channel gain factor.
Returns the green channel gain factor.
Returns the blue channel gain factor.
IS_SET_MASTER_GAIN_FACTOR
Sets the master gain factor.
Sets the red channel gain factor.
Sets the green channel gain factor.
Sets the blue channel gain factor.
IS_GET_DEFAULT_MASTER_GAIN_FACTOR
Returns the default master gain factor.
IS_GET_DEFAULT_RED_GAIN_FACTOR
Returns the default red channel gain factor.
IS_GET_DEFAULT_GREEN_GAIN_FACTOR
Returns the default green channel gain factor.
IS_GET_DEFAULT_BLUE_GAIN_FACTOR
Returns the default blue channel gain factor.
IS_INQUIRE_MASTER_GAIN_FACTOR
Converts the index value for the master gain factor.
IS_INQUIRE_RED_GAIN_FACTOR
Converts the index value for the red channel gain
factor.
IS_INQUIRE_GREEN_GAIN_FACTOR
Converts the index value for the green channel gain
factor.
IS_INQUIRE_BLUE_GAIN_FACTOR
Converts the index value for the blue channel gain
factor.
Gain value (100 = gain factor 1, i. e. no effect)
264
402
182