Please enable JavaScript to view this site.

IDS peak 2.15.0 / uEye+ firmware 3.54

Controls, which Gain is selected for ChunkGain.

Name

ChunkGainSelector

Category

ChunkDataControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

AnalogAll
DigitalAll

DigitalRed
DigitalGreen
DigitalBlue

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

AnalogAll: Selects the "AnalogAll" gain.

DigitalAll: Selects the "DigitalAll" gain.

DigitalRed: Selects the "DigitalRed" gain.

DigitalGreen: Selects the "DigitalGreen" gain.

DigitalBlue: Selects the "DigitalBlue" gain.

Code example

C++

// Determine the current entry of ChunkGainSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkGainSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of ChunkGainSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkGainSelector")->Entries();
std::vector<std::shared_ptr<peak::core::nodes::EnumerationEntryNode>> availableEntries;
for(const auto & entry : allEntries)
{
  if ((entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotAvailable)
          && (entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotImplemented))
  {
      availableEntries.emplace_back(entry);
  }
}
// Set ChunkGainSelector to "AnalogAll"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkGainSelector")->SetCurrentEntry("AnalogAll");

C#

// Determine the current entry of ChunkGainSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkGainSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of ChunkGainSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkGainSelector").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
  if ((allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotAvailable)
          && (allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotImplemented))
  {
      availableEntries.Add(allEntries[i].SymbolicValue());
  }
}
// Set ChunkGainSelector to "AnalogAll"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkGainSelector").SetCurrentEntry("AnalogAll");

Python

# Determine the current entry of ChunkGainSelector (str)
value = nodeMapRemoteDevice.FindNode("ChunkGainSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of ChunkGainSelector
allEntries = nodeMapRemoteDevice.FindNode("ChunkGainSelector").Entries()
availableEntries = []
for entry in allEntries:
  if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
          and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
      availableEntries.append(entry.SymbolicValue())
 
# Set ChunkGainSelector to "AnalogAll" (str)
nodeMapRemoteDevice.FindNode("ChunkGainSelector").SetCurrentEntry("AnalogAll")