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