NI-DAQ device not recognised
70 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Mischa Kim
on 18 Jul 2014
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).
More Answers (2)
Deborah Casinelli
on 28 Jun 2016
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 Comments
haoyue gao
on 23 Jul 2018
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
on 23 Jul 2018
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.)
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!