Can't connect with NI Daq

22 vues (au cours des 30 derniers jours)
Nathan
Nathan le 1 Août 2023
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

Réponses (2)

Himanshu
Himanshu le 22 Août 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!

Pooja Kumari
Pooja Kumari le 22 Août 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

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by