No NI device returned by "daq.getDevices"

I am trying to access an NI USB-6001 card in MATLAB.
It is tested successfully in NIMAX. But "daq.getDecives" returns nothing:
>> daq.getDevices
ans =
No data acquisition devices available.
Besides that, I could see "ni" as a vendor in MATLAB, but cannot create an "ni" session, the error message is "Vendor 'ni' not recognized. Use 'daq.getVendors()' for a list of vendors.". See the command line output below:
>> daq.getVendors()
ans =
Number of vendors: 3
index ID Operational Comment
----- --- ----------- ---------------------------
1 ni true National Instruments(TM)
2 mcc true Measurement Computing Corp.
3 dt true Data Translation
Properties, Methods, Events
Additional data acquisition vendors may be available as downloadable support packages.
Open the Support Package Installer to install additional vendors.
>> s = daq.createSession('ni')
Vendor 'ni' not recognized. Use 'daq.getVendors()' for a list of vendors.
Caused by:
Hardware 'ni' not operational using the Data Acquisition Toolbox.
Use 'daq.getVendors()' for a list of supported vendors.
Support for the vendor may require installation of the driver via the Support Package Installer.

 Accepted Answer

Please try to use the "REPAIR" functionality in NI Package Manager to repair the NI-DAQmx driver and see if that helps.

More Answers (0)

Categories

Products

Release

R2019a

Community Treasure Hunt

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

Start Hunting!