Error 7 Occurred at Invoke Node in AB_Engine_Write_Linker_Wrapper.vi

Updated Jan 11, 2023

Reported In

Software

  • LabVIEW Application Builder Module

Issue Details

When I try to build an EXE in LabVIEW, I get the following error:
Error 7 occurred at Invoke Node in AB_Engine_Write_Linker_Wrapper.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.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. 


If I do a preview before the build, I get a successful preview, but nearing the completion of the build, I get the following:
LabVIEW prevented a file name collision during the build. Duplicate file names cannot be copied to the same destination. You can rename files as part of the build process to avoid name conflicts.

The following files were moved to a unique location:

C:\Program Files\National Instruments\LabVIEW 2016\vi.lib\Utility\NIReport.llb\NI_report.lvclass
C:\Program Files\National Instruments\LabVIEW 2016\vi.lib\Utility\NIReport.llb\NI_ReportGenerationCore.lvlib
C:\Program Files\National Instruments\LabVIEW 2016\vi.lib\Utility\NIReport.llb\Excel\NI_Excel.lvclass
C:\Program Files\National Instruments\LabVIEW 2016\vi.lib\Utility\NIReport.llb\HTML\NI_HTML.lvclass
C:\Program Files\National Instruments\LabVIEW 2016\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass

Solution

The above errors generally point to missing files or mismatched locations.  Take the following steps to resolve missing item issues:
  1. Right-click on the root of your project in the LabVIEW project explorer.
  2. Select Find Missing Items
  3. Look at the list of items that are missing and try to find where they should be on your computer.
  4. If you can resolve the missing items in the window, do so.  If you are not able to resolve the missing items.  Remove missing items from your project and manually add them back to the project.
If the above steps do not resolve your issue, try out the below items:
  • Check your LabVIEW project explorer for conflicting items and fix them .
  • Create a new build spec and try to build again.
  • Try building on another computer