LabVIEW Application with Sound and Vibration Toolkit has Broken Run Button

Updated Apr 13, 2021

Issue Details

I have created a simple VI with LabVIEW Sound and Vibration toolkit and it is working fine when I run the VI.
image.png
But when I am building it as EXE, I keep getting the following error.

The build was unsuccessful.
Possible reason
A VI broke during the build process from being saved without a block diagram. Either open the build specification to include the block diagram of that VI or enable debugging to include the block diagrams of all VIs in the build. Report this error to National Instruments technical support.

C:\Program Files (x86)\National Instruments\LabVIEW 2020\vi.lib\addons\_NISVFA\_Generation\Signal Generation\SV Signal\Calculate Number of Remaining Samples.vi


error

If I tick Enable debugging in the Advanced category, I can build the EXE successfully but the EXE will has broken run button.
broken run

When I debug the EXE, I realize the LabVIEW Sound and Vibration toolkit VIs I used are missing.
image.png

How can I resolve this issue?

Solution

This issue can be fixed by deselecting theĀ Remove unused polymorphic VI instancesĀ in the Additional Exclusions category as illustrated by the image below.
image.png