11-03-2011 10:50 AM
Hello,
In NI's LabVIEW help on peer-to-peer data streaming, it says:
Because the peer-to-peer data streaming architecture is unidirectional, each device resource can either write data to a stream or read data from the stream, but the same device resource cannot be both a writer and reader. Only hardware resource availability limits the number of streams that a device resource can support.(From NI help)
--For my application, I want to have bidirectional communication between two FlexRIO7965R in one PXIe chassis. Can I do this way as below?
Two FlexRIO 7965R are device A and B, which are able to do peer-to-peer communications. Can I setup two Peer-to-Peer streams P1 and P2, and, in stream P1, assign device A as the reader, device B as the writer, but, in stream P2, assign device B as the reader, device A as the writer? Can these two streams work simultaneously?
Thanks.
Regards,
Jin
11-07-2011 12:51 AM
Hi Jin,
Yes, you can setup two different peer to peer channels, each one going in a different direction. The only thing to watchout for is bandwidth utilization if you are driving lots of data bidirectionally (with 2 streams).
06-15-2015 11:50 PM
06-16-2015 06:25 PM
Hey there,
We've got lots of resources available for you. Check some of these articles out:
http://www.ni.com/white-paper/10801/en/
http://zone.ni.com/reference/en-XX/help/372831A-01/p2pstreamhelp/p2p_theory_of_operation/
http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgahelp/fpga_p2p_intro/
Also, if you go to the LabVIEW Example Finder, you can search for "Peer to Peer Streaming" for an example project that shows you how to implement peer to peer in code.
Cheers!