필터 지우기
필터 지우기

NI-DAQ device not recognised

조회 수: 63 (최근 30일)
Helen
Helen 2014년 7월 17일
댓글: Walter Roberson 2018년 7월 23일
I want to use the Data Acquisition toolbox to collect data using a National Instruments DAQ device (NI USB-6259). I seem to be failing at the first hurdle... the device is plugged in and powered, and the NI MAX software can see it. But if I try to check the connected devices, I get this:
>> devices = daq.getDevices
devices =
No data acquisition devices available.
I've just downloaded the lastest versions of Matlab (2014a, 64 bit) and the NI drivers (NI-DAQ 9.9). This NI device is listed on their website as a supported device, and I think it should be compatible with the session format. The OS is Windows 7 Pro, running on a Dell laptop.
Can anyone help? I'm out of ideas.

채택된 답변

Mischa Kim
Mischa Kim 2014년 7월 18일
Hello Helen, have you installed the NI-DAQmx Support Package? You can get it either from the MathWorks Hardware Support web site (open up the "MathWorks Requirements" menu in the lower right of the web site) or directly through the MATLAB browser (select in the toolstrip: RESOURCES > Add-Ons > Get Hardware Support Packages).
  댓글 수: 1
Helen
Helen 2014년 7월 21일
Hi Misha,
Thanks for your reply. I have just installed the NI-DAQmx Support Package, and restarted Matlab, and now I can see the device. Thanks so much!
Helen.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Helen
Helen 2014년 8월 1일
That worked. Thanks so much!

Deborah Casinelli
Deborah Casinelli 2016년 6월 28일
Hello,
I have the same problem: my matlab R2014a doesn't recognize the NI USB-6009. I have installed the NI-DAQmx 15.5.1 and the NI-DAQmx Support from Data Acquisition Toolbox as suggested in the previous answers. The device is supported and recognized by the NI MAX software. The OS is Windows 7 Premium Edition running on a Sony Vaio. Thanks for any suggestion.
Deborah
  댓글 수: 3
haoyue gao
haoyue gao 2018년 7월 23일
Hi Walter, I'd like to know how does 32/64 and legacy/session-based interface change the result? As I am using an older version of matlab 2010b, 32bit. Thanks!
Walter Roberson
Walter Roberson 2018년 7월 23일
In some releases, the USB-6009 was supported only in the Legacy interface; see https://www.mathworks.com/matlabcentral/answers/266084-simulink-ni-usb-6009-device#answer_208142; R2016b added back Simulink support for the NI-DAQ devices in the session-based interface.
I am not certain exactly when support for the USB-6009 in session based interface for 64 bit MATLAB was added at the MATLAB level (instead of Simulink level), but it appears it was expected to work at least as early as R2011b; https://www.mathworks.com/matlabcentral/answers/27596-onboard-device-memory-overflow-because-of-system-and-or-bus-bandwidth-limitations-the-driver-could -- but note that is 64 bit.
There used to be conflicting information in the documentation about whether 32 bit MATLAB was able to support the session based interface; I never managed to figure that out for sure (but I remember that I posted evidence of the contradiction at some point.)

댓글을 달려면 로그인하십시오.

카테고리

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