This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

My DAQmx Installation is Missing the Library "nidaqmx.h"

Updated Apr 9, 2025

Reported In

Software

  • LabWindows/CVI

Driver

  • NI-DAQmx

Programming Language

  • Python
  • C

Issue Details

I am trying to use an object-oriented programming language to program NI hardware using the DAQmx library. The header file is included in my program, and when running I get the following error message. 
​ 'NIDAQmx.h': No such file or directory

What can I do to solve this issue?

Solution

The header file NIDAQmx.h should be located in the following folder:

Program Files (x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\include\NIDAQmx.h

If it is missing, try these steps: