NI-FGEN C Function Reference

NIFGEN_ATTR_P2P_DATA_TRANSFER_PERMISSION_INITIAL_CREDITS

  • Updated2023-02-21
  • 1 minute(s) read

Specific Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1150408 ViInt32 R/W Endpoint Yes None

Description

Specifies the initial amount of data, in samples per channel, that the writer peer is allowed to transfer over the bus into the configured endpoint when the peer-to-peer data stream is enabled. If you do not set this property and the endpoint is empty, credits equal to the full size of the endpoint are issued to the writer peer. If data has been written to the endpoint using the niFgen_WriteP2PEndpointI16 function prior to enabling the stream, credits equal to the remaining space available in the endpoint are issued to the writer peer. This attribute is coerced up by NI-FGEN to 8-byte boundaries.

Log in to get a better experience