05-31-2024 05:45 AM
Hello,
I have access to a program that uses NI CRIO. But the program is showing an error. And I am new to FPGAs in general as well as in labview.
It is showing FPGA VI not compiled. I tried googling how to compile FPGA VIs and it is showing that we can click the run button and the compile window pops up. But I cant click run button because of broken arrow. How do I fix this. To let you know, this program was not written by me. Its not even present in my PC. Its in a remote PC in a different continent and FPGA is connected to that PC. Anyway labview is detecting the FPGA. So that is fine. But i cant compile this.
05-31-2024 06:04 AM - edited 05-31-2024 06:05 AM
Hi govindsankar,
@govindsankar wrote:
It is showing FPGA VI not compiled. I tried googling how to compile FPGA VIs and it is showing that we can click the run button and the compile window pops up. But I cant click run button because of broken arrow. How do I fix this.
You can compile FPGA VIs the same way as you compile VIs for Windows or Realtime targets (like cRIO): you create a BuildSpec in your LabVIEW project in the subtree of interest (MyComputer, Realtime, FPGA), then you right-click this BuildSpec and choose "Build"…
(Why do you need to google for such basic stuff?)
05-31-2024 06:41 AM
@govindsankar wrote:
I tried googling how to compile FPGA VIs and it is showing that we can click the run button and the compile window pops up. But I cant click run button because of broken arrow.
This is in case you want to run the FPGA VI directly.
In you current case, you are opening a reference to the FPGA VI using the FPGA Interface from your (RT) host target.
What you need to do is find the associated build specification under the FPGA target and build it:
Regards,
Raphaël.
05-31-2024 11:36 AM - edited 05-31-2024 11:42 AM
Hi GovindSankar,
Edit:
@govindsankar wrote:
But I cant click run button because of broken arrow. How do I fix this.
Besides the obvious, fixing the broken arrow if VI has something missing, make sure you are opening the FPGA VI under the FPGA target. The title bar should look like this:
If it is opening up under "My Computer" or the RT target, it will have broken arrow.
Make sure that the FPGA is not in simulation mode if clicking run button does not start the compilation and just start running the VI: