Missing lvsound.dll Library After Upgrading LabVIEW

Updated Oct 10, 2018

Reported In

Software

  • LabVIEW

Issue Details

My VI uses the sound API from a prior version of LabVIEW. After upgrading to a 64-bit version of LabVIEW, I have a broken run arrow that references a missing library. What happened to the library and what can I do to correct this error?

Solution

A new sound API was created in LabVIEW 8.0 for Windows and LabVIEW 2009 for Mac that supports 32- and 64-bit operating systems. This API calls functions from the lvsound2.dll library and can be found in Programming>>Graphics & Sound>>Sound in LabVIEW Functions Palette.
This library can be found in <Program Files>\National Instruments\LabVIEW 20XX\vi.lib where XX represents the version of LabVIEW that you have installed.

You will need to modify your code and replace functions from the old sound API with functions from the new API. This will change your program to make calls from lvsound2.dll instead of lvsound.dll.

Additional Information

If the code was written prior to the new sound API being released, the LabVIEW palette will show functions from the old sound API that calls from the lvsound.dll library. For example, LabVIEW 6.0 on Windows will still contain the old sound API on the palette. These functions are not supported on 64-bit applications that attempt to call this library. This library will still work with LabVIEW 32-bit on Windows 64-bit.

WAS THIS ARTICLE HELPFUL?

Not Helpful