LabVIEW Error 7 File Not Found During FPGA Compilation

Updated Jul 25, 2022

Reported In

Hardware

  • cRIO-9039

Software

  • LabVIEW FPGA Module
  • LabVIEW

Issue Details

When I click the Run button on my FPGA VI to compile the VI the following error is generated:

Error 7 occurred at an unidentified location

Possible reason(s): LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.

How do I fix this?

Solution

The LabVIEW FPGA Compile Server is incorrectly configured. You need to ensure that Compiler Path is pointing to the correct Xilinx directory. To ensure this, follow these steps.

1. Select Start»Run and enter "regedit" to get the Registry Editor.

2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\LabVIEW\10.0\AddOns\FPGA if you are using a 32-bit operating system. For a 64-bit operating system navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\National Instruments\LabVIEW\10.0\AddOns\FPGA

3. Check if CompilerPath_Xilinx10_1 is pointing to C:\NIFPGA\programs\Xilinx10_1

4. If it is not correct, right-click on CompilerPath_Xilinx10_1 and select modify to change the location.

5. Click Run button on the FPGA VI to compile.
 

Additional Information

Also a Mass compile of your project is suggested in this situation, review the following document How to Mass Compile in LabVIEW