FIFO.Write (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

Writes elements to the DMA FIFO from the host VI. The Write method returns Empty Elements Remaining when the data is written or when the Timeout (ms) period ends.

If a timeout occurs while writing to the FIFO, data will be lost. The FIFO accepts new data as soon as space is available in the FIFO.

Note  The Write method is available only if the FIFO type is Host to Target—DMA in the General FIFO Properties page.

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.
Data specifies the data that you want to transfer to the FPGA target.
Timeout (ms) specifies the minimum number of milliseconds the Invoke Method function waits before timing out. The Invoke Method function times out if the host part of the FIFO does not contain enough space in which to write Data by the time the number of milliseconds you specify elapse. The default is 5000 milliseconds. Set this parameter to –1 if you want the Invoke Method function to wait indefinitely.
FPGA VI Reference Out returns a reference to an FPGA VI.
error out contains error information. This output provides standard error out functionality.
Empty Elements Remaining returns the number of empty elements remaining in the host memory part of the DMA FIFO. This number indicates the number of elements that can be written without blocking when performing the next write operation.


Not Helpful