Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Returns the transport layer type of the interface. Corresponds to the INTERFACE_INFO_TLTYPE command of "IFGetInfo" function.

Name

InterfaceType

Category

InterfaceInformation

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

GigEVision

USB3Vision

UEye

Standard

GenTL SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

GigEVision: Transport layer of the interface for GigE Vision cameras (GV models)

USB3Vision: Transport layer of the interface for USB3 Vision cameras (U3 models)

UEye: Transport layer of the interface for uEye cameras (UI models)

Code Example

C++

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