IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Controls the activation of the dynamic host configuration protocol IP.
Name |
GevCurrentIPConfigurationDHCP |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Beginner |
Values |
True |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•True: Activates DHCP.
•False: Deactivates DHCP.
The access changes to read-only during an acquisition. |
Code example
C++
// Determine the current status of GevCurrentIPConfigurationDHCP
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("GevCurrentIPConfigurationDHCP")->Value();
// Set GevCurrentIPConfigurationDHCP to true
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("GevCurrentIPConfigurationDHCP")->SetValue(true);
C#
// Determine the current status of GevCurrentIPConfigurationDHCP
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("GevCurrentIPConfigurationDHCP").Value();
// Set GevCurrentIPConfigurationDHCP to true
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("GevCurrentIPConfigurationDHCP").SetValue(true);
Python
# Determine the current status of GevCurrentIPConfigurationDHCP (bool)
value = nodeMapRemoteDevice.FindNode("GevCurrentIPConfigurationDHCP").Value()
# Set GevCurrentIPConfigurationDHCP to true (bool)
nodeMapRemoteDevice.FindNode("GevCurrentIPConfigurationDHCP").SetValue(True)