Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Specifies the operation mode of the sensor. The SensorOperationMode is changed via UserSetSelector. Depending on the SensorOperationMode the setting of the DeviceScanType changes as well.

Name

SensorOperationMode

Category

DeviceControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

Default

Linescan

LinescanSensor

LongExposure

Standard

IDS

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

Default: Recommended sensor settings for standard applications.

Linescan: Sensor settings for line scan applications. Depending on the further camera settings it may be necessary to increase the value of FrameAbortTimeout to avoid incomplete images.

LinescanSensor: Native sensor line scan mode. This feature is only supported by the following monochrome cameras: GV-524x, GV-525x.

LongExposure: Sensor settings optimized for image acquisition with long exposures.

Code example

C++

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