Error -2625 When Compiling LabVIEW FPGA VIs

Updated Aug 20, 2021

Reported In

Software

  • LabVIEW FPGA Module
  • Compile Cloud Service

Issue Details

I am attempting to compile an FPGA VI. This same VI has been compiled successfully several times, and I'm in the process of recompiling after several small changes. However, this time the process fails and FPGA compilation window shows the following error message:
 

LabVIEW: An error occurred while saving the document.

Error -2625 occurred at Failed to write file Invoke Node in niFpgaCompileWorker_ConvertBitstreamToBitfile.vi->niFpgaCompileWorker_CreateBitfile.vi->niFpgaCompileWorker_JobComplete.vi->niFpgaCompile_Worker.vi:6460001

Possible reason(s):

LabVIEW: An error occurred while saving the document.


 

What is the cause of this issue and how can I resolve it?

Solution

This error message is due to the bitfile filename or path that is too long. Some Xilinx compilation tools have a shorter filename length limit than Windows.

Reducing or shortening the bitfile filename length should resolve this issue using this link Moving my LabVIEW FPGA Project to a New Location Without Recompiling