Thread Subject: Can't initialize NI DAQ's dll, mwnidaq.dll

Subject: Can't initialize NI DAQ's dll, mwnidaq.dll

From: Charles Phelps

Date: 13 Apr, 2007 11:53:42

Message: 1 of 4

>> daqregister('nidaq')
??? Error using ==> daqregister
Error using ==> daqregister
Unable to load driver C:\MATLAB7\toolbox\daq\daq\private\mwnidaq.dll
A dynamic
link library (DLL) initialization routine failed.

All I have thought to try was closing the NI device detector and
giving full access rights to the 'private' folder, neither of which
worked. My DAQ is the BNC-2110 and I am using Matlab Vers. 7. My data
acquisition toolbox is up to date.

Subject: Can't initialize NI DAQ's dll, mwnidaq.dll

From: Charles Phelps

Date: 13 Apr, 2007 12:14:40

Message: 2 of 4

Meant to say my DAQ is a PCI-6251.

Subject: Can't initialize NI DAQ's dll, mwnidaq.dll

From: Klaus Mustermann

Date: 13 Apr, 2007 17:42:47

Message: 3 of 4

I had the same problem. I wasn't the Admin of the system. In my case
I was running a server version. I begged the Admin to find this
*.dll and give my account full acces to it. Reading permission is
likely to be not enough.

Subject: Can't initialize NI DAQ's dll, mwnidaq.dll

From: Rob Purser

Date: 16 Apr, 2007 08:53:26

Message: 4 of 4

Support for NIDAQmx was first introduced as a web release for R14SP3. The
first complete release it appeared in was R2006a. Before that, Data
Acquisition Toolbox only supported Traditional NIDAQ. I'd suggest using the
latest version (R2007a) to get the best results.

All the best,
-Rob

--
-----
Rob Purser
Senior Team Lead, Connectivity Products
The MathWorks
rob.purser@mathworks.com


You can use Data Acquisition Toolbox, Instrument Control Toolbox, Image
Acquisition Toolbox, and OPC Toolbox to connect your hardware directly to
the analytical power of MATLAB and Simulink. See
http://www.mathworks.com/applications/t_m/ to learn more.

"Charles Phelps" <phelps.10@wright.edu> wrote in message
news:ef5406f.-1@webcrossing.raydaftYaTP...
>>> daqregister('nidaq')
> ??? Error using ==> daqregister
> Error using ==> daqregister
> Unable to load driver C:\MATLAB7\toolbox\daq\daq\private\mwnidaq.dll
> A dynamic
> link library (DLL) initialization routine failed.
>
> All I have thought to try was closing the NI device detector and
> giving full access rights to the 'private' folder, neither of which
> worked. My DAQ is the BNC-2110 and I am using Matlab Vers. 7. My data
> acquisition toolbox is up to date.


Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com