Please enable JavaScript to view this site.

IDS peak 2.14.0 / uEye+ firmware 3.42

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

This feature is only supported by specific uEye cameras.

UI-149x/UI-549x

UI-124x/UI-324x/UI-524x

UI-125x/UI-325x/UI-525x

Defines which scaler engine is controlled by the ScalingHorizontal and ScalingVertical features.

Name

ScalingSelector

Category

ImageFormatControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

Sensor

Standard

IDS

Availability uEye+

-

Availability uEye

icon-ui-gige icon-ui-usb2 icon-ui-usb3

Values description

Sensor: Selected features control sensor scaler.

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH