Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx using Visual C++.NET without Measurement Studio

Hello
 
I am trying to acquire data through my M series DAQ using DAQmx.  I have Microsoft Visual C++.Net and I wanted to know if there was a way for me to acquire my data successfully without Measurement Studio?  I was trying to compile the ANSI C examples in Microsoft Visual C++.NET but I was getting the following error:
 

c:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage\Acq-Ext Clk\Acq-ExtClk.c(50) : fatal error C1853: 'Debug/volt.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)

 

 

0 Kudos
Message 1 of 2
(2,962 Views)

Hi olyha-

You can definitely program for VC++.NET with NI-DAQmx without Measurement Studio.  You may first want to disable precompiled headers using the information in this KB.  You should then make the necessary include and library file settings as described in this KB.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 2 of 2
(2,956 Views)