Problem with MATLAB and NI-DAQ 6212 BNC

조회 수: 1 (최근 30일)
Daniel
Daniel 2012년 3월 9일
편집: Brian Kardon 2020년 11월 5일
In Matlab
daqhwinfo yields
ans =
ToolboxName: 'Data Acquisition Toolbox'
ToolboxVersion: '3.1 (R2012a)'
MATLABVersion: '7.14 (R2012a)'
InstalledAdaptors: {'winsound'}
OS: Windows 7 (64 -bit);
Matlab version R2012a (32bit)
daqregister('nidaq') yields
Unable to load adaptor: C:\Program Files (x86)\MATLAB\R2012a\toolbox\daq\daq\private\mwnidaq.dll.
Driver files or DLL for the specified adaptor could not be found or are not installed.
I have installed NI-DAQmx version 9.4, but I installed it after MATLAB was previously installed. Do I need to reinstall MATLAB?
thanks in advance .
  댓글 수: 1
Manisha
Manisha 2012년 3월 9일
Hi Daniel,
Whats the output of
daq.getVendors
This is a session-based interface command, but could give you more hints on what's wrong.
-Manisha

댓글을 달려면 로그인하십시오.

답변 (1개)

Yony
Yony 2012년 7월 12일
Hi Daniel
I had the same problem. The solution is described in
You should login as administrator and also run Matlab as administator (right click it), and then you can daqregister('nidaq'). It worked for me.
Yonathan
  댓글 수: 1
Brian Kardon
Brian Kardon 2020년 11월 5일
편집: Brian Kardon 2020년 11월 5일
Worked like a charm, thank you!
MATLAB R2013b 32-bit with Data Acquisition Toolbox v3.4 and NI-DAQmx v17.5

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by