Creating an ANSI C Application without LabWindows/CVI

NI-DAQmx has a C API that you can use to create applications. To create an application, follow these general steps:

  1. Create a new project.
  2. Open existing or new source files (.c), and add them to the project. Make sure you include the NI-DAQmx header file, nidaqmx.h, in your source code files. You can find this header file at NI-DAQ\DAQmx ANSI C Dev\include.
  3. Add the NI-DAQmx import library, nidaqmx.lib, to the project. The import library files are located under NI-DAQ\DAQmx ANSI C Dev\lib\.
  4. To view examples of NI-DAQmx applications, go to the NI-DAQ\Examples\DAQmx ANSI C Dev directory.
  5. Build your application.

For help with NI-DAQmx functions, refer to the NI-DAQmx C Function Reference Help, which is installed by default at Start»National Instruments»NI-DAQ»NI-DAQmx C Reference Help.

INFN Genova privacy policy