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.

The function lists all camera parameters that can be loaded by UserSetLoad. UserSetSave always saves all camera parameters that are "streamable".

Name

UserSetFeatureSelector

Category

UserSetControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

Core

Roi

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

Core: All streamable parameters which are not included in other feature lists. "Core" must always be loaded and therefore cannot be deactivated.

Roi: All parameters which have an effect on the ROI (region of interest) settings:

oBinningHorizontal

oBinningHorizontalMode

oBinningSelector

oBinningVertical

oBinningVerticalMode

oDecimationHorizontal

oDecimationSelector

oDecimationVertical

oHeight

oOffsetX

oOffsetY

oReverseX

oReverseY

oWidth

hint_info

Note on the ROI settings

ROI (region of interest) settings cannot be retained when switching between the "Linescan" and "Areascan" sensor modes. The ROI settings are adjusted to the target user set when loading a corresponding user set

Code example

C++

// Determine the current entry of UserSetFeatureSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetFeatureSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of UserSetFeatureSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetFeatureSelector")->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 UserSetFeatureSelector to "Roi"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetFeatureSelector")->SetCurrentEntry("Roi");

C#

// Determine the current entry of UserSetFeatureSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetFeatureSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of UserSetFeatureSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetFeatureSelector").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 UserSetFeatureSelector to "Roi"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetFeatureSelector").SetCurrentEntry("Roi");

Python

# Determine the current entry of UserSetFeatureSelector (str)
value = nodeMapRemoteDevice.FindNode("UserSetFeatureSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of UserSetFeatureSelector
allEntries = nodeMapRemoteDevice.FindNode("UserSetFeatureSelector").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 UserSetFeatureSelector to "Roi" (str)
nodeMapRemoteDevice.FindNode("UserSetFeatureSelector").SetCurrentEntry("Roi")

© 2024 IDS Imaging Development Systems GmbH