Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
20 ratings:
 2.14 out of 5     Rate this Document

Why Do I Get "Error Loading C:\Program Files\National Instruments\LabVIEW x.x\vi.lib\daq\lvdaq.dll. A Dynamic Link Library (DLL) Initialization Routine Failed."

Primary Software: LabVIEW Development Systems
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Multifunction DAQ (MIO)

Problem:
After I open LabVIEW, I try to load my program. When it is loading, this error message is displayed: Error loading C:\Program Files\National Instruments\LabVIEW x.x\vi.lib\daq\lvdaq.dll. A dynamic link library (dll) initialization routine failed.

Solution:
The problem is likely that the National Instruments Traditional NI-DAQ driver has not been installed. If the driver is installed, then this message should not appear.

This problem is typically caused by a user moving a DAQ program to a new computer with new hardware. It is possible that their new hardware may not be compatible with the Traditional DAQ driver, so your Traditional DAQ code will not work with the new piece of hardware.

If the path name in the error message contains the folder DAQ after the LabVIEW x.x directory, then it is a Traditional DAQ program. If it contains the folder DAQmx after the LabVIEW x.x directory, then it is a DAQmx program.

Please see the below related links for more information on what driver your device supports.

Related Links:
KnowledgeBase 2XDHH7BG: Overview of Hardware and Software Support in NI-DAQmx
NI-DAQ Driver Support: Main Page

Attachments:





Report Date: 03/01/2006
Last Updated: 10/07/2008
Document ID: 3V08FFIZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit