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 selected interface.
Name |
InterfaceType[InterfaceSelector] |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
GigEVision USB3Vision UEye Unknown |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
Values description
•GigEVision: Transport layer for GigE uEye+ cameras (GV models)
•USB3Vision: Transport layer for USB3 uEye+ cameras (U3 models)
•UEye: Transport layer for uEye cameras (UI models)
•Unknown: Unknown transport layer type
Code Example
C++
// Before accessing InterfaceType, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("InterfaceSelector")->SetValue(0);
// Determine the current entry of InterfaceType
std::string value = nodeMapSystem->FindNode<peak::core::nodes::EnumerationNode>("InterfaceType")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of InterfaceType
auto allEntries = nodeMapSystem->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#
// Before accessing InterfaceType, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem.FindNode<peak.core.nodes.IntegerNode>("InterfaceSelector").SetValue(0);
// Determine the current entry of InterfaceType
string value = nodeMapSystem.FindNode<peak.core.nodes.EnumerationNode>("InterfaceType").CurrentEntry().SymbolicValue();
// Get a list of all available entries of InterfaceType
allEntries = nodeMapSystem.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
# Before accessing InterfaceType, make sure InterfaceSelector is set correctly
# Set InterfaceSelector to 0 (int)
nodeMapSystem.FindNode("InterfaceSelector").SetValue(0)
# Determine the current entry of InterfaceType (str)
value = nodeMapSystem.FindNode("InterfaceType").CurrentEntry().SymbolicValue()
# Get a list of all available entries of InterfaceType
allEntries = nodeMapSystem.FindNode("InterfaceType").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())