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.

Shows the current stream channel mode.

Name

StreamChannelMode

Category

StreamControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

UserLevelSocket

KernelLevelDriver

Standard

IDS

Availability uEye+

icon-gev

Availability uEye

-

Values description

UserLevelSocket: The GigE Vision stream channel runs in the operating system's user mode and connects to the network interface via a socket.

KernelLevelDriver: The GigE Vision stream channel runs in the operating system's kernel mode and connects to the network interface via a network filter driver.

Code Example

C++

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