Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Returns or sets the static gateway IP address for the GVCP interface of the RemoteDevice.

Name

GevDeviceForceGateway[DeviceSelector]

Category

DeviceEnumeration

Interface

Integer

Access

Read/Write

Unit

-

Visibility

Expert

Values

0 … 4294967295

Increment: 1

Default: 0

Standard

GenTL SFNC

Availability uEye+

icon-gev

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)

© 2024 IDS Imaging Development Systems GmbH