IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the subnet mask of the selected subnet of this interface.
Name |
GevInterfaceSubnetMask[GevInterfaceSubnetSelector] |
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 GevInterfaceSubnetMask, make sure GevInterfaceSubnetSelector is set correctly
// Set GevInterfaceSubnetSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("GevInterfaceSubnetSelector")->SetValue(0);
// Determine the current GevInterfaceSubnetMask
int64_t value = nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("GevInterfaceSubnetMask")->Value();
C#
// Before accessing GevInterfaceSubnetMask, make sure GevInterfaceSubnetSelector is set correctly
// Set GevInterfaceSubnetSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("GevInterfaceSubnetSelector").SetValue(0);
// Determine the current GevInterfaceSubnetMask
long value = nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("GevInterfaceSubnetMask").Value();
Python
# Before accessing GevInterfaceSubnetMask, make sure GevInterfaceSubnetSelector is set correctly
# Set GevInterfaceSubnetSelector to 0 (int)
nodeMapInterface.FindNode("GevInterfaceSubnetSelector").SetValue(0)
# Determine the current GevInterfaceSubnetMask (int)
value = nodeMapInterface.FindNode("GevInterfaceSubnetMask").Value()