Matlab 2016a, NI USB 6009 issue
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
We are using Matlab 2016a with the Data Acquision toolbox. We are trying to use the NI USB 6009 box. The OS is Windows 10 Enterprise. When attempting you use the daq box we get this: >> daq.getDevices
ans =
No data acquisition devices available. Click here for a list of known vendors. Click here for troubleshooting tips.
>> daq.getVendors
ans =
Data acquisition vendor 'National Instruments':
ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.9 (R2016a)'
DriverVersion: 'unknown'
IsOperational: false
Warning: Diagnostic Information from vendor: There was a driver error while loading the MEX file to communicate with National Instruments hardware because the NI-DAQmx driver is either not installed or is older than the required minimum version of '14.5'. Open the Support Package Installer to install the National Instruments driver.
Properties, Methods, Events
Additional data acquisition vendors may be available as downloadable support packages. Open the Support Package Installer to install additional vendors.
>> daq.getDevices
ans =
No data acquisition devices available. Click here for a list of known vendors. Click here for troubleshooting tips.
ans =
Data acquisition vendor 'National Instruments':
ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.9 (R2016a)'
DriverVersion: 'unknown'
IsOperational: false
Warning: Diagnostic Information from vendor: There was a driver error while loading the MEX file to communicate with National Instruments hardware because the NI-DAQmx driver is either not installed or is older than the required minimum version of '14.5'. Open the Support Package Installer to install the National Instruments driver.
Properties, Methods, Events
Additional data acquisition vendors may be available as downloadable support packages. Open the Support Package Installer to install additional vendors.
We have reinstalled the Support Package as suggested but we still have the issue. Any help would be appreciated. Tested the daq box and it is operational.
0 commentaires
Réponses (1)
Varun Bhaskar
le 19 Sep 2016
Hi Camey,
It is likely that you are trying to communicate with a NI-DAQmx version that is incompatible with the Data Acquisition Toolbox. In order to download a compatible driver version(16.1.0) , please perform the following steps: 1. Uninstall the 'NI-DAQmx' support package from the 'Support Package Installer' by navigating to Add-Ons -> Get Hardware Support Packages. 2. Restart your machine and open MATLAB to confirm that no 'NI-DAQmx' support package is currently installed by executing the following command at the MATLAB Command Prompt: >> matlabshared.supportpkg.getInstalled 3. Install the 'NI-DAQmx' support package from the 'Support Package Installer'. It should open up the download box and it should initiate the installation process for 'NI-DAQmx' utility. It might take about one hour to complete the installation process. 4. Close MATLAB and restart your machine. 5. Open MATLAB and execute the following command: >> matlabshared.supportpkg.getInstalled
This should list Ni-DAQmx 16.1.0 as one of the installed support packages. Now you should be able to work with your NI devices from within MATLAB.
0 commentaires
Voir également
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!