Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

Returns the device IP configuration of the GVCP interface of the selected RemoteDevice. This value only changes on execution of the DeviceUpdateList command.

Name

GevDeviceIPConfigurationStatus[DeviceSelector]

Category

DeviceEnumeration

Interface

Enumeration

Access

Read

Unit

-

Visibility

Expert

Values

Unknown

PersistentIP

DHCP

LinkLocal

Invalid

Standard

GenTL SFNC

Availability uEye+

icon-gev

Availability uEye

-

Values description

Unknown: The IP configuration status is unknown to the GenTL Producer.

PersistentIP: The RemoteDevice uses a persistent IP address.

DHCP: The RemoteDevice uses DHCP.

LinkLocal: The RemoteDevice uses a link-local IP address.

Invalid: The device reports an invalid status in its DISCOVERY_ACK.

Code Example

C++

// Before accessing GevDeviceIPConfigurationStatus, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface->FindNode<peak::core::nodes::IntegerNode>("DeviceSelector")->SetValue(0);
// Determine the current entry of GevDeviceIPConfigurationStatus
std::string value = nodeMapInterface->FindNode<peak::core::nodes::EnumerationNode>("GevDeviceIPConfigurationStatus")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of GevDeviceIPConfigurationStatus
auto allEntries = nodeMapInterface->FindNode<peak::core::nodes::EnumerationNode>("GevDeviceIPConfigurationStatus")->Entries();
std::vector<std::shared_ptr<peak::core::nodes::EnumerationEntryNode>> availableEntries;
for(const auto & entry : allEntries)
{
  if ((entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotAvailable)
          && (entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotImplemented))
  {
      availableEntries.emplace_back(entry);
  }
}
 

C#

// Before accessing GevDeviceIPConfigurationStatus, make sure DeviceSelector is set correctly
// Set DeviceSelector to 0
nodeMapInterface.FindNode<peak.core.nodes.IntegerNode>("DeviceSelector").SetValue(0);
// Determine the current entry of GevDeviceIPConfigurationStatus
string value = nodeMapInterface.FindNode<peak.core.nodes.EnumerationNode>("GevDeviceIPConfigurationStatus").CurrentEntry().SymbolicValue();
// Get a list of all available entries of GevDeviceIPConfigurationStatus
allEntries = nodeMapInterface.FindNode<peak.core.nodes.EnumerationNode>("GevDeviceIPConfigurationStatus").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
  if ((allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotAvailable)
          && (allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotImplemented))
  {
      availableEntries.Add(allEntries[i].SymbolicValue());
  }
}
 

Python

# Before accessing GevDeviceIPConfigurationStatus, make sure DeviceSelector is set correctly
# Set DeviceSelector to 0 (int)
nodeMapInterface.FindNode("DeviceSelector").SetValue(0)
# Determine the current entry of GevDeviceIPConfigurationStatus (str)
value = nodeMapInterface.FindNode("GevDeviceIPConfigurationStatus").CurrentEntry().SymbolicValue()
# Get a list of all available entries of GevDeviceIPConfigurationStatus
allEntries = nodeMapInterface.FindNode("GevDeviceIPConfigurationStatus").Entries()
availableEntries = []
for entry in allEntries:
  if (entry.AccessStatus() != peak.NodeAccessStatus_NotAvailable
          and entry.AccessStatus() != peak.NodeAccessStatus_NotImplemented):
      availableEntries.append(entry.SymbolicValue())
 
 

© 2024 IDS Imaging Development Systems GmbH