LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

structure of C++ program

Hello
Maybe one of you can help! I have inherited a MS C++ 6.0 program which reads a DAQ PAD 6020E. It compiles and appears to get readings. There is a CVI easyio.h header file.

I cannot find any place where the code actually makes DAQ calls. I am a skilled LV programmer and I spent many years earning my living writing C programs about the time C++ became popular.

Question. How does the C++ program call NIDAQ? There are presumably a variety of calls, maybe ActiveX too. I'd appreciate a pointer to a document describing the structure of a C++ program making data acquisition.
John

0 Kudos
Message 1 of 2
(2,693 Views)
Hi John,

Thank you for posting on the National Instruments forums.  Here is a like to a Knowledge Base article that will help you get started.  It lists out how to setup Measurement Studio, which is what allows you to program DAQmx in C++, and where to find examples for C++.

Programming NI-DAQ in Visual C++ 6.0

Thank You,

Nick F.
Applications Engineer
0 Kudos
Message 2 of 2
(2,642 Views)