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

XNET Device 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.

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.

Number of Ports

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

Property Class

XNET Device

Property ID

nxPropDev_NumPorts

Description

Returns the number of physical port connectors on the XNET board.

Remarks

For example, returns 2 for an NI PCI-8517 two-port FlexRay device.

Number of Ports (All)

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

Property Class

XNET Device

Property ID

nxPropDev_NumPortsAll

Description

Returns the number of physical port connectors on the XNET board, including those not equipped with a Transceiver Cable.

Remarks

For example, returns 6 for a PXIe-8510 6-port device.

Product Name

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

Property Class

XNET Device

Property ID

nxPropDev_Name

Description

Returns the XNET device product name.

Remarks

For example, returns NI PCI-8517 (2 ports) for an NI PCI-8517 device.

Product Number

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

Property Class

XNET Device

Property ID

nxPropDev_ProductNum

Description

Returns the numeric portion of the XNET device product name.

Remarks

For example, returns 8517 for an NI PCI-8517 two-port FlexRay device.

Serial Number

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

Property Class

XNET Device

Property ID

nxPropDev_SerNum

Description

Returns the serial number associated with the XNET device.

Remarks

The serial number is written in hex on a label on the physical XNET board. Convert the return value from this property to hex to match the label.

Slot Number

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

Property Class

XNET Device

Property ID

nxPropDev_SlotNum

Description

Physical slot where the device (module) is located.

For PXI and C Series, this is the slot number within the chassis.

⚠️ **GitHub.com Fallback** ⚠️