Missing external function sndvib.dll in LabVIEW Executable

Updated Aug 23, 2022

Reported In

Software

  • LabVIEW Sound and Vibration Toolkit
  • LabVIEW Application Builder Module

Programming Language

  • LabVIEW G

Issue Details

I am building a LabVIEW Executable that uses functions from the LabVIEW Sound and Vibration Toolkit. When I build this into an executable, I see a broken run arrow and an error message that states something similar to the following:
c3c3IwYUNo.png
Missing external function sndvib.dll:
OatCICInterpolatorByMovH:C in VI SoundVib_Resampling.lvlib:oa_CIC Interpolation Filter.vi
Missing external function sndvib.dll:OatInterpolationH:C in VI SoundVib_Resampling.lvlib:OAT Single State Interpolation with IC.vi
Missing external function sndvib.dll:OatResampleVariableH:C in VI SoundVib_OrderTracking.lvlib:OAT Convert to Even Angle Signal (1 Channel).vi

Solution

The Sound and Vibration toolkit uses a DLL sndvib.dll that is included in the dependencies of a Sound and Vibration VI. This DLL has a dependency to another DLL, LVASPT_TFA.dll. The LabVIEW Application Builder does not include LVASPT_TFA.dll in the dependency as it cannot find the dependency through the sndvib.dll.

To solve this issue, include the LVASPT_TFA.dll in the project and add it to the executable "Always Included" section.

This DLL can be found from the path "C:\Program Files (x86)\National Instruments\LabVIEW 20XX\resource\LVASPT_TFA.dll" for the 32-bit version of the LabVIEW Sound and Vibration toolkit and "C:\Program Files (x86)\National Instruments\LabVIEW 20XX\resource\LVASPT_TFA.dll" for the 64-bit version of the LabVIEW Sound and Vibration Toolkit, where 20XX is your LabVIEW version.