Creating a Reference to a Peer-to-Peer Writer FIFO
- Updated2025-09-18
- 1 minute(s) read
Before you can create a peer-to-peer streaming session, you must create a reference to the peer-to-peer writer FIFO. If the peer-to-peer writer 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 writer FIFO.
- Create a writer 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 writer 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 Writer from the shortcut menu, where FIFO is the name of the peer-to-peer FIFO under the FPGA target.
- Use the output from the Writer terminal of the Invoke Method node to create a peer-to-peer streaming session.