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.

Defines the byte order of multi-byte pixel data for the stream.

Name

DeviceStreamChannelEndianness

Category

DeviceControl

Interface

Enumeration

Access

Read

Unit

-

Visibility

Guru

Values

Big
Little

Standard

SFNC

Availability uEye+

icon-gev

Availability uEye

-

Values description

Big: Stream channel data is big-endian. This means that the most significant byte is sent first.

Little: Stream channel data is little-endian. This means that the least significant byte is sent first.

hint_info

IDS cameras send all multi-byte pixel data in little-endian format.

Code example

C++

// Determine the current entry of DeviceStreamChannelEndianness
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DeviceStreamChannelEndianness")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of DeviceStreamChannelEndianness
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DeviceStreamChannelEndianness")->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 DeviceStreamChannelEndianness
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DeviceStreamChannelEndianness").CurrentEntry().SymbolicValue();
// Get a list of all available entries of DeviceStreamChannelEndianness
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DeviceStreamChannelEndianness").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 DeviceStreamChannelEndianness (str)
value = nodeMapRemoteDevice.FindNode("DeviceStreamChannelEndianness").CurrentEntry().SymbolicValue()
# Get a list of all available entries of DeviceStreamChannelEndianness
allEntries = nodeMapRemoteDevice.FindNode("DeviceStreamChannelEndianness").Entries()
availableEntries = []
for entry in allEntries:
  if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
          and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
      availableEntries.append(entry.SymbolicValue())

© 2024 IDS Imaging Development Systems GmbH