IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Maximum limit of gain when GainAuto is enabled and BrightnessAutoGainLimitMode is "On".
Name |
BrightnessAutoGainMax |
Category |
|
Interface |
Float |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
≥ 1 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Code example
C++
// Before accessing BrightnessAutoGainMax, make sure BrightnessAutoGainLimitMode is set correctly
// Set BrightnessAutoGainLimitMode to "On"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("BrightnessAutoGainLimitMode")->SetCurrentEntry("On");
// Determine the current BrightnessAutoGainMax
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("BrightnessAutoGainMax")->Value();
// Set BrightnessAutoGainMax to 16.2
nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("BrightnessAutoGainMax")->SetValue(16.2);
C#
// Before accessing BrightnessAutoGainMax, make sure BrightnessAutoGainLimitMode is set correctly
// Set BrightnessAutoGainLimitMode to "On"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("BrightnessAutoGainLimitMode").SetCurrentEntry("On");
// Determine the current BrightnessAutoGainMax
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("BrightnessAutoGainMax").Value();
// Set BrightnessAutoGainMax to 16.2
nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("BrightnessAutoGainMax").SetValue(16.2);
Python
# Before accessing BrightnessAutoGainMax, make sure BrightnessAutoGainLimitMode is set correctly
# Set BrightnessAutoGainLimitMode to "On" (str)
nodeMapRemoteDevice.FindNode("BrightnessAutoGainLimitMode").SetCurrentEntry("On")
# Determine the current BrightnessAutoGainMax (float)
value = nodeMapRemoteDevice.FindNode("BrightnessAutoGainMax").Value()
# Set BrightnessAutoGainMax to 16.2 (float)
nodeMapRemoteDevice.FindNode("BrightnessAutoGainMax").SetValue(16.2)