Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

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

DeviceEnumeration

Interface

String

Access

Read

Unit

-

Visibility

Expert

Values

-

Standard

GenTL SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

icon-ui-gige icon-ui-usb2 icon-ui-usb3

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()

© 2024 IDS Imaging Development Systems GmbH