error message with daq

4 次查看(过去 30 天)
mado
mado 2013-8-2
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 个评论
dpb
dpb 2013-8-3
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 2015-11-11
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.
>>

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by