Filter löschen
Filter löschen

NI-DAQ device not recognised

63 Ansichten (letzte 30 Tage)
Helen
Helen am 17 Jul. 2014
Kommentiert: Walter Roberson am 23 Jul. 2018
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.

Akzeptierte Antwort

Mischa Kim
Mischa Kim am 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).
  1 Kommentar
Helen
Helen am 21 Jul. 2014
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Helen
Helen am 1 Aug. 2014
That worked. Thanks so much!

Deborah Casinelli
Deborah Casinelli am 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 Kommentare
haoyue gao
haoyue gao am 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
Walter Roberson am 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.)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by