Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Failed 'nidaq' adaptor registration
Date: Mon, 17 Mar 2008 12:56:07 +0000 (UTC)
Organization: Newcastle University
Lines: 46
Message-ID: <frlpp7$saa$1@fred.mathworks.com>
References: <fqrl08$l5r$1@fred.mathworks.com> <fr3e70$g2u$1@fred.mathworks.com> <fre2av$45l$1@fred.mathworks.com> <freb80$cmf$1@fred.mathworks.com> <frlmnj$1m8$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205758567 29002 172.30.248.38 (17 Mar 2008 12:56:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 17 Mar 2008 12:56:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1307140
Xref: news.mathworks.com comp.soft-sys.matlab:457626



The administrator has to grant "modify" privileges to the 
DAQ toolbox user. The reason: apparently, when executing 
>>daqregister('nidaq'), MatLab first looks 
for &#8216;nidaqmx.dll&#8217;, since it is default value in 
MatLab&#8217;s &#8216;mwnidaqmx.dll&#8217;; however &#8216;nidaqmx.dll&#8217; simply does 
not exist, since DAQmx uses static lib. But there is 
NI &#8216;nicaiu.dll&#8217; which contains DAQmx functions 
(http://forums.ni.com/ni/board/message?
board.id=250&message.id=20608&requireLogin=False). MatLab 
finds this value (from registry?) and has to rewrite the 
default value in its file(s) (which?). However, if "modify" 
privileges are not granted, MatLab&#8217;s files cannot be 
modified and MatLab will not know that it should look 
for &#8216;nicaiu.dll&#8217;. 
Written above is completely a hypothesis of mine. I would 
expect MathWorks and NI explain it explicitly in respective 
software documentation, however they prefer to keep it an 
esoteric knowledge. I have asked both MathWorks and NI, the 
respective consultants appeared to &#8230; not know what dll is 
needed, they even could not provide a prompt answer whether 
NI DAQmx 8.6 driver is compatible with MW DAQ 2.11 toolbox! 
I am really disappointed. I have spent huge amount of time 
trying to sort it out. I wonder whether it is a general 
American attitude towards customers (to keep them 
dependent), or it is a problem of a too big and dominant 
software producer (as MS, recently fined 2 bn. USD by EU 
commission)?
Maxim

"Nilanka " <nilanka2@yahoo.com> wrote in message <frlmnj$1m8
$1@fred.mathworks.com>...
> Hi, 
> I have the same problem and the same error message.
> 
> The problem is not with the admnistratiive priviledges or
> the sequence of installing. (I installed nidaq drivers and
> then  MATLAB 7.0 release 14 Daq toolbox 2.5) 
> Please help !!!
> 
> I am using the NIDAQ driver 8.6 and the card nidaq PCI-
6071E
> The card works nicely with the labview Signal express
> version 2.5
> 
> NT