Please enable JavaScript to view this site.

IDS peak 2.20.0 / uEye+ firmware 3.80

IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.

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

© 2026 IDS Imaging Development Systems GmbH