From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIFO.Configure (Invoke Method)

LabVIEW 2018 FPGA Module Help


Edition Date: March 2018
Part Number: 371599P-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 FPGA Module Help
LabVIEW 2017 FPGA Module Help
LabVIEW 2018 FPGA Module Help
LabVIEW 2019 FPGA Module Help
LabVIEW 2020 FPGA Module Help

Requires: FPGA Interface

Specifies the capacity, or depth, in elements of the host FIFO of the DMA channel. The new depth is implemented when the next FIFO Start, FIFO Read, or FIFO Write method executes. Before the new depth is set, LabVIEW empties all data from the host memory and FPGA FIFO. This method is optional.

Use the Invoke Method function to implement this method.

FPGA VI Reference In is a reference to an FPGA VI. You must open a reference to the FPGA VI to use this parameter.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Requested Depth specifies the number of elements that you request for the host FIFO of the DMA channel.

Note  On certain FPGA targets, the value wired to this parameter may not be the actual number of elements allocated for the host FIFO of the DMA channel. On these FPGA targets, the number of bytes allocated in memory is coerced to a value that is valid for the specific target and is a multiple of 4096. This coercion may increase the actual number of elements in the host FIFO of the DMA channel. In these cases, use the Actual Depth parameter to determine the number of elements allocated after coercion. Refer to the specific FPGA target hardware documentation for more information about DMA FIFO size limitations.


If you do not call the FIFO.Configure method, the default is 10,000 elements or twice the size of the FPGA FIFO buffer, whichever is greater. For NI-RIO 4.0 and later, the default is 16,384 (2^14) elements or twice the size of the FPGA FIFO buffer, whichever is greater. You must pass a nonzero value. If you pass a depth of 0, LabVIEW returns an error.
FPGA VI Reference Out returns a reference to an FPGA VI.
error out contains error information. This output provides standard error out functionality.
Actual Depth returns the number of elements in the host FIFO of the DMA buffer.

WAS THIS ARTICLE HELPFUL?

Not Helpful