Skip to content

NI XNET XNET Device Properties

PALASH KHARE edited this page Feb 23, 2022 · 2 revisions

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.

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally