LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

P2P Streaming using FPGA Interface C API

I’ve generated the bitfiles for my peer‑to‑peer (P2P) reader and writer on R Series FPGA targets(7820R and 7868R), and I used the FPGA Interface C API Generator to produce the corresponding C and header files.

I now want to monitor this P2P stream from a Windows host application in Microsoft Visual Studio using the NI P2P API. The NI KB here: Creating and Monitoring Peer-to-Peer Streams - NI states that you need to “obtain the references to the writer and reader using methods associated with the hardware API”.

For instruments like RFSA,VST, etc, there are driver calls to obtain P2P endpoint handles. However, I can’t find an equivalent hardware API for R Series to obtain these endpoints.

 

Question: Is it possible to monitor a P2P stream between two R Series boards from a C host app?
Also, is this possible in LabWindows/CVI?  Has anyone ever tried this out?

0 Kudos
Message 1 of 2
(101 Views)

@adderk12 wrote:

I’ve generated the bitfiles for my peer‑to‑peer (P2P) reader and writer on R Series FPGA targets(7820R and 7868R), and I used the FPGA Interface C API Generator to produce the corresponding C and header files.

I now want to monitor this P2P stream from a Windows host application in Microsoft Visual Studio using the NI P2P API. The NI KB here: Creating and Monitoring Peer-to-Peer Streams - NI states that you need to “obtain the references to the writer and reader using methods associated with the hardware API”.

For instruments like RFSA,VST, etc, there are driver calls to obtain P2P endpoint handles. However, I can’t find an equivalent hardware API for R Series to obtain these endpoints.

 

Question: Is it possible to monitor a P2P stream between two R Series boards from a C host app?
Also, is this possible in LabWindows/CVI?  Has anyone ever tried this out?


I would consider prototyping the concepts you want for your Host code using LabVIEW even if it will not be the final implementation.  Things might be easier to figure out and then redo with the C API.

 

The C API has NiFpga_GetPeerToPeerFifoEndpoint which allows you to get the endpoint handle for any LabVIEW FPGA made bitfile.  See https://www.ni.com/docs/en-US/bundle/fpga-interface-c-api-ref/page/capi/functions_fifo_method.html#d...

 


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 2 of 2
(67 Views)