IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the default value for the selected gain as an absolute physical value.
Name |
GainDefault[GainSelector] |
Category |
|
Interface |
Float |
Access |
Read |
Unit |
- |
Visibility |
Beginner |
Values |
Camera specific |
Standard |
IDS |
Availability uEye+ |
- |
Availability uEye |
|
Code example
C++
// Before accessing GainDefault, make sure GainSelector is set correctly
// Set GainSelector to "All"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("GainSelector")->SetCurrentEntry("All");
// Determine the current GainDefault
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("GainDefault")->Value();
C#
// Before accessing GainDefault, make sure GainSelector is set correctly
// Set GainSelector to "All"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("GainSelector").SetCurrentEntry("All");
// Determine the current GainDefault
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("GainDefault").Value();
Python
# Before accessing GainDefault, make sure GainSelector is set correctly
# Set GainSelector to "All" (str)
nodeMapRemoteDevice.FindNode("GainSelector").SetCurrentEntry("All")
# Determine the current GainDefault (float)
value = nodeMapRemoteDevice.FindNode("GainDefault").Value()