Table Of Contents


Last Modified: February 7, 2020

Indicates the hardware connectivity for the port.

This property is configured using NI MAX or the System Configuration property PHY State Configured.

Data type: datatype_icon

Long Name: Interface:Ethernet:Port Mode

Class: XNET Session

Permissions: Read

Enumeration Value Description
Direct 0 Port is connected directly; frames received and transmitted on the port have no relationship to any other port on the XNET device. Input and output sessions are supported in Direct mode.
Tap 1 Port is connected to another port on the XNET device using a Tap. The pair of connected ports are referred to as Tap partners. A frame received on one Tap partner is immediately transmitted out the other Tap partner, to mimic the behavior of an Ethernet cable. When an input session is created using an XNET interface for either Tap partner, and the monitor suffix is used with the XNET interface, the session reads frames received on both Tap partners. Output sessions are not supported in Tap mode. When you set Tap on this port, the Port Mode of its Tap partner is automatically set to Tap as well.

This property cannot be changed while an XNET session is started on the port. When this property is changed and Save Changes is invoked on the hardware resource, the link is brought down and back up in order to configure the change.

Where This Property Is Available:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application

Recently Viewed Topics