IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Controls the mode of the transfer request for this data stream.
Name |
U3vStreamChannelTransferRequestMode |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Guru |
Values |
Auto Manual |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Auto: The GenTL implementation automatically determines the number of transfer requests that are loaded into the stream channel pipe simultaneously.
•Manual: The application defines the number of transfer requests to be loaded simultaneously into the stream channel pipe, see U3vStreamChannelTransferRequestCount.
Note that the available settings depend on the operating system. Under Windows, only the "Manual" mode is available with the USB3 Vision Transport Layer (U3VK). Under Linux, both modes are available with the USB3 Vision Transport Layer (U3V).
The access changes to read-only during an acquisition. |
Code example
C++
// Determine the current entry of U3vStreamChannelTransferRequestMode
std::string value = nodeMapDataStream->FindNode<peak::core::nodes::EnumerationNode>("U3vStreamChannelTransferRequestMode")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of U3vStreamChannelTransferRequestMode
auto allEntries = nodeMapDataStream->FindNode<peak::core::nodes::EnumerationNode>("U3vStreamChannelTransferRequestMode")->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);
}
}
// Set U3vStreamChannelTransferRequestMode to "Manual"
nodeMapDataStream->FindNode<peak::core::nodes::EnumerationNode>("U3vStreamChannelTransferRequestMode")->SetCurrentEntry("Manual");
C#
// Determine the current entry of U3vStreamChannelTransferRequestMode
string value = nodeMapDataStream.FindNode<peak.core.nodes.EnumerationNode>("U3vStreamChannelTransferRequestMode").CurrentEntry().SymbolicValue();
// Get a list of all available entries of U3vStreamChannelTransferRequestMode
allEntries = nodeMapDataStream.FindNode<peak.core.nodes.EnumerationNode>("U3vStreamChannelTransferRequestMode").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());
}
}
// Set U3vStreamChannelTransferRequestMode to "Manual"
nodeMapDataStream.FindNode<peak.core.nodes.EnumerationNode>("U3vStreamChannelTransferRequestMode").SetCurrentEntry("Manual");
Python
# Determine the current entry of U3vStreamChannelTransferRequestMode (str)
value = nodeMapDataStream.FindNode("U3vStreamChannelTransferRequestMode").CurrentEntry().SymbolicValue()
# Get a list of all available entries of U3vStreamChannelTransferRequestMode
allEntries = nodeMapDataStream.FindNode("U3vStreamChannelTransferRequestMode").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())
# Set U3vStreamChannelTransferRequestMode to "Manual" (str)
nodeMapDataStream.FindNode("U3vStreamChannelTransferRequestMode").SetCurrentEntry("Manual")