Please enable JavaScript to view this site.

IDS peak 2.17.1 / uEye+ firmware 3.70

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

AnalogControl

Interface

Float

Access

Read

Unit

-

Visibility

Beginner

Values

Camera specific

Standard

IDS

Availability uEye+

-

Availability uEye

icon-ui-gige icon-ui-usb2 icon-ui-usb3

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()

© 2025 IDS Imaging Development Systems GmbH