IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
Returns the device unique ID for the stream. Corresponds to the "DevGetDataStreamID" function with the index corresponding to StreamSelector.
Name |
StreamID[StreamSelector] |
Category |
|
Interface |
String |
Access |
Read |
Unit |
- |
Visibility |
Beginner |
Values |
- |
Standard |
GenTL SFNC |
Availability uEye+ |
|
Availability uEye |
|
Code Example
C++
// Before accessing StreamID, make sure StreamSelector is set correctly
// Set StreamSelector to 0
nodeMapLocalDevice->FindNode<peak::core::nodes::IntegerNode>("StreamSelector")->SetValue(0);
// Determine the current StreamID
std::string value = nodeMapLocalDevice->FindNode<peak::core::nodes::StringNode>("StreamID")->Value();
C#
// Before accessing StreamID, make sure StreamSelector is set correctly
// Set StreamSelector to 0
nodeMapLocalDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.IntegerNode>("StreamSelector").SetValue(0);
// Determine the current StreamID
string value = nodeMapLocalDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.StringNode>("StreamID").Value();
Python
# Before accessing StreamID, make sure StreamSelector is set correctly
# Set StreamSelector to 0 (int)
nodeMapLocalDevice.FindNode("StreamSelector").SetValue(0)
# Determine the current StreamID (str)
value = nodeMapLocalDevice.FindNode("StreamID").Value()