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.

Returns the transport layer type of the device. Corresponds to the DEVICE_INFO_TYPE command of "DevGetInfo" function. This feature is selected by DeviceSelector.

Name

DeviceType[DeviceSelector]

Category

DeviceEnumeration

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

GigEVision

USB3Vision

UEyeUSB

UEyeEth

Standard

IDS

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

GigEVision: Transport layer for GigE uEye+ cameras (GV models)

USB3Vision: Transport layer for USB3 uEye+ cameras (U3 models)

UEyeUSB: Transport layer for USB uEye cameras (UI models)

UEyeEth: Transport layer for GigE uEye cameras (UI models)

Code Example

C++

// Before accessing DeviceType, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
// Determine the current entry of DeviceType
std::string value = nodeMapInterface->FindNode<peak::core::nodes::EnumerationNode>("DeviceType")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of DeviceType
auto allEntries = nodeMapInterface->FindNode<peak::core::nodes::EnumerationNode>("DeviceType")->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#

// Before accessing DeviceType, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
// Determine the current entry of DeviceType
string value = nodeMapInterface.FindNode<peak.core.nodes.EnumerationNode>("DeviceType").CurrentEntry().SymbolicValue();
// Get a list of all available entries of DeviceType
allEntries = nodeMapInterface.FindNode<peak.core.nodes.EnumerationNode>("DeviceType").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

# Before accessing DeviceType, make sure DeviceSelector is set correctly
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)
# Determine the current entry of DeviceType (str)
value = nodeMapInterface.FindNode("DeviceType").CurrentEntry().SymbolicValue()
# Get a list of all available entries of DeviceType
allEntries = nodeMapInterface.FindNode("DeviceType").Entries()
availableEntries = []
for entry in allEntries:
  if (entry.AccessStatus() != peak.NodeAccessStatus_NotAvailable
          and entry.AccessStatus() != peak.NodeAccessStatus_NotImplemented):
      availableEntries.append(entry.SymbolicValue())
 
 

© 2024 IDS Imaging Development Systems GmbH