Error 7 at Build of Sound and Vibration Toolkit VIs in LabVIEW

Updated Nov 29, 2023

Reported In

Software

  • LabVIEW Sound and Vibration Toolkit
  • LabVIEW 2022 Q3
  • LabVIEW 2023 Q1
  • LabVIEW 2023 Q3

Issue Details

Whenever I try to build an executable in LabVIEW 2022 or 2023 using VIs from the LabVIEW Sound and Vibration Toolkit, I keep getting an error 7.

LabVIEW cannot find a file that is a dependency of a Startup, Exported, or Always Included VI.

File Not Found: C:\Program Files\National Instruments\LabVIEW 2022\vi.lib\addons\_NISVFA\_Shared subVIs\Spectrum Averaging\svfa_Average Array (complex) No State.vi

The missing file might be referenced by one of the libraries included in the build or by the file - Multifunction FFT (Simulated).vi. To fix this issue:

- Open all Startup, Exported, or Always Included VIs, recompile them (CTRL+SHIFT Click the Run arrow) and save them to update their dependencies.


Error7.png

Solution

This is a known issue specific to LabVIEW 2022 Q3 and 2023. The problem arises when the source code files are unable to correctly handle instance VIs that are in pseudopaths.
Follow the instructions below to bypass this behavior:
  1. Copy the _NISVFA file from C:\Program Files\NI\LVAddons\nisvt\1\vi.lib\addons and place it in the C:\Program Files\National Instruments\LabVIEW 2023\vi.lib\addons directory.
  2. Relink the dependencies.
  3. Build the project.
Once these steps are completed, LabVIEW will be able to successfully detect the files and build the application.