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 |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Guru |
Values |
Big |
Standard |
SFNC |
Availability uEye+ |
|
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.
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())