NI XNET XNET Device Properties - ni/grpc-device GitHub Wiki
- Interfaces
- Interfaces (All)
- Number of Ports
- Number of Ports (All)
- Product Name
- Product Number
- Serial Number
- Slot Number
Data Type | Direction | Required? | Default |
---|---|---|---|
u32[] | Read Only | No | N/A |
XNET System
nxPropSys_IntfRefs
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.
Data Type | Direction | Required? | Default |
---|---|---|---|
u32[] | Read Only | No | N/A |
XNET System
nxPropSys_IntfRefsAll
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.
Data Type | Direction | Required? | Default |
---|---|---|---|
u32 | Read Only | No | N/A |
XNET Device
nxPropDev_NumPorts
Returns the number of physical port connectors on the XNET board.
For example, returns 2 for an NI PCI-8517 two-port FlexRay device.
Data Type | Direction | Required? | Default |
---|---|---|---|
u32 | Read Only | No | N/A |
XNET Device
nxPropDev_NumPortsAll
Returns the number of physical port connectors on the XNET board, including those not equipped with a Transceiver Cable.
For example, returns 6 for a PXIe-8510 6-port device.
Data Type | Direction | Required? | Default |
---|---|---|---|
string | Read Only | No | N/A |
XNET Device
nxPropDev_Name
Returns the XNET device product name.
For example, returns NI PCI-8517 (2 ports) for an NI PCI-8517 device.
Data Type | Direction | Required? | Default |
---|---|---|---|
u32 | Read Only | No | N/A |
XNET Device
nxPropDev_ProductNum
Returns the numeric portion of the XNET device product name.
For example, returns 8517 for an NI PCI-8517 two-port FlexRay device.
Data Type | Direction | Required? | Default |
---|---|---|---|
u32 | Read Only | No | N/A |
XNET Device
nxPropDev_SerNum
Returns the serial number associated with the XNET device.
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.
Data Type | Direction | Required? | Default |
---|---|---|---|
u32 | Read Only | No | N/A |
XNET Device
nxPropDev_SlotNum
Physical slot where the device (module) is located.
For PXI and C Series, this is the slot number within the chassis.