LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA VI compilation error in LabVIEW 9.0

Hello,

I am having some problems compiling an FPGA VI for a simple test application and I was hoping I could get some help here. First let me describe my hardware and software: I have a NI cRIO 9074, and couple of C Series modules for DIO, AI, AO, as well as a NI 9505 motor drive module attached on the cRIO.  As software, I am using LabVIEW 9.0 package. I’ve only been using LabVIEW and cRIO/FPGA devices for a short period of time and, when I first looked at building projects with this setup, I created only LabVIEW FPGA projects, but recently I tried creating new projects using the “LabVIEW Real-Time Project” option, two loops (target configuration), and with a Host VI to communicate with the target. When selecting the target, I use the “LabVIEW FPGA Interface” option. In my previous project, created using the option “LabVIEW FPGA projects” I added a small FPGA VI from the examples (NI 9505 examples), where I could read the value of an encoder for a motor and set some currents in order to drive it in current control. After making a new project, using the option “LabVIEW Real-Time Project” (I needed this in order to sort some code for time critical/non time critical loops and also display some 3D virtual stuff on the host VI that would update based on some calculations made on the target), the same FPGA VI does not compile anymore. It returns some errors that I don’t know how to solve. First of all I have to mention that in 75% of the cases when I try compiling, around the middle of the compilation process I get this error message saying “Console window Host has stopped working”.  I have the options OK and Debug. If I click OK, it goes on with the compilation and after 3-4 minutes it stop with an error code. If I click Debug, it open some code in VC++. My concern is the fact that the same FPGA VI compiled successfully in an FPGA Project a couple of days ago, and now it returns an error (Error Code 6) in a Real-Time Project. If someone could help me on this, I would really appreciate it. Also, if someone needs it, I can provide the report file as well.

 

Thank you in advance,

Bogdan

0 Kudos
Message 1 of 5
(3,265 Views)
Maybe due to the version mismatch as explained here
0 Kudos
Message 2 of 5
(3,264 Views)

Hi,

 

 

Thanks for replying, but it cannot be that because I have made no changes to my software. Therefore, there shouldn't be any compatibility issues, because it is the same version of LabView used in both projects.

 

Bogdan

0 Kudos
Message 3 of 5
(3,250 Views)
It might help everyone here debug your issue if you post any error reports and your project with all your VIs.
0 Kudos
Message 4 of 5
(3,207 Views)

I think our first step to see what the compiler worker is doing in the background.  In Windows, open the start menu >> All programs >> National Instruments >> FPGA >> FPGA Compile Worker.  When opening the compile worker, do you get any errors?

For more information: http://www.techyv.com/questions/compilation-error-fpga-vi

0 Kudos
Message 5 of 5
(2,724 Views)