06-11-2018 08:39 AM - edited 06-11-2018 08:39 AM
Hi
Im using FPGA FlexRio Kintex 7 with 6585B adapter.
i designed a Host panel to download the bitfile to the FLEXRIO , the panel works fine , and the file is download without errors .
Now , im having 2 different Host Vis that i want to run at the same time , to communicate with Target ,
Is it possible ? if Yes how can i implement it ?
Thank You.
Solved! Go to Solution.
06-11-2018 08:56 AM
You can only load 1 bit file into the FPGA at a time. So that might be your major issue.
Otherwise, sharing resources like this is typically a bad idea unless you put in safe guards to make sure both of your host VIs don't interfere with each other. Could you share a little more information on exactly what you are trying to accomplish and maybe we can come up with a better idea for you?
06-11-2018 09:05 AM
Hi ,
There is no problem with only one bit file at a time.
i built two host panels , because there is two much info data , and registers which i want to red and write to the target.
Each panel is full screen , thats the reason why i split them into two vi .
now i want to modify data from one host panel , and see the result that comes from the Target , in another host panel.
Thank you in advance.
06-11-2018 09:12 AM
06-11-2018 09:19 AM
I have three host Vis (three different files). The first is downloading the bit file , and last two are for Host <--> Target communication.
so at first , i download the bitfile to the FPGA using the first panel and close the panel.
In the other two panels i've wired the FPGA reference .
When Im trying to run the other two panels i've got an error :
NI-RIO: (Hex 0xFFFF0925) The handle for device communication is invalid or has been closed. Restart the application.
06-11-2018 09:34 AM
06-11-2018 09:54 AM
Yeah , you right.
Just see that in of the Vis , there was a reset method.
another question : if i open few FPGA references to few hosts , and i'm configuirng it from bitfile , does the download of the bit files happens from each host ? in what occasions should i check "Run the FPGA VI" , if i open few FPGA references are there any interferences ?
Thank You.
06-11-2018 11:15 AM
@Cobmetal wrote:
I have three host Vis (three different files). The first is downloading the bit file , and last two are for Host <--> Target communication.
so at first , i download the bitfile to the FPGA using the first panel and close the panel.
There's part of your problem most likely. If you use a VI to open the reference and then close it, the reference will be discarded with the VI which owns it. The VI which opens the FPGA Reference needs to stay reserved at least in order for the FPGA Reference not to be destroyed. Opened references have the same lifetime as the VIs which open them.