LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA compilation error 1026 using LV2011SP1

I just upgraded to LabVIEW 2011SP1 and I cannot get a PCI-7831R to compile.  In addition to LV2011SP1, I have the following installed:

 

 - FPGA (Version 11.0.1)

 - NI-RIO (Version 4.01)

 - Xilinx Tools (10.1)

 

I have a very simple VI that just has a Boolean control on the front panel sending a value to an FPGA I/O on the block diagram.  I have created/compiled more complex VI's using LabVIEW 2010 without any issues.  My issue with 2011SP1 is that once the intermediate files have been generated, a Code Generation Error screen pops up with Internal Errors.  It says

 

Error 1026 occurred at an unidentified location

 

Possible Reason(s):

 

LabVIEW: VI reference is invalid

 

I'm not sure what VI reference it is referring to.  I have tried to compile this just as I have in the past, but to no avail.  I have removed previous versions of LabVIEW from my machine and installed/re-installed the LabVIEW software and other modules from the distribution DVD's.  It seems as though I always get into trouble when trying to upgrade the NI software. 

 

Is there something that I am missing.  I get the same message when trying to compile the examples that are included with the installs.  I know that my R-Series card is installed and working properly because I can run sequences via TestStand that call VI's I created using LV2010.  Any help would be appreciated!

 

 

0 Kudos
Message 1 of 18
(3,483 Views)

Hi mswalker,

 

I am going to set up a system with the same hardware and software and try and reproduce this issue. It will be useful for me to have your project. Could you post on this forum with it attached.


Regards,


Josh B

Applications Engineer
National Instruments
0 Kudos
Message 2 of 18
(3,462 Views)

Hey Josh,

 

Thanks for responding.  Late friday I added the LabVIEW real time drivers and was able to compile this once earlier this morning with no errors.  I then made a small changes (by putting the Boolean control in a while loop) and tried to compile again.  Now I keep getting various Xilinx compile errors.  Starting to get frustrated since the errors vary slightly every time I try to compile.  I will attach a couple of screen shots as well as a zip file that contains the project and VI that I am trying to compile.

0 Kudos
Message 3 of 18
(3,457 Views)

Hi mswalker,

 

Would you be willing to post a MAX technical report? Instructions for doing so are in the link below are below.

 

http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4

 

In your last post you mentioned that the error varies slightly between compilations. Is there any common thread in the errors?

 

Regards,


Josh B

Applications Engineer
National Instruments
0 Kudos
Message 4 of 18
(3,439 Views)

Josh,

 

Attached is the MAX technical zip file. 

 

As for the commonality of the errors, all seem to be related to the Xilinx tools.  It kept throwing different errors in the *.tcl file.  For example, once it was on line 11 of the "synthesize.tcl" file, and another time it was at line 6 of the "removeConstraintsTranslate.tcl" file.  There were a couple of others as I tried to compile several times.  If my memory serves me correctly, they were similar in the fact that the compilation failed due to a xilinx error, but they occured at different points in various *.tcl files in the compile directory.

 

0 Kudos
Message 5 of 18
(3,427 Views)

Hi mswalker,

 

I set up your system on my end with a 7831R and was able to compile and run the vi from your project without an issue. I want to try repairing your FPGA toolkit and the Xilinx software. You can do this by going to add or remove programs and select national instruments software. This will bring up a separate window where you can select both pieces of software and perform a repair on them. Let me know if that resolves the issue.

 

Regards,

 

Josh B

Applications Engineer
National Instruments
0 Kudos
Message 6 of 18
(3,413 Views)

Josh,

I'm having exactly the same issue (error 1026) trying to compile an FPGA after installing the LV2011 DS1. My service request is 1829631 if you have any new info on this issue you can pass on to Alexander.

0 Kudos
Message 7 of 18
(3,395 Views)

Hey Josh,

 

I have already repaired both the FPGA module and Xilinx tools.  In addition, I have done a repair on the LabVIEW installation as well.  That was the first thing that I tried.  I will go ahead and try repairing again.  Should I uninstall the FPGA tools and Xilinx software first - or should I just do a repair from the Add/Remove programs executable?

0 Kudos
Message 8 of 18
(3,385 Views)

Hey mswalker,

 

It looks to me more like permissions errors are involved here. Are you an admin on this PC? From your MAX report and your Screenshots, it looks like you installed everything in the default locations. Do you have full access to C:/NIFPGA? Did you recently change to XP SP3, or did that stay the same during your LabVIEW upgrade process? Is this project stored on a network drive?

 

Bill@NGC: As you can see above, mswalker already resolved the 1026 issue: "I added the LabVIEW real time drivers and was able to compile this once earlier this morning with no errors". The errors that he is experiencing now are not related to 1026. I suggest you install the real-time drivers if that is applicable to your system.

Cheers!

TJ G
0 Kudos
Message 9 of 18
(3,377 Views)

T-REX$

 

I have admin rights on the PC. Everything was installed in the default location.  I do have access to the C:/NIFPGA directory, and can write to it 'at will'.  I upgraded winXP to SP3 quite a long time ago - so XP was at SP3 before I installed LabVIEW 2011SP1.  All of the projects that I create are stored locally on my machine because at certain times during the day the network can get bogged down.

 

As for the real-time drivers, I didn't think they were needed to compile and run an FPGA project.  At any rate, I'm still getting random errors whenever I try to compile, however, some times it works without any issues whatsoever.  With some of the errors, it does look like Xilinx might be having issues writing to the C:\NIFPGA folder, but I don't think this should be an issue due to the fact that other times the compilation finishes successfully.  Weird...

0 Kudos
Message 10 of 18
(3,373 Views)