Creating a Reference to a Peer-to-Peer Reader FIFO
- Updated2025-03-06
- 1 minute(s) read
Before you can create a peer-to-peer streaming session, you must create a reference to the peer-to-peer reader FIFO. If the peer-to-peer reader FIFO is not on an FPGA target, refer to the specific FPGA target documentation for information about creating a reference. For FPGA targets, complete the following steps to create a reference to a peer-to-peer reader FIFO.
- Create a reader FIFO for an FPGA target.
- On the block diagram of the host VI, place an Open FPGA VI Reference function.
- Drag the FPGA VI for the reader from the Project Explorer window to the Open FPGA VI Reference function.
- Place an Invoke Method node on the block diagram.
- Wire the FPGA VI Reference Out terminal of the Open FPGA VI Reference function to the FPGA VI Reference In terminal of the Invoke Method node.
- Click the Method terminal on the Invoke Method node and select FIFO»Get Peer to Peer Reader from the shortcut menu, where FIFO is the name of the peer-to-peer FIFO under the FPGA target.
- Use the output from the Reader terminal of the Invoke Method node to create a peer-to-peer streaming session from the host VI.