(adsbygoogle = window.adsbygoogle || []).push({}); O_o :: [CAR] Problem with VB/Samples/DAQ/Analog Input/Continuous Acquistion

[CAR] Problem with VB/Samples/DAQ/Analog Input/Continuous Acquistion

|
Measurement Studio 6.0의 컴포넌트 베이스 Sample을 돌리다보면, 다음과 같은 에러가 발생한다.
결론은 DAQmx에서 제공하는 Sample을 사용하는것이 나을듯하다.


Hi,
I have DAQMx 8.0 and Measurement Studio Professional Edition (version 6.0). I loaded the VB Sample Continuous Aquisition and when I pressed Start on the gui, I get
 
Run TIme error 10459
Configuring Channels
The NI-DAQ DLL could not be called due to an interface error.
 
What is the cause of this? How do I fix it?
 
Also in the same example we have a line of cide
 
CWAI1.Channels(1).ChannelString = ......
 
I didnt see this ChannelString property in the documentation of CWAI.
What does Channel(1) mean?
 
Thanks,
Saroj Bono

Hello Saroj,

From the looks of that line of code that you sent it appears that you are using or trying to use Component Works commands to call your DAQ board. 

ComponentWorks uses our older Traditional DAQ calls, so you will not be able to use DAQmx 8.0 if you want to run that program.  Instead, you will need to install Traditional DAQ 7.4.1 and it should allow you to run that program and avoid the error.

Regards,
And