NI RFSA Peer To Peer Streaming Attributes - ni/grpc-device GitHub Wiki
- NIRFSA_ATTR_P2P_ENABLED
- NIRFSA_ATTR_P2P_FIFO_ENDPOINT_COUNT
- NIRFSA_ATTR_P2P_SAMPLES_TRANSFERRED
- NIRFSA_ATTR_P2P_SAMPLES_AVAILABLE_IN_ENDPOINT
- NIRFSA_ATTR_P2P_MOST_SAMPLES_AVAILABLE_IN_ENDPOINT
- NIRFSA_ATTR_P2P_ENDPOINT_SIZE
- NIRFSA_ATTR_P2P_ENDPOINT_OVERFLOW
- NIRFSA_ATTR_P2P_ONBOARD_MEMORY_ENABLED
Data type |
Access | High Level Functions |
---|---|---|
ViBoolean | R/W | None |
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
Data type |
Access | High Level Functions |
---|---|---|
ViInt64 | RO | None |
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
Data type |
Access | High Level Functions |
---|---|---|
ViInt64 | RO | None |
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
Data type |
Access | High Level Functions |
---|---|---|
ViInt64 | RO | None |
Returns the current number of complex samples available in the peer-to-peer endpoint.
![]() |
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
Data type |
Access | High Level Functions |
---|---|---|
ViInt64 | RO | None |
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
Data type |
Access | High Level Functions |
---|---|---|
ViInt64 | RO | None |
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
Data type |
Access | High Level Functions |
---|---|---|
ViBoolean | RO | None |
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
Data type |
Access | High Level Functions |
---|---|---|
ViBoolean | R/W | None |
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