error message with daq

8 vues (au cours des 30 derniers jours)
mado
mado le 2 Août 2013
i have matlab 2012a and i want to use ni daq so i typed 'daqhwinfo" and error message appeared
Error using daqhwinfo (line 42)
To learn about using data acquisition devices on the win64 platform,
see the documentation on the session-based interface.
when i typed "daq.getVendors()" it gives
%Data acquisition vendor 'National Instruments':
ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.1 (R2012a)'
DriverVersion: 'unknown'
IsOperational: false
%Warning: Diagnostic Information from vendor: NI: There was a driver
error while
loading the MEX file to communicate with National Instruments
hardware.
It is possible that the NI-DAQmx driver is not installed or is older
than
the required minimum version of '9.1'.
Additional information:
'Invalid MEX-file
'F:\mat12\toolbox\daq\daq\+daq\+ni\private\mexNIDAQmx.mexw64': The
specified module could not be found.'
  2 commentaires
dpb
dpb le 3 Août 2013
Looks like first thing to do would be to look at versions for the driver installed and updates and perhaps a reinstallation.
Andreas Georgiou
Andreas Georgiou le 11 Nov 2015
Hello Mado,
did you manage to resolve your issue? It seems I have the exactly the same one. My drivers are up to date but I still get the same error. If you have an idea why the error appears it will be of great help.
I am using Windows 10, 64-bit and installed the latest drivers from NI (v15.x). The device appears to work properly from the device manager.
Many thanks
Andreas
The full error is:
>> daq.getVendors
ans =
Data acquisition vendor 'National Instruments':
ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.7 (R2015a)'
DriverVersion: 'unknown'
IsOperational: false
Warning: Diagnostic Information from vendor: NI: There was a driver error while loading the MEX file to communicate with National Instruments hardware. It is possible that the NI-DAQmx driver is not installed or is older than the required minimum version of '9.1'. Additional information: 'Invalid MEX-file 'C:\Program Files\MATLAB\R2015a\toolbox\daq\daq\+daq\+ni\private\mexNIDAQmx.mexw64': The specified module could not be found.'
Properties, Methods, Events
Additional data acquisition vendors may be available as downloadable support packages. Open the Support Package Installer to install additional vendors.
>>

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simultaneous and Synchronized Operations dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by