Can't connect with NI Daq

조회 수: 30 (최근 30일)
Nathan
Nathan 2023년 8월 1일
답변: Pooja Kumari 2023년 8월 22일
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

답변 (2개)

Himanshu
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!

Pooja Kumari
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

카테고리

Help CenterFile 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!

Translated by