IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
Defines the current scan type of the camera. DeviceScanType is affected by the SensorOperationMode settings.
Name |
DeviceScanType |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
Areascan Areascan3D Linescan |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Areascan: The image acquisition takes place simultaneously on all sensor lines (2D image acquisition).
•Areascan3D: The image acquisition of the depth image takes place simultaneously on all sensor lines (3D 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<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("DeviceScanType").CurrentEntry().SymbolicValue();
// Get a list of all available entries of DeviceScanType
allEntries = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("DeviceScanType").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 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())