Can't connect with NI Daq
22 ビュー (過去 30 日間)
古いコメントを表示
I have a matlab script and I am trying to get interface with my National Instruments PCIe-6321. I know that matlab recognizes the device, as when I use devices = daq.getDevices, it pops up. However; when I try to run my script I get the error: Failure to find requested data acquisition device: nidaqmx.
I have nidaqmx installed, I checked NI package manager, so I'm not sure what is going wrong
0 件のコメント
回答 (2 件)
Himanshu
2023 年 8 月 22 日
Hi Nathan,
Please refer to the following MATLAB answer which is also related to the error “Failure to find requested data acquisition device: nidaqmx”
Hope this helps!
0 件のコメント
Pooja Kumari
2023 年 8 月 22 日
Dear Nathan,
It is my understanding that you are facing “Failure to find requested data acquisition device: nidaqmx” error with National Instruments PCIe-6321. Have you installed the NI-DAQmx Support Package? I am assuming that you are using MATLAB R2023a.
Following are the steps to download the Support Package :
1. You can directly download NI-DAQmx Support Package through the MATLAB ( select the toolstrip: MATLAB Home > Environment > Add-Ons> Get Hardware Support Packages).
2. Open up the “MathWorks Requirements” menu in the lower right of MathWorks Hardware Support Website.
Try Restarting MATLAB as sometimes device recognition can be an issue. And if the issue persists, check if the path to the NI-DAQmx library is correctly set in MATLAB.
If none of the above steps work, consider reinstalling NI-DAQmx. Uninstall the existing version, restart your computer, and then reinstall the latest version of NI-DAQmx from the National Instruments website.
Regards,
Pooja Kumari
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Acquisition Toolbox Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!