NI XNET XNET System Properties - ni/grpc-device GitHub Wiki

XNET System Properties

Interfaces

Data Type Direction Required? Default
u32[] Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_IntfRefs

Description

Returns an array of handles to all interfaces contained within the current system.

System refers to the execution target of this property node. If this property node executes on an RT target, it reports interfaces physically on the RT target.

Devices

Data Type Direction Required? Default
u32[] Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_DevRefs

Description

Returns an array of handles to physical XNET devices in the system. Each physical XNET board is a hardware product such as a PCI/PXI board.

You can pass the XNET Device handle to nxGetProperty and nxGetPropertySize to access properties of the device.

Interfaces (All)

Data Type Direction Required? Default
u32[] Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_IntfRefsAll

Description

Returns an array of handles to all interfaces contained within the current system, including those not equipped with a transceiver cable.

System refers to the execution target of this property node. If this property node executes on an RT target, it reports interfaces physically on the RT target.

Interfaces (CAN)

Data Type Direction Required? Default
u32[] Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_IntfRefsCAN

Description

Returns an array of handles to all available interfaces on the system that support the CAN Protocol.

Interfaces (FlexRay)

Data Type Direction Required? Default
u32[] Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_IntfRefsFlexRay

Description

Returns an array of handles to all available interfaces on the system that support the FlexRay protocol.

Interfaces (LIN)

Data Type Direction Required? Default
u32[] Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_IntfRefsLIN

Description

Returns an array of handles to all available interfaces on the system that support the LIN Protocol.

Interfaces (Ethernet)

Data Type Direction Required? Default
1Dref Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_IntfRefsEthernet

Description

Returns an array of all available interfaces on the system that support the Ethernet Protocol.

The system refers to the execution target of this property node. If this property node executes on an RT target, it reports interfaces physically on the RT target.

Version:Build

Data Type Direction Required? Default
u32 Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_VerBuild

Description

Returns the driver version [Build] as a U32.

Remarks

The driver version is specified in the following format: [Major].[Minor].[Update][Phase][Build].

For example, 1.2.3f4 returns:

  • [Major] = 1
  • [Minor] = 2
  • [Update] = 3
  • [Phase] = Final/Release
  • [Build] = 4

A larger version number implies a newer XNET driver version.

Use this property for:

  • Determining driver functionality or release date.
  • Determining upgrade availability.

Version:Major

Data Type Direction Required? Default
u32 Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_VerMajor

Description

Returns the driver version [Major] as a U32.

Remarks

The driver version is specified in the following format: [Major].[Minor].[Update][Phase][Build].

For example, 1.2.3f4 returns:

  • [Major] = 1
  • [Minor] = 2
  • [Update] = 3
  • [Phase] = Final/Release
  • [Build] = 4

A larger version number implies a newer XNET driver version.

Use this property for:

  • Determining driver functionality or release date.
  • Determining upgrade availability.

Version:Minor

Data Type Direction Required? Default
u32 Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_VerMinor

Description

Returns the driver version [Minor] as a U32.

Remarks

The driver version is specified in the following format: [Major].[Minor].[Update][Phase][Build].

For example, 1.2.3f4 returns:

  • [Major] = 1
  • [Minor] = 2
  • [Update] = 3
  • [Phase] = Final/Release
  • [Build] = 4

A larger version number implies a newer XNET driver version.

Use this property for:

  • Determining driver functionality or release date.
  • Determining upgrade availability.

Version:Phase

Data Type Direction Required? Default
u32 Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_VerPhase

Description

Returns the driver version [Phase] as a u32.

Enumeration Value
nxPhase_Development 0
nxPhase_Alpha 1
nxPhase_Beta 2
nxPhase_Release 3

Note  The driver's official version always has a phase of Release.

Remarks

The driver version is specified in the following format: [Major].[Minor].[Update][Phase][Build].

For example, 1.2.3f4 returns:

  • [Major] = 1
  • [Minor] = 2
  • [Update] = 3
  • [Phase] = Final/Release
  • [Build] = 4

A larger version number implies a newer XNET driver version.

Use this property for:

  • Determining driver functionality or release date.
  • Determining upgrade availability.

Version:Update

Data Type Direction Required? Default
u32 Read Only No N/A

Property Class

XNET System

Property ID

nxPropSys_VerUpdate

Description

Returns the driver version [Update] as a U32.

Remarks

The driver version is specified in the following format: [Major].[Minor].[Update][Phase][Build].

For example, 1.2.3f4 returns:

  • [Major] = 1
  • [Minor] = 2
  • [Update] = 3
  • [Phase] = Final/Release
  • [Build] = 4

A larger version number implies a newer XNET driver version.

Use this property for:

  • Determining driver functionality or release date.
  • Determining upgrade availability.
⚠️ **GitHub.com Fallback** ⚠️