Skip to content

NI RFSA Peer To Peer Streaming Attributes

Greg Stoll edited this page Nov 11, 2021 · 1 revision

Peer To Peer Streaming Attributes

NIRFSA_ATTR_P2P_ENABLED

Specific Attribute

Data
type
Access High Level Functions
ViBoolean R/W None

Description

Specifies whether peer-to-peer streaming is enabled for the active stream endpoint.

This attribute is endpoint based.

Defined Values:

VI_TRUE (1900) Enables streaming.
VI_FALSE (1901) Disables streaming.
Default Value: VI_FALSE

Supported Devices: PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841

NIRFSA_ATTR_P2P_FIFO_ENDPOINT_COUNT

Specific Attribute

Data
type
Access High Level Functions
ViInt64 RO None

Description

Returns the number of peer-to-peer streams supported by the device.

Default Value: 0

Supported Devices: PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841

NIRFSA_ATTR_P2P_SAMPLES_TRANSFERRED

Specific Attribute

Data
type
Access High Level Functions
ViInt64 RO None

Description

Returns the number of complex samples transferred through the peer-to-peer stream endpoint since the endpoint was last reset.

Default Value: 0

Supported Devices: PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841

NIRFSA_ATTR_P2P_SAMPLES_AVAILABLE_IN_ENDPOINT

Specific Attribute

Data
type
Access High Level Functions
ViInt64 RO None

Description

Returns the current number of complex samples available in the peer-to-peer endpoint.

Note Note  The complex samples are composed of two 16-bit words with the I data as the LSB.
Default Value: 0

Supported Devices: PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841

NIRFSA_ATTR_P2P_MOST_SAMPLES_AVAILABLE_IN_ENDPOINT

Specific Attribute

Data
type
Access High Level Functions
ViInt64 RO None

Description

Returns the largest number of complex samples available in the peer-to-peer endpoint since this attribute was last read.

Default Value: 0

Supported Devices: PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841

NIRFSA_ATTR_P2P_ENDPOINT_SIZE

Specific Attribute

Data
type
Access High Level Functions
ViInt64 RO None

Description

Returns the size, in samples, of the peer-to-peer endpoint.

Default Value: 0

Supported Devices: PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841

NIRFSA_ATTR_P2P_ENDPOINT_OVERFLOW

Specific Attribute

Data
type
Access High Level Functions
ViBoolean RO None

Description

Indicates whether the endpoint has overflowed. An overflow condition occurs when data is written to the endpoint faster than it can be streamed from it. During an overflow, data in the endpoint begins to be overwritten. Reset the device or close the session to reset the overflow condition.

Defined Values:

VI_TRUE The endpoint has overflowed.
VI_FALSE You can write additional data to the endpoint.
Default Value: VI_FALSE

Supported Devices: PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841

NIRFSA_ATTR_P2P_ONBOARD_MEMORY_ENABLED

Specific Attribute

Data
type
Access High Level Functions
ViBoolean R/W None

Description

Specifies whether a limit is placed on the number of records and the size of the records by the size of the device onboard memory. When a peer-to-peer stream is enabled and onboard memory is disabled, any fetch calls result in an error.

Default Value: VI_FALSE

Supported Devices: PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841

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