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