Can't connect with NI Daq
30 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Himanshu
on 22 Aug 2023
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 Comments
Pooja Kumari
on 22 Aug 2023
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 Comments
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!