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.

  1. Create a reader 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 reader 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 Reader 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 Reader terminal of the Invoke Method node to create a peer-to-peer streaming session from the host VI.