Returns or sets the static gateway IP address for the GVCP interface of the RemoteDevice.
Name |
GevDeviceForceGateway[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 GevDeviceForceGateway, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
// Determine the current GevDeviceForceGateway
int64_t value = nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("GevDeviceForceGateway")->Value();
// Set GevDeviceForceGateway to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("GevDeviceForceGateway")->SetValue(0);
C#
// Before accessing GevDeviceForceGateway, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
// Determine the current GevDeviceForceGateway
long value = nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("GevDeviceForceGateway").Value();
// Set GevDeviceForceGateway to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("GevDeviceForceGateway").SetValue(0);
Python
# Before accessing GevDeviceForceGateway, make sure DeviceSelector is set correctly
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)
# Determine the current GevDeviceForceGateway (int)
value = nodeMapInterface.FindNode("GevDeviceForceGateway").Value()
# Set GevDeviceForceGateway to 0 (int)
nodeMapInterface.FindNode("GevDeviceForceGateway").SetValue(0)