LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't deploy or "interactively execute" FPGA from LabView

LabView crashes silently when attempting to deploy a compiled FPGA to a cRIO 9039. There is no message in the error log. Using the standalone "RIO Device Setup" can load the bitfile to the FPGA but interactive execution hangs or crashes LabView, making debugging difficult.

 

Things I have already tried:

Reinstalling LabView

Reinstalling the Linux image on the cRIO

Creating a new FPGA VI

 

0 Kudos
Message 1 of 3
(88 Views)

It helps if you post your code as a .ZIP file or with screenshots in the future or open file that your project is in and post the VI's you are referring to.

First, I would use NI MAX to check that the cRIO and your LabVIEW version is the same.

Second, when you right click on the "Open FGPA VI Reference" and click "Configure Open FPGA VI Reference" ensure that "Run the FPGA VI" is NOT checked.

0 Kudos
Message 2 of 3
(35 Views)

Hello J, 

Sharing my experience when something similar happened:

 

FPGA code was already running on the RIO device when I started to compile another FPGA VI. Resulted in a complete crash. 

FPGA code started in the middle of a new (different VI) compilation and post compilation, compiled code tried to run. Resulted in a complete crash.

 

Safe steps to try regardless:

1) Right click connect to your cRIO under the project tree. This will ensure no code is running on it.

2) Open the FPGA VI of your interest and try to run it with its own front panel. (Do not run anything else in the background).

 

See if you get a different result. 

X

0 Kudos
Message 3 of 3
(23 Views)