nidaq recognition problem
9 ビュー (過去 30 日間)
古いコメントを表示
The following is a very common problem for Ni-DAQ users and I wish Mathworks would get to the bottom of it.
Does anyone know the full-proof method to install LabView, Matlab, and Ni-Daqmx so that devices are reliably recognized in Matlab.
For example, in my case I recently installed Labview 2011 Professional, Matlab 2012a, and Ni-DAQmx9.5 in that order. Within Matlab, the nidaq toolbox will not load on it's own, so I tried the following, which should be fool-proof:
>> daqregister('E:\Program Files\MATLAB\R2012a\toolbox\daq\daq\private\mwnidaq.dll')
ans =
Unable to load adaptor: E:\Program Files\MATLAB\R2012a\toolbox\daq\daq\private\mwnidaq.dll.
Driver files or DLL for the specified adaptor could not be found or are not installed.
The file is definitely there. So this error is a bit of a dead-end.
I also tried uninstalling 9.5 and then installing Ni-DAQmx9.2 because I know that worked with Matlab2011b on another computer, but I get the same error.
This problem comes up with, I'd estimate, about have of my installs. And even when the daqregister approach works, often functions like There seems to be, at any given time, some golden combination of versions and/or install order that leads to success, but having not been obsessive about tracking my various approaches (yet) I don't know what that golden combination is. Nor would it be useful once I want to upgrade any one of the three.
1 件のコメント
Walter Roberson
2012 年 6 月 25 日
Steven, are you using the 32 bit version of MATLAB or the 64 bit version of MATLAB?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!