NI Peer-to-Peer Streaming VIs

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format
Installed With: NI Peer-to-Peer Streaming

May 2012, 372769C-01

Use the NI Peer-to-Peer Streaming VIs to manage the streaming of data directly between peripherals without sending the data through a host device. Refer to the hardware documentation to determine if the hardware is capable of peer-to-peer streaming.

Palette Object Description
niP2P Create Peer to Peer Stream

Links a writer and reader and creates a stream between them.

niP2P Destroy Peer to Peer Stream

Unlinks the writer and reader and purges data from the stream. Any existing data in the writer is lost. If a stream is enabled, this VI disables the stream without flushing the writer before unlinking the reader and writer.

niP2P Disable Peer to Peer Stream

Immediately disables a stream without flushing data from the writer. Any existing data in the writer is lost. To avoid data loss and guarantee all existing data in the writer is flushed to the reader before disabling the stream, use the niP2P Flush And Disable Peer to Peer Stream VI.

niP2P Enable Peer to Peer Stream

Prepares the stream for data transmission. After this VI runs, the stream is capable of transmitting data from the writer to the reader. You must enable the stream before you can transmit data.

niP2P Flush And Disable Peer to Peer Stream

Immediately flushes data from the writer and disables the stream. Flushing the writer prevents the writer from accepting new data and sends all existing data in the writer to the stream.

niP2P Handle Events

Creates an Event structure configured with an Event Dynamic Registration terminal so that you can create event cases to handle peer-to-peer streaming events.

niP2P Property Node

Gets (reads) properties of a peer-to-peer stream.

This Property Node is configured to access peer-to-peer stream properties. This node operates in the same way as a standard Property Node.



Subpalette Description
Advanced Peer to Peer Streaming VIs

Use the Advanced Peer to Peer Streaming VIs to link and unlink peer-to-peer streams. In general, you only need to use these VIs when the targets are reset or encounter errors. Otherwise, use the niP2P Create Peer to Peer Stream and niP2P Destroy Peer to Peer Stream VIs to link and unlink streams.

© 2009-2012 National Instruments Corporation. All Rights Reserved.

WAS THIS ARTICLE HELPFUL?

Not Helpful