IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns or sets the static IP address for the GVCP interface of the RemoteDevice.
Name |
GevDeviceForceIPAddress[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 GevDeviceForceIPAddress, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
// Determine the current GevDeviceForceIPAddress
int64_t value = nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("GevDeviceForceIPAddress")->Value();
// Set GevDeviceForceIPAddress to 2852045175
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("GevDeviceForceIPAddress")->SetValue(2852045175);
C#
// Before accessing GevDeviceForceIPAddress, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
// Determine the current GevDeviceForceIPAddress
long value = nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("GevDeviceForceIPAddress").Value();
// Set GevDeviceForceIPAddress to 2852045175
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("GevDeviceForceIPAddress").SetValue(2852045175);
Python
# Before accessing GevDeviceForceIPAddress, make sure DeviceSelector is set correctly
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)
# Determine the current GevDeviceForceIPAddress (int)
value = nodeMapInterface.FindNode("GevDeviceForceIPAddress").Value()
# Set GevDeviceForceIPAddress to 2852045175 (int)
nodeMapInterface.FindNode("GevDeviceForceIPAddress").SetValue(2852045175)