Please enable JavaScript to view this site.

IDS peak 26.06. / uEye+ firmware 3.94

Defines which individual coordinates in the vectors are controlled for 3D information/transformation.

Name

Scan3dCoordinateSelector[Scan3dExtractionSelector]

Category

Scan3dControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

CoordinateC

Standard

SFNC

Availability uEye+

icon-gev

Availability uEye

-

Values description

CoordinateC: The third coordinate (Z or Rho).

Code example

C++

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

C#

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

Python

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