IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
ADCGainCorrection enables a predefined gain correction value. This gain is necessary for a correct sensor white level.
"AnalogAll" is expanded to its full possible range when ADCGainCorrection is disabled.
Name |
ADCGainCorrection[GainSelector] |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Guru |
Values |
True False |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•True: Gain correction is active for "AnalogAll".
•False: Gain correction is inactive for "AnalogAll".
Code example
C++
// Before accessing ADCGainCorrection, make sure GainSelector is set correctly
// Set GainSelector to "AnalogAll"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("GainSelector")->SetCurrentEntry("AnalogAll");
// Determine the current status of ADCGainCorrection
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("ADCGainCorrection")->Value();
// Set ADCGainCorrection to true
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("ADCGainCorrection")->SetValue(true);
C#
// Before accessing ADCGainCorrection, make sure GainSelector is set correctly
// Set GainSelector to "AnalogAll"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("GainSelector").SetCurrentEntry("AnalogAll");
// Determine the current status of ADCGainCorrection
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("ADCGainCorrection").Value();
// Set ADCGainCorrection to true
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("ADCGainCorrection").SetValue(true);
Python
# Before accessing ADCGainCorrection, make sure GainSelector is set correctly
# Set GainSelector to "AnalogAll" (str)
nodeMapRemoteDevice.FindNode("GainSelector").SetCurrentEntry("AnalogAll")
# Determine the current status of ADCGainCorrection (bool)
value = nodeMapRemoteDevice.FindNode("ADCGainCorrection").Value()
# Set ADCGainCorrection to true (bool)
nodeMapRemoteDevice.FindNode("ADCGainCorrection").SetValue(True)