Selector for the different devices on this interface. This value only changes on execution of DeviceUpdateList. The selector is 0-based in order to match the index of the C interface.
Name |
DeviceSelector |
Category |
|
Interface |
Integer |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
0 … value of DeviceCount Increment: 1 |
Standard |
GenTL SFNC |
Availability uEye+ |
|
Availability uEye |
|
Code Example
C++
// Determine the current DeviceSelector
int64_t value = nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->Value();
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
C#
// Determine the current DeviceSelector
long value = nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").Value();
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
Python
# Determine the current DeviceSelector (int)
value = nodeMapInterface.FindNode("DeviceSelector").Value()
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)