LabVIEW 2010 with Xilinx Compilation Tools 10.1 FPGA Compile Worker Failing During Local Compilation

Updated Aug 15, 2018

Reported In

Software

  • LabVIEW
  • FPGA Xilinx Compilation Tools

Issue Details

I have the LabVIEW 2010 FPGA Module with Xilinx Compilation Tools 10.1 local compile worker installed. When I try to compile locally, the compile worker starts the job, runs for some amount of time, then terminates with this error: 

The compile worker terminated this compilation unexpectedly, and there were no other compile workers available to restart this compilation.

Then in file C:\Program Files\National Instruments\FPGA\CompileWorker\workerLog.txt, I see an error similar to the following:

CompileWorker.exe Error: 0 : Attempted to read or write protected memory. This is often an indication that other memory is corrupt. 
at NationalInstruments.NIFarm.NIFarmClient.NativeMethods.NIFarm_DownloadFile(String sessionId, String jobId, String fileName) 
at NationalInstruments.NIFarm.NIFarmClient.DownloadFile(String jobId, String fileName) 
at NI.LV.FPGA.CompileWorkerUI.CompileWorkerThread.ThreadMain()


How do I fix this error?

Solution

This issue can happen for a variety of reasons. Some of the possible troubleshooting steps to try include:

1. Try to run Xilinx Compilations Tools 10.1 as well as LabVIEW as administrator. You can do this by right clicking on both applications before opening them and selecting Run as Administrator
2. Verify all anti-virus and firewall programs on your PC are disabled and try to compile again.
3. You can try repairing the LabVIEW FPGA Module. This can be done by navigating to Control Panel » Programs and Features » National Instruments Software, and selecting Uninstall/Change and from there selecting Repair
4. Similarly, you may also try running a repair on Xilinx Compilation Tools 10.1 as well.
5. If steps 1-4 are not successful, the next step would be to uninstall and reinstall the LabVIEW FPGA Module as well as Xilinx Compilation tools. Alternatively, you can try to force reinstall them.
6. Ensure there are no pending Windows updates on your PC and that there are no pending NI software updates. If there are any pending updates, it is recommended to install them to see if they may have been causing the issue.

Additional Information

If none of the steps above solve the compilation issue, another possibly solution would be to upgrade LabVIEW, LabVIEW FPGA, and Xilinx Compilation tools 10.1 Xilinx compilation tools 10.1 for LabVIEW 2010 is the oldest compilation tools supported by NI hardware and software. Many bugs and issues were resolved in future releases of the tools, so a blanket upgrade may solve the issue.

WAS THIS ARTICLE HELPFUL?

Not Helpful