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 |
uEye cameras: This feature is only supported by UI-1007XS Rev. 1.1 and UI-1007XS. |
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)