IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
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 |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
Default Linescan LinescanSensor LongExposure TofSingleFrequency30Mhz TofSingleFrequency100Mhz TofSingleFrequency200Mhz TofDualFrequency30Mhz35Mhz TofDualFrequency100Mhz120Mhz TofDualFrequency175Mhz200Mhz |
Standard |
IDS |
Availability uEye+ |
|
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.
In our how-to video, you learn how to use an IDS area scan camera as a line scan camera: https://en.ids-imaging.com/visionchannel-media-details/items/how-to-linescan-with-2d-industrial-cameras.html
•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.
•TofSingleFrequency30Mhz: Sensor settings for 3D applications with single frequency. This feature is only supported by uEye 3D cameras.
•TofSingleFrequency100Mhz: Sensor settings for 3D applications with single frequency. This feature is only supported by uEye 3D cameras.
•TofSingleFrequency200Mhz: Sensor settings for 3D applications with single frequency. This feature is only supported by uEye 3D cameras.
•TofDualFrequency30Mhz35Mhz: Sensor settings for 3D applications with dual frequency. This feature is only supported by uEye 3D cameras.
•TofDualFrequency100Mhz120Mhz: Sensor settings for 3D applications with dual frequency. This feature is only supported by uEye 3D cameras.
•TofDualFrequency175Mhz200Mhz: Sensor settings for 3D applications with dual frequency. This feature is only supported by uEye 3D cameras.
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<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("SensorOperationMode").CurrentEntry().SymbolicValue();
// Get a list of all available entries of SensorOperationMode
allEntries = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("SensorOperationMode").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());
}
}
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())