Path: news.mathworks.com!not-for-mail
From: "Rob Purser" <rpurser@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Can't initialize NI DAQ's dll, mwnidaq.dll
Date: Mon, 16 Apr 2007 08:53:26 -0400
Organization: The MathWorks, Inc.
Lines: 36
Message-ID: <evvrkb$mn1$1@fred.mathworks.com>
References: <ef5406f.-1@webcrossing.raydaftYaTP>
Reply-To: "Rob Purser" <rpurser@mathworks.com>
NNTP-Posting-Host: purserr.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1176728011 23265 144.212.219.82 (16 Apr 2007 12:53:31 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 16 Apr 2007 12:53:31 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Xref: news.mathworks.com comp.soft-sys.matlab:403542



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.