LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA VI not compiled

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.

govindsankar_0-1717151972551.png

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. 

0 Kudos
Message 1 of 4
(367 Views)

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?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(357 Views)

@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:

 

raphschru_0-1717154987681.png

 

Regards,

Raphaël.

0 Kudos
Message 3 of 4
(343 Views)

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:

Xonmyth_0-1717173065109.png

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:

Xonmyth_1-1717173270156.png

 

 

Message 4 of 4
(301 Views)