11-02-2010 08:48 AM
I'm sure there's something simple I'm not doing. I'm using pure FPGA mode on my sbRIO. I have several controls and indicators that I have added to the FPGA code since the last compile. I compiled the code, and even ran it once or twice. However, the new controls and indicators do not show up as options in the FPGA I/O Nodes on the RT side. What's missing?
Thanks!
Solved! Go to Solution.
11-02-2010 01:45 PM - edited 11-02-2010 01:46 PM
Hi Adrian,
How are you linking the RT host code to your FPGA code? It sounds to me like you are accidentially linked to an older version of your FPGA code that doesn't include the new controls/indicators you are looking for. Check the Open FPGA VI Reference VI in RT to see if you are linked to the FPGA VI, or to the correct Build Specification, or to the newest Bitfile (xxxx.lvbitx).
If you link to the VI or the Build Specification that you consistantly use to compile, you will not have to worry about re-linking your RT and FPGA VI after each compile. If you link to the bitfile directly, then you will need to update your RT references after each compile to the latest bitfile.
Regards,
11-02-2010 01:58 PM
Thanks for the reply. I don't know how to tell if I'm linking to a VI, a bitfile, or the target itself. Here's a screenshot of Project Explorer, as well as the actual code containing the Open FPGA VI Reference call.
As you can see, the FPGA Target is called RIO0, and that is what is going into the Open FPGA VI Reference call. The VI that has the controls and indicators that I want to show up is called FPGA Main.vi, and you can see that it is listed under the FPGA target.
Thanks!
11-03-2010 08:50 AM - edited 11-03-2010 08:51 AM
I figured out how to check where the FPGA Open Reference VI is pointing (right-click VI and select Configure Open FPGA VI Reference), and it was pointing to a bitfile. I changed it to point to the VI, and now I can see everything. Thanks!
11-03-2010 08:57 AM
Hi Adrian,
Sorry, I should have been more specific when I said "Check the Open FPGA VI Reference" VI. I'm glad you figured out what I meant and have things working now.
Cheers,