IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the current subnet mask of the GVCP interface of the selected RemoteDevice. This value only changes on execution of the DeviceUpdateList command.
Name |
GevDeviceSubnetMask[DeviceSelector] |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
0 … 4294967295 Increment: 1 |
Standard |
GenTL SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Code Example
C++
// Before accessing GevDeviceSubnetMask, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
// Determine the current GevDeviceSubnetMask
int64_t value = nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("GevDeviceSubnetMask")->Value();
C#
// Before accessing GevDeviceSubnetMask, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
// Determine the current GevDeviceSubnetMask
long value = nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("GevDeviceSubnetMask").Value();
Python
# Before accessing GevDeviceSubnetMask, make sure DeviceSelector is set correctly
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)
# Determine the current GevDeviceSubnetMask (int)
value = nodeMapInterface.FindNode("GevDeviceSubnetMask").Value()