09-25-2014 11:33 PM
Hi,
I am currently working on project that uses one PXIe-7965R card. I need to addd another FPGA card to the chassis( the same model).
By adding another FPGA I will have 2 targets . My question is can I call both FPGA Target VIs from 1 FPGA Host VI?
Is there any example showing how to call multiple FPGA targets from host side?
Thanks
09-26-2014 12:30 AM
Yes you can do it. I was working with 3 FPGA PXI cards (same model) on one chassis (running the same bitstream of course).
As for example I have no idea but if there isn't any I will try to make a simple one tommorow.
09-26-2014 08:48 AM
Hi Tintin,
You can definitely call both of them from a Host VI, you just need to call the Open FPGA VI Reference on each of your targets. For an example of what this looks like, check out the Peer to Peer example which shows how to stream data directly between two FlexRIO FPGA Modules. You can find it in the Example Finder, under Hardware Input and Output > FlexRIO > Peer to Peer.
Stephen
09-29-2014 04:45 PM
Thanks Stephen and Jerek
As you mentioend I can use the Open FPGA VI Ref to get reference to each target. This is for example 1 of my VIs.
Inside these subVIs I use FPGA Read and write controls. Can I copy and paste the same blocks in my top VI and pass teh second FPGA ref or I haev to pass teh second FPGA Ref and modify the subVIs as well.
2 Tragets are completely sperated and I don't need to worry about timing stuff between them