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:
Create a new project.
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.
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\.
To view examples of NI-DAQmx applications, go to the NI-DAQ\Examples\DAQmx ANSI C Dev directory.
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.
In questo sito non sono utilizzati cookie per la profilazione degli utenti. Utilizza cookie di sessione, necessari per il corretto funzionamento dello stesso e per gestire l'autenticazione ai servizi on-line, alla intranet e alle aree riservate... leggi tutto