Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

SetHardwareGain

uEye ActiveX Manual Version 4.00

SetHardwareGain

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

EnableAutoGain

EnableAutoSensorGain

Related functions

GetMasterGain()

GetRedGain()

GetGreenGain()

GetBlueGain()


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com