Missing DLL 'dilvaiu.dll' When Deploying LabVIEW Executable

Updated Dec 6, 2022

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Driver

  • NI-DAQmx

Issue Details

I deployed my LabVIEW built executable from my development computer to the deployment computer. When I click on the LabVIEW executable I get an error saying that a DLL named dilvaiu.dll is missing.

Solution

This is a DLL that is included in the NI-DAQmx driver. Your program is trying to access this file and can't find it on the target computer. You need to download the compatible NI-DAQmx driver onto the target computer and try rerunning the executable. 

If you've reinstalled or downloaded the NI-DAQmx driver and don't see a change, you may need to reinstall LabVIEW or the LabVIEW Run-Time Engine and NI-DAQmx on the target computer.

Additional Information

You will also always need the LabVIEW Runtime Engine on any computer you are running LabVIEW executables on. When deploying code to end users, it is best practice to built an installer that includes all needed drivers and additional software. Instructions on how to do this can be found the this tutorial