Why is Error Code 8 Generated During an FPGA Compile?

Updated May 3, 2018

Reported In

Hardware

  • cRIO-9068

Software

  • LabVIEW 2014 SP1 FPGA Module

Other

SW: LabVIEW FPGA 2014 SP1
HW: cRIO 9068

Issue Details

I have created an FPGA VI which I am trying to compile to an FPGA target. During the process I receive the following error:

Error 8 occurred at Copy in niFpgaLocateAndCopyAdditionalIncludes.vi->NiLvFpgaPrimCompareInstantiation.vi->
nirviGetInstantiation.vi->nirviGetInstantiation.vi.ProxyCaller
Possible reason(s): 
LabVIEW:  File permission error. You do not have the correct permissions for 
the file. 


Why am I receiving this error?

Solution

There are a few possible reasons for this error message, either a file which LabVIEW is trying to access is already open in memory, or another program has access to the file already.

A potential cause for this error while compiling FPGA code is that anti-virus software is accessing the files which are generated or called during the compilation process. A simple workaround to this problem is to disable the anti-virus software for the compilation process. Another possible workaround is to close LabVIEW and then open it by right-click and choosing Run As Administrator before compiling.

WAS THIS ARTICLE HELPFUL?

Not Helpful