Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

Returns the interface wide unique identifier of the selected device. This value only changes on execution of the DeviceUpdateList command. Corresponds to the "IFGetDeviceID" function with the index corresponding to DeviceSelector.

Name

DeviceID[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 DeviceID, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
// Determine the current DeviceID
std::string value = nodeMapInterface->FindNode<peak::core::nodes::StringNode>("DeviceID")->Value();

C#

// Before accessing DeviceID, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
// Determine the current DeviceID
string value = nodeMapInterface.FindNode<peak.core.nodes.StringNode>("DeviceID").Value();

Python

# Before accessing DeviceID, make sure DeviceSelector is set correctly
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)
# Determine the current DeviceID (str)
value = nodeMapInterface.FindNode("DeviceID").Value()

© 2024 IDS Imaging Development Systems GmbH