IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the user-programmable device identifier of the RemoteDevice. This value only changes on execution of the DeviceUpdateList command. Corresponds to the DeviceUserID feature of the RemoteDevice and is retrieved during device discovery.
Name |
DeviceUserID[DeviceSelector] |
Category |
|
Interface |
String |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
- |
Standard |
GenTL SFNC |
Availability uEye+ |
|
Availability uEye |
|
Code Example
C++
// Before accessing DeviceUserID, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
// Determine the current DeviceUserID
std::string value = nodeMapInterface->FindNode<peak::core::nodes::StringNode>("DeviceUserID")->Value();
C#
// Before accessing DeviceUserID, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
// Determine the current DeviceUserID
string value = nodeMapInterface.FindNode<peak.core.nodes.StringNode>("DeviceUserID").Value();
Python
# Before accessing DeviceUserID, make sure DeviceSelector is set correctly
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)
# Determine the current DeviceUserID (str)
value = nodeMapInterface.FindNode("DeviceUserID").Value()