Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Returns the subnet mask of the first subnet of the selected interface.

Name

GevInterfaceDefaultSubnetMask[InterfaceSelector]

Category

InterfaceEnumeration

Interface

Integer

Access

Read

Unit

-

Visibility

Expert

Values

0 … 4294967295

Increment =1

Standard

GenTL SFNC

Availability uEye+

icon-gev

Availability uEye

-

Code Example

C++

// Before accessing GevInterfaceDefaultSubnetMask, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("InterfaceSelector")->SetValue(0);
// Determine the current GevInterfaceDefaultSubnetMask
int64_t value = nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("GevInterfaceDefaultSubnetMask")->Value();

C#

// Before accessing GevInterfaceDefaultSubnetMask, make sure InterfaceSelector is set correctly
// Set InterfaceSelector to 0
nodeMapSystem.FindNode<peak.core.nodes.IntegerNode>("InterfaceSelector").SetValue(0);
// Determine the current GevInterfaceDefaultSubnetMask
long value = nodeMapSystem.FindNode<peak.core.nodes.IntegerNode>("GevInterfaceDefaultSubnetMask").Value();

Python

# Before accessing GevInterfaceDefaultSubnetMask, make sure InterfaceSelector is set correctly
# Set InterfaceSelector to 0 (int)
nodeMapSystem.FindNode("InterfaceSelector").SetValue(0)
# Determine the current GevInterfaceDefaultSubnetMask (int)
value = nodeMapSystem.FindNode("GevInterfaceDefaultSubnetMask").Value()

© 2024 IDS Imaging Development Systems GmbH