Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

[Help]I need some examples about acquiring multichannel data acquisition and logging in Measurement Studio and Visual C++

I search in NI.COM but I find none.Most example are for LabVIEW and CVI.Can someone provide some example or tutorial for me. Thanks a lot in advance.

帖子被qzxin在05-15-2005 09:51 PM时编辑过了

帖子被qzxin在05-15-2005 09:51 PM时编辑过了

0 Kudos
Message 1 of 6
(6,080 Views)
Hi qzxin-

Several examples of DAQ programming install with Measurement Studio for Visual Studio .NET. DAQmx examples can be found in this folder of your hard drive: C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\DAQmx . For analog measurements, the syntax for adding multiple physical channels to the operation is "DexX/ai0:n" where X is the device number and n is the last channel in the list.

Can you let us know more about which DAQ device and which version of Measurement Studio you're using? It would make it easier to suggest an example.

Thanks,
Tom W
National Instruments
0 Kudos
Message 2 of 6
(6,068 Views)
Hi,Tom W. Thanks for your answer.
I am using PXI-6052 and Measurement Studio 6.0 fo VC 6.0.Some step by step tutorials and examples is what I want. If can,please send them to my email address:zhixin.qian@gmail.com
0 Kudos
Message 3 of 6
(6,062 Views)
Hi qzxin-

There are many examples for both Traditional DAQ and DAQmx in Measurement Studio (i.e. Visual C++ and ANSI C).

These examples install with the NI-DAQ driver and can be found on your installation drive at C:\Program Files\National Instruments\NI-DAQ\Examples .

Regards,
Tom W
National Instruments
0 Kudos
Message 4 of 6
(6,044 Views)

I installed NI-DAQmx using NIDAQ871f3.exe

and no examples were installed in the directory

Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C

 

so what might be the problem

 

0 Kudos
Message 5 of 6
(5,538 Views)
Hi asterof,
 
The examples for newer versions of DAQmx are installed to:
 
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C
 
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 6 of 6
(5,517 Views)