DAQmx Error: Some Components Required for Editing Are Missing

Updated Nov 20, 2018

Reported In


  • LabVIEW


  • NI-DAQmx

Issue Details

  • When I place a DAQ Assistant in my programming environment, I get the error: Initialization Error: Some components required for editing are missing. 
  • After I open or start LabVIEW, I try to load my code. When it is loading, this error message is displayed: Error loading "nilvaiu.dll"​. A dynamic link library initialization routine failed.



This error is usually caused by a corrupt installation of the DAQmx driver. Try the following steps to fix the issue:
If the steps above did not solve the issue, try installing the executable with explicit Windows permissions
  1. Uninstall the DAQmx driver.
    1. Navigate to the Windows Control Panel» Programs and Features. Select National Instruments Software and press the Uninstall/Change button. Select all of your DAQmx products for your version including (NI-DAQmx, NI-DAQmx ADE Support and NI-DAQmx MAX Configuration Support) and press Remove (or Remove Selected).
  2. Reinstall the DAQmx driver from online or from physical media.
  3. Locate the DAQmx driver installation executable. Right click on the executable and select Run as Administrator. Then follow the standard installation procedure.