Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA controls and indicators not showing up in FPGA I/O node.

Solved!
Go to solution

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!

Adrian C. Keister, Ph.D.

Certified LabVIEW Architect
Certified Professional Instructor

B.S. in Applied Physics/Computer Hardware and Software Systems, Mathematics, 2001, Grove City College.
M.S. in Mathematical Physics, 2004, Virginia Polytechnic Institute and State University.
Ph.D. in Mathematical Physics, 2007, Virginia Polytechnic Institute and State University.
0 Kudos
Message 1 of 5
(4,220 Views)
Solution
Accepted by topic author akeister

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,

 

 

Spex
National Instruments

To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be has a 2x safety factor...
Message 2 of 5
(4,208 Views)

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. 

 

FPGA Linking Screenshot.jpg

 

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!

Adrian C. Keister, Ph.D.

Certified LabVIEW Architect
Certified Professional Instructor

B.S. in Applied Physics/Computer Hardware and Software Systems, Mathematics, 2001, Grove City College.
M.S. in Mathematical Physics, 2004, Virginia Polytechnic Institute and State University.
Ph.D. in Mathematical Physics, 2007, Virginia Polytechnic Institute and State University.
0 Kudos
Message 3 of 5
(4,205 Views)

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!

Adrian C. Keister, Ph.D.

Certified LabVIEW Architect
Certified Professional Instructor

B.S. in Applied Physics/Computer Hardware and Software Systems, Mathematics, 2001, Grove City College.
M.S. in Mathematical Physics, 2004, Virginia Polytechnic Institute and State University.
Ph.D. in Mathematical Physics, 2007, Virginia Polytechnic Institute and State University.
0 Kudos
Message 4 of 5
(4,179 Views)

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,

Spex
National Instruments

To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be has a 2x safety factor...
Message 5 of 5
(4,176 Views)