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 GenTL Producer implementation. Corresponds to the TL_INFO_TLTYPE command of "TLGetInfo" function.
Name |
TLType |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
GigEVision USB3Vision Mixed UEye |
Standard |
GenTL SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•GigEVision: Transport layer for GigE Vision cameras (GV models)
•USB3Vision: Transport layer for USB3 Vision cameras (U3 models)
•Mixed: Different Interface modules of the GenTL Producer are of different types
•UEye: Transport layer for uEye cameras (UI mdoels)
Code Example
C++
// Determine the current entry of TLType
std::string value = nodeMapSystem->FindNode<peak::core::nodes::EnumerationNode>("TLType")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of TLType
auto allEntries = nodeMapSystem->FindNode<peak::core::nodes::EnumerationNode>("TLType")->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 TLType
string value = nodeMapSystem.FindNode<peak.core.nodes.EnumerationNode>("TLType").CurrentEntry().SymbolicValue();
// Get a list of all available entries of TLType
allEntries = nodeMapSystem.FindNode<peak.core.nodes.EnumerationNode>("TLType").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 TLType (str)
value = nodeMapSystem.FindNode("TLType").CurrentEntry().SymbolicValue()
# Get a list of all available entries of TLType
allEntries = nodeMapSystem.FindNode("TLType").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())