Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Defines the current scan type of the camera. DeviceScanType is affected by the SensorOperationMode settings.

Name

DeviceScanType

Category

DeviceControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

Areascan
Linescan

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

Areascan: The image acquisition takes place simultaneously on all sensor lines (2D image acquisition).

Linescan: The image acquisition takes place line by line one after the other. The image output is 2D.

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH