Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

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

Returns the selected gain of the image included in the payload.

Name

ChunkGain[ChunkGainSelector]

Category

ChunkDataControl

Interface

Float

Access

Read

Unit

-

Visibility

Expert

Values

Camera specific

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Code example

C++

// Before accessing ChunkGain, make sure ChunkGainSelector is set correctly
// Set ChunkGainSelector to "AnalogAll"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkGainSelector")->SetCurrentEntry("AnalogAll");
// Determine the current ChunkGain
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("ChunkGain")->Value();

C#

// Before accessing ChunkGain, make sure ChunkGainSelector is set correctly
// Set ChunkGainSelector to "AnalogAll"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkGainSelector").SetCurrentEntry("AnalogAll");
// Determine the current ChunkGain
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("ChunkGain").Value();

Python

# Before accessing ChunkGain, make sure ChunkGainSelector is set correctly
# Set ChunkGainSelector to "AnalogAll" (str)
nodeMapRemoteDevice.FindNode("ChunkGainSelector").SetCurrentEntry("AnalogAll")
# Determine the current ChunkGain (float)
value = nodeMapRemoteDevice.FindNode("ChunkGain").Value()

© 2024 IDS Imaging Development Systems GmbH