LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI5640R FPGA non-diagram component compilation timing error

Solved!
Go to solution

Okay, I think I've found the solution for this.

 

There are 2 versions of Xilinx Tools for LV2013: 10.1 and 14.4

This topic http://digital.ni.com/public.nsf/allkb/A4B20D58C051DFB386257A56007BB0B2

says, that for Virtex II (which is in NI5640R) Xilinx 10.1 should be used.

 

So I've installed FPGA module with only Xilinx Tools 10.1. After this I was getting all these errors mentioned above.

Today I've downloaded and installed Xilinx Tools 14.4 along with the 10.1. Recompiled the "Template" more than 10 times using every possible setting and haven't got a single error. Though LabVIEW still uses Xilinx Tools 10.1 for compilation.

 

Obviously the 14.4 instalation fixed something in 10.1. Maybe it was some dll, settings file, or some other shared component.

Though I'm not quite sure if the problem is with Xilinx Tools 10.1. It is still possible that some other software I've been using on both PCs did something to something 🙂

 

I'll try it out on the other PC, and post the result.

0 Kudos
Message 11 of 19
(2,945 Views)

Hmm, this is quite wired. These two, I mean ISE 10.1 and ISE 14.4 should not affect each other. Did you notice any file added to the ISE 10.1 folder? (X:\NIFPGA\programs\Xilinx10_1) Or has any file inside ISE 10.1 folder been modified after your installation of ISE 14.4? If not, I would suggest that you rename the 14.4 folder and compile the VI again to see whether this passes.

0 Kudos
Message 12 of 19
(2,929 Views)

Still don't understand all this.. I tend to blame CCleaner (but I'm not 100% sure). This is the only piece of software, that could alter or delete something somewhere, that was installed on both PCs.


My experience so far:

on PC1: fresh instalation (with Xilinx 10 and Xilinx 14) works perfectry -> some time passes -> tons of compilation errors

on PC2: fresh instalation (with Xilinx 10) works perfectly -> some time passes -> tons of compilation errors -> installed Xilinx 14 and again all works perfectly -> some time passes -> tons of compilation errors again

 

I also tried to repair/uninstall Xilinx Tools, LabVIEW and all NI software. This doesn't help.

 

Personally I think that Xilinx Tools, during installation, creates an item of some kind.

Then this item somehow gets corrupted (possibly by using CCleaner's registry cleanup function).

When trying to reinstall Xilinx Tools, uninstaller leaves this corrupted item in system.

So reinstalling doesn't help, since the corrupted item is still in the system and is not modified during reinstall.

Xilinx 14 installation over Xilinx 10 somehow addresses this problem (probably rewrites or corrects this item).

But if both Xilinx 10 and Xilinx 14 were installed and got corrupted - another Xilinx 14 reinstallation wouldn't help.

 

I'll probably try something more, and if this won't help - I think that it'll be easier to reinstall the OS, than fix this. I've already lost so much time with it. Another solution might be using some other compile server, or running a virtual machine with freshly installed LabVIEW.

0 Kudos
Message 13 of 19
(2,901 Views)

Hi thu^^

 

I'm not 100% sure that this is applicable to the Xilinx installers, but rather than an uninstall or a repair (which will not replace corrupt files, just missing ones), you may be able to run a force-reinstall as per this KnowledgeBase:

 

KnowledgeBase 5WPFGB1V: Force Reinstall NI Software from the Command Prompt in Windows

http://digital.ni.com/public.nsf/allkb/ADD22E807D5A12AD862579EC00760F79

 

This should force a reinstall of all components as though the software hadn't been installed previously.  Note that this won't overwrite shared files that have been updated by other, newer installers.

 

I don't know that this will fix the problem, but it's worth a shot and might save you a lot of headache if the issue crops up again.

 

Regards,

Tom L.
0 Kudos
Message 14 of 19
(2,893 Views)

Thanks, I'll definitely try this.

0 Kudos
Message 15 of 19
(2,886 Views)

I've tried the suggested /reinstall option in many different variations. Uninstalled and reinstalled everything, recompiled VIs multiple times after each system modification. No luck though, I still get something like 50/50 chance of successfull compilation. I've even tried to install some Xilinx tools for LV2012, but nothing happened (what a surprise).

 

Back to square one 🙂

The easiest way to work around this, I imagine, is to install LabVIEW somewhere on other PC, and use it for compilation.

Installing the NI5640R into this another PC is not an option.

This should be better and faster, than keeping a virtual machine for LV, or trying to reinstall Windows.

0 Kudos
Message 16 of 19
(2,860 Views)
Solution
Accepted by topic author thu^^

Full system reinstall helped 🙂

0 Kudos
Message 17 of 19
(2,821 Views)

Could you be more specific? I'm having a similar issue with my LV2014, and 2014 XIlinx Compile Tools for Vivado 2013.4. 

 

Sounds like uninstalling then reinstalling "everything" didn't work before so I'm curious to know what "Full System Reinstall" means. Thank you.

 

 

Message 18 of 19
(2,370 Views)

From where to select balanced design strategy in LV2019. Please help!

0 Kudos
Message 19 of 19
(856 Views)