11-14-2007 03:32 AM
11-14-2007 04:57 PM
11-14-2007 05:36 PM
When I compile a program for FPGA, I just compile the main vi. It automatically compiles all the sub-vis as part of the program, and generates the FPGA code for the entire program.
When you compile sub-vis, I am pretty sure you are wasting your time. The only reason you would want to compile a sub-vi is if you want to run it as a standalone routine for testing.
Next time you compile your program, just compile the main vi and see if it runs properly. You can delete all the FPGA bitmaps for the sub-vis.
Bruce
11-14-2007 11:40 PM
11-15-2007 04:16 AM
07-23-2022 04:42 PM
Hello,
I attach a VI which I originally found on the forums which has saved me so much time!
It allows for the mass compilation of FPGA bitfiles for different targets.
I have slightly improved the original version by cleaning up the front panel, error wiring, and reference closing which massively cut down on RAM usage and # of windows open.
I hope that it saves you as much time as it has saved me. I wish I could give credit to the original author.
07-24-2022 09:27 AM
07-25-2022 04:13 PM
LabVIEW2020 Version attached!
11-12-2025 02:08 PM
I follow up with a VI snippet version which also includes a hidden/private method for saving dirty subVIs (I refactored my FPGA VIs to have subVIs and the mass compile was thwarted by "save" prompts).
You may have to add "SuperSecretPrivateSpecialStuff=true" to your LabVIEW .ini file to use this, but I am unsure.
I hope this helps someone!