Error 7: File Not Found When Building an Application

Updated Mar 10, 2021

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module
  • LabVIEW Real-Time Module

Issue Details

I get the following or a similar message that says error 7 occured at the following VIs: AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller:
 
Error 7 occurred at Copy in AB_CDF_Delegate.lvclass:Copy Files.vi->AB_CDF_Delegate.lvclass:Build.vi->AB_RTEXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller 

Possible reason(s): 

LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct. 
========================= 
Nonexistent GPIB interface.

Solution

Windows uses a maximum path length of 260 characters. Using a longer path might cause problems. If you encounter the error described above, use a shorter path length of the output directory. For example, a new folder directly on C:\.

Note: This error can also appear if one of the VIs is corrupted. Check and ensure that all your VIs are working properly.

Additional Information

The following article describes how the naming and the path structure in Windows works: Naming Files, Paths, and Namespaces