Can't connect with NI Daq
30 次查看(过去 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!