Decreasing Size or Changing Location of NIFPGA Folder

Updated Apr 14, 2023

Reported In

Software

  • FPGA Xilinx Compilation Tools
  • LabVIEW FPGA Module

Issue Details

Folder c:\NIFPGA occupies several gigabytes on my main drive. Is there any chance how to decrease the size of this folder or to move this folder to different location?

Solution

Folder c:\NIFPGA contains Xilinx Tools (compilers), which are necessary for compiling FPGA code created in LabVIEW FPGA Module. The size of this folder is given by a number of different compilers installed on your PC. 

If you don't use LabVIEW FPGA Module or don't develop FPGA code, you can uninstall Xilinx Tools from the PC to decrease the size of c:\NIFPGA folder.

You can also move c:\NIFPGA folder to a different location using a function called NTFS symbolic link. Follow these steps to do this:
  1. Move the c:\NIFPGA directory wherever you want it.
  2. Open a command window with Administrator privileges (search for cmd.exe in the start menu search, then right click the cmd.exe result and choose Run as administrator).
  3. type cd c:\
  4. type mklink /D NIFPGA <path to real NIFPGA>
  5. Run an FPGA compilation to verify proper functionality.
Note: The described workaround is not fully tested by National Instruments and therefore it's not officially supported.

Additional Information

An NTFS symbolic link (symlink) is a filesystem object in the NTFS filesystem that points to another filesystem object. Symbolic links should be transparent to users; the links appear as normal files or directories, and can be acted upon by the user or application in exactly the same manner.