LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV FPGA - Front Panel Strict Typedefs aren't flexible

Solved!
Go to solution

Hi,

 When using LabVIEW FPGA and implementing a strict typedef on the FPGA front panel, this causes issues with the FPGA Reference generated in the PC Code. I've attached a picture.

 

problem.PNG

 

In my PC code, I generate the FPGA ref, then use it. In downstream subVIs I use the same ref. This works fine. But if I ever change the strict typedef and recompile the FPGA code, then I get the broken wire as in the attached picture. I have to manually recreate that FPGA Ref indicator, and cut and paste it into all the downstream subVIs, pain in the butt!

 

You would think that the strict typedef would not need updating in this manual fashion. Can you fix it in future versions, or am I doing something wrong?

 

Configuration Notes:

  • Open FPGA VI Reference is from the bitfile, and in dynamic mode
  • FPGA VI Reference Out Indicator is from the same bitfile
  • Downstream fpgaRef indicators are from bitfile too.

 

Thanks,

 Justin Reina

 

justinmreina@gmail.com
0 Kudos
Message 1 of 3
(2,221 Views)
Solution
Accepted by topic author Justin_Reina

Are you binding the FPGA reference to an interface, or to the VI?  I would think if it's bound to the VI you shouldn't see this problem, but if you bind it to the interface this problem would be understandable.  Also, have you considered making the FPGA Reference a type definition as well?  Then you'd only need to fix it in a single location if it does break.

 

EDIT: in case it's not clear, by binding, I mean right-clicking on the indicator and choosing Configure FPGA Reference.

0 Kudos
Message 2 of 3
(2,214 Views)

alrighty now we're in business! For some reason I was afraid to make that reference a strict typedef. making it a strict typedef solved it!

 

still seems a little complicated, but oh well it works!

 

Thanks!

-Justin

justinmreina@gmail.com
0 Kudos
Message 3 of 3
(2,209 Views)