Effacer les filtres
Effacer les filtres

NI-DAQ device not recognised

63 vues (au cours des 30 derniers jours)
Helen
Helen le 17 Juil 2014
Commenté : Walter Roberson le 23 Juil 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.

Réponse acceptée

Mischa Kim
Mischa Kim le 18 Juil 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 commentaire
Helen
Helen le 21 Juil 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.

Connectez-vous pour commenter.

Plus de réponses (2)

Helen
Helen le 1 Août 2014
That worked. Thanks so much!

Deborah Casinelli
Deborah Casinelli le 28 Juin 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 commentaires
haoyue gao
haoyue gao le 23 Juil 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 le 23 Juil 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.)

Connectez-vous pour commenter.

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by