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.

Sets the acquisition mode of the camera. It defines the number of images to capture during an acquisition.

Name

AcquisitionMode

Category

AcquisitionControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Beginner

Values

SingleFrame

MultiFrame

Continuous

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

SingleFrame: One image is captured.

MultiFrame: The number of images specified by AcquisitionFrameCount is captured. This feature is only supported by uEye+ cameras (GV and U3 models).

Continuous: Images are captured until stopped with the AcquisitionStop command.

hint_info

The access changes to read-only during an acquisition.

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH