error message with daq

조회 수: 6 (최근 30일)
mado
mado 2013년 8월 2일
편집: Walter Roberson 2015년 11월 12일
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에서 Simultaneous and Synchronized Operations에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by