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 |
|
Interface |
Float |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
Camera specific |
Standard |
SFNC |
Availability uEye+ |
|
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()