Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the difference btwn DAQmx ANSI C and VC?

NI'CD gives some examples, some in DAQmx ANSI C and some in VC? What is the difference?
How to use DAQmx ANSI C and write it into VC6? Thanks.
0 Kudos
Message 1 of 2
(3,061 Views)
Hello,

We provide examples in both Visual C++ and ANSI C separately because they are different in nature. ANSI C is a procedural language...when programming on it the general method of solution is to break the task into successively smaller subtasks (top-down design.)

C++ is an object-oriented language. In C++ generally the first step is to design classes that are abstractions of physical objects. These classes contain both the state of the object, its members, and the capabilities of the object, its methods. After the classes are designed, a program is written that uses these classes to solve the task at hand.

In order to use DAQmx on VC 6, I would encourage you to look at the NI-DAQmx C Reference Help (it installs with NI-DAQ.)This help contains all the information you should need to program DAQmx in C, it explains NI-DAQmx concepts, functions, properties, etc. You can find this help by going to Start >> Programs >> National Instruments >> NI-DAQ.

Hope this helps,

LA
Message 2 of 2
(3,050 Views)