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.

  1. Create a writer FIFO for an FPGA target.
  2. On the block diagram of the host VI, place an Open FPGA VI Reference function.
  3. Drag the FPGA VI for the writer from the Project Explorer window to the Open FPGA VI Reference function.
  4. Place an Invoke Method node on the block diagram.
  5. 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.
  6. 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.
  7. Use the output from the Writer terminal of the Invoke Method node to create a peer-to-peer streaming session.