Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

请问如何使用VC++编写USB-6221的采集程序?

使用数据采集卡:NI USB-6221 BNC

 

为了研究需要,我们需要自行使用VC++对数据采集卡进行编程,但是不知为什么运行C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C下的例程时总是出错?显示一系列.dlll文件找不到,但是之前已经将所有的.dlll文件拷贝到了程序所在文件夹。

 

请问运行NI DAQmx自带例程时,有哪些步骤呢?本人刚刚开始学习VC++,好多都不懂,还请大家多多指教,越详细越好,不胜感激!

 

另外,哪位有VC++开发的采集程序,希望可以共享一下,邮箱:weiguishuang@163.com

0 Kudos
Message 1 of 3
(3,447 Views)

 


Translation from chinese

 

 

Using Data Acquisition Card: NI USB-6221 BNC

 

For purposes of research, we need to use their own VC + + programming for data acquisition card, but I do not know why the run C: \ Documents and Settings \ All Users \ Documents \ National Instruments \ NI-DAQ \ Examples \ DAQmx ANSI C routine, when under the total is wrong? Shows a series of. Dlll File not found, but before all of the. Dlll files are copied to the folder where the program.

 

I ask, when to run NI DAQmx own routine, what are the steps to do? I have just started to learn VC + +, many did not know, but also please the exhibitions, the more detailed the better, be grateful!

 

In addition, there are VC + + development which the collection procedures in the hope can be shared about


0 Kudos
Message 2 of 3
(3,420 Views)

找到例子中的头文件,还有一个静态链接库,放到自己的DEBUG目录下编程就应该可以,程序的编写可以参考例子 通道号要设置正确

0 Kudos
Message 3 of 3
(3,004 Views)