11-26-2009 06:30 AM
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
11-26-2009 06:37 AM
11-26-2009 07:30 AM
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
11-30-2009 10:22 AM
12-14-2011 09:59 PM
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