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<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("GainSelector").SetCurrentEntry("All");
// Determine the current GainDefault
double value = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.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()