<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267</link>
    <title>MATLAB Central Newsreader - Failed 'nidaq' adaptor registration</title>
    <description>Feed for thread: Failed 'nidaq' adaptor registration</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 07 Mar 2008 14:55:04 -0500</pubDate>
      <title>Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#419622</link>
      <author>Maxim </author>
      <description>Dear friends,&lt;br&gt;
I&amp;#8217;ve got the following system configuration:&lt;br&gt;
1) NI-DAQmx driver 8.5.0f5&lt;br&gt;
2) MatLab Version 7.5.0.342 (R2007b)&lt;br&gt;
3) Data Acquisition Toolbox  Version 2.11&lt;br&gt;
4) plug-in NI DAQ boards work nicely with NI software&lt;br&gt;
&lt;br&gt;
My MatLab does not automatically register 'nidaq' adaptor, &lt;br&gt;
neither I can do it manually.&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; daqregister('nidaq')&lt;br&gt;
ans =&lt;br&gt;
Unable to load adaptor: &lt;br&gt;
C:\MATLABR2007b\toolbox\daq\daq\private\mwnidaq.dll.&lt;br&gt;
Driver files or DLL for the specified adaptor could not be &lt;br&gt;
found or are not installed.&lt;br&gt;
&lt;br&gt;
Apparently it cannot find &amp;#8216;nidaqmx.dll&amp;#8217;, which is not &lt;br&gt;
present on the PC.&lt;br&gt;
Question: is there a compatibility problem (does The Data &lt;br&gt;
Acquisition Toolbox&amp;#8482; software require Version 7.5 of the NI-&lt;br&gt;
DAQmx drivers)? &lt;br&gt;
&lt;br&gt;
Thank you for your advise,&lt;br&gt;
Maxim</description>
    </item>
    <item>
      <pubDate>Mon, 10 Mar 2008 13:48:16 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#419993</link>
      <author>Sherryl Radbil</author>
      <description>Hi Maxim,&lt;br&gt;
&lt;br&gt;
Are you on Windows XP or Vista?&lt;br&gt;
In either case, do you have Administrator privileges?&lt;br&gt;
If not, have a admin log in and do the registration.&lt;br&gt;
&lt;br&gt;
If you find this solves the problem would you mind posting&lt;br&gt;
back to answer the following question:&lt;br&gt;
Which did you install first - MATLAB/DAT or NI drivers.&lt;br&gt;
&lt;br&gt;
If this doesn't solve the problem please try to create a DAT&lt;br&gt;
object on the soundcard, for example:&lt;br&gt;
ai = analoginput('winsound')&lt;br&gt;
and let us know what the results of that are.&lt;br&gt;
At the same time please post the results of running the command:&lt;br&gt;
daqsupport&lt;br&gt;
(it's long, but very useful).&lt;br&gt;
Best regards,&lt;br&gt;
Sherryl</description>
    </item>
    <item>
      <pubDate>Fri, 14 Mar 2008 14:33:04 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#420912</link>
      <author>Maxim </author>
      <description>Yes,&lt;br&gt;
It did solve the problem. Thank you. &lt;br&gt;
However, why wouldn't it register the adaptor upon &lt;br&gt;
installation?&lt;br&gt;
The order of installation was the following:&lt;br&gt;
1) MatLab 2006b&lt;br&gt;
2) Ni DAQmx&lt;br&gt;
3) MatLab 2007b&lt;br&gt;
Regards,&lt;br&gt;
Maxim&lt;br&gt;
&lt;br&gt;
&quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt; &lt;br&gt;
wrote in message &amp;lt;fr3e70$g2u$1@fred.mathworks.com&amp;gt;...</description>
    </item>
    <item>
      <pubDate>Fri, 14 Mar 2008 17:05:04 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#420943</link>
      <author>Sherryl Radbil</author>
      <description>It wasn't registered for R2006b because when you installed&lt;br&gt;
it the NI-DAQmx drivers were not installed.&lt;br&gt;
I'm not sure why the install of 7b did not register.&lt;br&gt;
In any event I'm glad that executing that command as admin&lt;br&gt;
solved your problem.&lt;br&gt;
Sherryl</description>
    </item>
    <item>
      <pubDate>Mon, 17 Mar 2008 12:02:06 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#421276</link>
      <author>Nilanka </author>
      <description>Hi, &lt;br&gt;
I have the same problem and the same error message.&lt;br&gt;
&lt;br&gt;
The problem is not with the admnistratiive priviledges or&lt;br&gt;
the sequence of installing. (I installed nidaq drivers and&lt;br&gt;
then  MATLAB 7.0 release 14 Daq toolbox 2.5) &lt;br&gt;
Please help !!!&lt;br&gt;
&lt;br&gt;
I am using the NIDAQ driver 8.6 and the card nidaq PCI-6071E&lt;br&gt;
The card works nicely with the labview Signal express&lt;br&gt;
version 2.5&lt;br&gt;
Im using winXP sp2&lt;br&gt;
&lt;br&gt;
N.T.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt;&lt;br&gt;
wrote in message &amp;lt;fr3e70$g2u$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi Maxim,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Are you on Windows XP or Vista?&lt;br&gt;
&amp;gt; In either case, do you have Administrator privileges?&lt;br&gt;
&amp;gt; If not, have a admin log in and do the registration.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If you find this solves the problem would you mind posting&lt;br&gt;
&amp;gt; back to answer the following question:&lt;br&gt;
&amp;gt; Which did you install first - MATLAB/DAT or NI drivers.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If this doesn't solve the problem please try to create a DAT&lt;br&gt;
&amp;gt; object on the soundcard, for example:&lt;br&gt;
&amp;gt; ai = analoginput('winsound')&lt;br&gt;
&amp;gt; and let us know what the results of that are.&lt;br&gt;
&amp;gt; At the same time please post the results of running the&lt;br&gt;
command:&lt;br&gt;
&amp;gt; daqsupport&lt;br&gt;
&amp;gt; (it's long, but very useful).&lt;br&gt;
&amp;gt; Best regards,&lt;br&gt;
&amp;gt; Sherryl</description>
    </item>
    <item>
      <pubDate>Mon, 17 Mar 2008 12:04:03 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#421277</link>
      <author>Nilanka </author>
      <description>Hi, &lt;br&gt;
I have the same problem and the same error message.&lt;br&gt;
&lt;br&gt;
The problem is not with the admnistratiive priviledges or&lt;br&gt;
the sequence of installing. (I installed nidaq drivers and&lt;br&gt;
then  MATLAB 7.0 release 14 Daq toolbox 2.5) &lt;br&gt;
Please help !!!&lt;br&gt;
&lt;br&gt;
I am using the NIDAQ driver 8.6 and the card nidaq PCI-6071E&lt;br&gt;
The card works nicely with the labview Signal express&lt;br&gt;
version 2.5&lt;br&gt;
&lt;br&gt;
NT</description>
    </item>
    <item>
      <pubDate>Mon, 17 Mar 2008 12:56:07 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#421287</link>
      <author>Maxim </author>
      <description>The administrator has to grant &quot;modify&quot; privileges to the &lt;br&gt;
DAQ toolbox user. The reason: apparently, when executing &lt;br&gt;
&amp;gt;&amp;gt;daqregister('nidaq'), MatLab first looks &lt;br&gt;
for &amp;#8216;nidaqmx.dll&amp;#8217;, since it is default value in &lt;br&gt;
MatLab&amp;#8217;s &amp;#8216;mwnidaqmx.dll&amp;#8217;; however &amp;#8216;nidaqmx.dll&amp;#8217; simply does &lt;br&gt;
not exist, since DAQmx uses static lib. But there is &lt;br&gt;
NI &amp;#8216;nicaiu.dll&amp;#8217; which contains DAQmx functions &lt;br&gt;
(&lt;a href=&quot;http://forums.ni.com/ni/board/message?&quot;&gt;http://forums.ni.com/ni/board/message?&lt;/a&gt;&lt;br&gt;
board.id=250&amp;message.id=20608&amp;requireLogin=False). MatLab &lt;br&gt;
finds this value (from registry?) and has to rewrite the &lt;br&gt;
default value in its file(s) (which?). However, if &quot;modify&quot; &lt;br&gt;
privileges are not granted, MatLab&amp;#8217;s files cannot be &lt;br&gt;
modified and MatLab will not know that it should look &lt;br&gt;
for &amp;#8216;nicaiu.dll&amp;#8217;. &lt;br&gt;
Written above is completely a hypothesis of mine. I would &lt;br&gt;
expect MathWorks and NI explain it explicitly in respective &lt;br&gt;
software documentation, however they prefer to keep it an &lt;br&gt;
esoteric knowledge. I have asked both MathWorks and NI, the &lt;br&gt;
respective consultants appeared to &amp;#8230; not know what dll is &lt;br&gt;
needed, they even could not provide a prompt answer whether &lt;br&gt;
NI DAQmx 8.6 driver is compatible with MW DAQ 2.11 toolbox! &lt;br&gt;
I am really disappointed. I have spent huge amount of time &lt;br&gt;
trying to sort it out. I wonder whether it is a general &lt;br&gt;
American attitude towards customers (to keep them &lt;br&gt;
dependent), or it is a problem of a too big and dominant &lt;br&gt;
software producer (as MS, recently fined 2 bn. USD by EU &lt;br&gt;
commission)?&lt;br&gt;
Maxim&lt;br&gt;
&lt;br&gt;
&quot;Nilanka &quot; &amp;lt;nilanka2@yahoo.com&amp;gt; wrote in message &amp;lt;frlmnj$1m8&lt;br&gt;
$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi, &lt;br&gt;
&amp;gt; I have the same problem and the same error message.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The problem is not with the admnistratiive priviledges or&lt;br&gt;
&amp;gt; the sequence of installing. (I installed nidaq drivers and&lt;br&gt;
&amp;gt; then  MATLAB 7.0 release 14 Daq toolbox 2.5) &lt;br&gt;
&amp;gt; Please help !!!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am using the NIDAQ driver 8.6 and the card nidaq PCI-&lt;br&gt;
6071E&lt;br&gt;
&amp;gt; The card works nicely with the labview Signal express&lt;br&gt;
&amp;gt; version 2.5&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; NT</description>
    </item>
    <item>
      <pubDate>Mon, 17 Mar 2008 13:03:08 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#421288</link>
      <author>Sherryl Radbil</author>
      <description>&lt;br&gt;
Support for NI-DAQmx drivers did not come out until DAT 2.8.&lt;br&gt;
Your PCI-6071E will run under both Traditional NI-DAQ as&lt;br&gt;
well as NI-DAQmx, but with 8.6 you don't have Traditional.&lt;br&gt;
&lt;br&gt;
So you'll need to do one of the following to use that device&lt;br&gt;
with MATLAB:&lt;br&gt;
&lt;br&gt;
1. Upgrade to a minimum of MATLAB R14SP3+ and DAT 2.8,&lt;br&gt;
keeping with your NI-DAQ 8.6. This is your best and easiest&lt;br&gt;
option, and you should upgrade directly to the newly&lt;br&gt;
released MATLAB R2008a to enjoy all of the enhancements and&lt;br&gt;
improvements made over the past many years.&lt;br&gt;
&lt;br&gt;
2. Install the Traditional NI-DAQ drivers 7.3 or 7.4. I'm&lt;br&gt;
not sure, but I believe you can't just install these older&lt;br&gt;
drivers OVER 8.6 so you'll have to uninstall 8.6 first. Then&lt;br&gt;
install the Traditional version you have, then reinstall&lt;br&gt;
8.6. When done this way Traditional and MX coexist on your PC.&lt;br&gt;
&lt;br&gt;
In any event, your current configuration is not supported&lt;br&gt;
for the versions of software you have installed.&lt;br&gt;
&lt;br&gt;
Sherryl</description>
    </item>
    <item>
      <pubDate>Wed, 09 Apr 2008 18:53:03 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#425708</link>
      <author>RC </author>
      <description>Hi Friends,&lt;br&gt;
&lt;br&gt;
I am having a similar problem.  My specs are as follows:&lt;br&gt;
&lt;br&gt;
MATLAB version: &lt;br&gt;
7.4.0.287 (R2007a)&lt;br&gt;
&lt;br&gt;
Data Acquisition Toolbox version: &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Name: 'Data Acquisition Toolbox'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Version: '2.10'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Release: '(R2007a)'&lt;br&gt;
&lt;br&gt;
NiDAQ Device: USB-6251 Mass Termination&lt;br&gt;
NiDaq 8.5&lt;br&gt;
&lt;br&gt;
Matlab does not show a nidaq adaptor installed and when I &lt;br&gt;
enter: daqregister('nidaq')&lt;br&gt;
&lt;br&gt;
ans =&lt;br&gt;
&lt;br&gt;
Unable to load adaptor: C:\Program &lt;br&gt;
Files\MATLAB\R2007a\toolbox\daq\daq\private\mwnidaq.dll.&lt;br&gt;
Driver files or DLL for the specified adaptor could not be &lt;br&gt;
found or are not installed.&lt;br&gt;
&lt;br&gt;
Thank you for any input!</description>
    </item>
    <item>
      <pubDate>Wed, 09 Apr 2008 20:55:04 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#425729</link>
      <author>Sherryl Radbil</author>
      <description>&quot;RC &quot; &amp;lt;rumichu@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;ftj3af$eaj$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi Friends,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am having a similar problem.  My specs are as follows:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; MATLAB version: &lt;br&gt;
&amp;gt; 7.4.0.287 (R2007a)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Data Acquisition Toolbox version: &lt;br&gt;
&amp;gt;        Name: 'Data Acquisition Toolbox'&lt;br&gt;
&amp;gt;     Version: '2.10'&lt;br&gt;
&amp;gt;     Release: '(R2007a)'&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; NiDAQ Device: USB-6251 Mass Termination&lt;br&gt;
&amp;gt; NiDaq 8.5&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Matlab does not show a nidaq adaptor installed and when I &lt;br&gt;
&amp;gt; enter: daqregister('nidaq')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ans =&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Unable to load adaptor: C:\Program &lt;br&gt;
&amp;gt; Files\MATLAB\R2007a\toolbox\daq\daq\private\mwnidaq.dll.&lt;br&gt;
&amp;gt; Driver files or DLL for the specified adaptor could not be &lt;br&gt;
&amp;gt; found or are not installed.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thank you for any input!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Try logging in to the PC as Administrator, or someone who&lt;br&gt;
has full administrator rights and then executing&lt;br&gt;
daqregister('nidaq')</description>
    </item>
    <item>
      <pubDate>Thu, 10 Apr 2008 01:34:01 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#425765</link>
      <author>RC </author>
      <description>Hi Sherryl,&lt;br&gt;
I did have full administrator rights when trying this.  My &lt;br&gt;
operating system is Microsoft Windows Vista.&lt;br&gt;
&lt;br&gt;
-RC&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt; &lt;br&gt;
wrote in message &amp;lt;ftjaf8$sap$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Try logging in to the PC as Administrator, or someone who&lt;br&gt;
&amp;gt; has full administrator rights and then executing&lt;br&gt;
&amp;gt; daqregister('nidaq')</description>
    </item>
    <item>
      <pubDate>Thu, 10 Apr 2008 14:58:02 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#425877</link>
      <author>Nilanka </author>
      <description>Hey,&lt;br&gt;
&lt;br&gt;
I corrected my problem. Just check the nidaq driver that&lt;br&gt;
supports the Data acquisition toolbox version ur using. I&lt;br&gt;
corrected my problem by removing the new drivers and&lt;br&gt;
installing the legacy drivers for NIdaq &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;RC &quot; &amp;lt;rumichu@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;ftjqq9$iaj$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi Sherryl,&lt;br&gt;
&amp;gt; I did have full administrator rights when trying this.  My &lt;br&gt;
&amp;gt; operating system is Microsoft Windows Vista.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; -RC&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt; &lt;br&gt;
&amp;gt; wrote in message &amp;lt;ftjaf8$sap$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Try logging in to the PC as Administrator, or someone who&lt;br&gt;
&amp;gt; &amp;gt; has full administrator rights and then executing&lt;br&gt;
&amp;gt; &amp;gt; daqregister('nidaq')&lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Thu, 10 Apr 2008 15:02:05 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#425878</link>
      <author>Sherryl Radbil</author>
      <description>Hi RC,&lt;br&gt;
&lt;br&gt;
Under extremely rare circumstances, users with&lt;br&gt;
Administrative privileges may not have permissions to modify&lt;br&gt;
the registry under Vista.  Before proceeding you should&lt;br&gt;
check the following:&lt;br&gt;
&lt;br&gt;
1) Contact your IT department and/or verify that you&lt;br&gt;
actually have administrative privileges.  Administrative&lt;br&gt;
privileges are always required to register Data Acquisition&lt;br&gt;
Toolbox adaptors.  &lt;br&gt;
&lt;br&gt;
2) If you are using Windows Vista with User Account Control&lt;br&gt;
(UAC) enabled, you need to verify that you are running&lt;br&gt;
MATLAB in elevated mode.&lt;br&gt;
&lt;br&gt;
3) Execute the following command in MATLAB.  &lt;br&gt;
&lt;br&gt;
system(['regsvr32 '&lt;br&gt;
fullfile(matlabroot,'toolbox','daq','daq','private','mwnidaqmx.dll')])&lt;br&gt;
&lt;br&gt;
The dialog box should produce an error message saying the&lt;br&gt;
&quot;Return code was: 0x8007005&quot;.  This error code means&lt;br&gt;
E_ACCESSDENIED.  If the command produced a different error,&lt;br&gt;
then you have a different issue.&lt;br&gt;
&lt;br&gt;
If you are confident that both of the above are satisfied,&lt;br&gt;
the issue may be that users in the &quot;Administrators&quot; group do&lt;br&gt;
not have permissions to modify or create the necessary&lt;br&gt;
registry keys.  Each key in the registry has its own&lt;br&gt;
permissions settings.&lt;br&gt;
&lt;br&gt;
In order to resolve this issue, you need to track down the&lt;br&gt;
individual keys for which you do not have permissions and&lt;br&gt;
modify the permissions of those keys.  One way to do this is&lt;br&gt;
to use Process Monitor.   Process Monitor is an advanced&lt;br&gt;
monitoring tool for Windows that shows real-time file&lt;br&gt;
system, Registry and process/thread activity.  Process&lt;br&gt;
Monitor can be downloaded from:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx&quot;&gt;http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
After installing Process Monitor, start the application and&lt;br&gt;
have it capturing events.  please have it monitor the&lt;br&gt;
registering of DLL. You can then execute the following&lt;br&gt;
command again:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;system(['regsvr32 '&lt;br&gt;
fullfile(matlabroot,'toolbox','daq','daq','private','mwnidaqmx.dll')])&lt;br&gt;
&lt;br&gt;
Then stop the event capture.  Process Monitor should have at&lt;br&gt;
least one entry with an Access denied error.  The Process&lt;br&gt;
monitor generates quite a lot of output in one second. Make&lt;br&gt;
sure to stop monitoring quickly after the above command has&lt;br&gt;
completed.&lt;br&gt;
&lt;br&gt;
For example, you may see that you do not have permissions to&lt;br&gt;
set the registry entry &quot;HKCR\mwnidaqmx.adaptor.1&quot;.  Below is&lt;br&gt;
the Process Monitor line where the error is reported.  The&lt;br&gt;
output below was exported into CSV format.&lt;br&gt;
&lt;br&gt;
&quot;28381&quot;,&quot;3:10:18.6384469&lt;br&gt;
PM&quot;,&quot;regsvr32.exe&quot;,&quot;1364&quot;,&quot;RegCreateKey&quot;,&quot;HKCR\mwnidaqmx.adaptor.1&quot;,&quot;ACCESS&lt;br&gt;
DENIED&quot;,&quot;Desired Access: Set&lt;br&gt;
Value&quot;,&quot;C:\WINDOWS\system32\regsvr32.exe&quot;,&quot;regsvr32&lt;br&gt;
mwnidaqmx.dll&quot;&lt;br&gt;
&lt;br&gt;
This means that you can not set this specific key or perhaps&lt;br&gt;
its parent key.  HKCR stands for &quot;HKey_CLASSES_ROOT&quot;.  In&lt;br&gt;
order to remedy the issue you will need to modify the&lt;br&gt;
permissions in the registry.  Modifying the registry is&lt;br&gt;
risky; therefore we recommend backing up the registry and&lt;br&gt;
any critical data on the computer prior to proceeding.&lt;br&gt;
&lt;br&gt;
What you need to do is run &quot;regedit&quot; (from Start-&amp;gt;Run) and&lt;br&gt;
then right-click the HKey_CLASSES_ROOT top level folder and&lt;br&gt;
select &quot;permissions&quot;.  If necessary change the permissions&lt;br&gt;
on the key to grant local Administrators &amp;#8216;Full Control&amp;#8217;.&lt;br&gt;
Below are some screen shots showing permissions from a good&lt;br&gt;
entry.  If this key already has full control then search for&lt;br&gt;
the subkey &quot;mwnidaqmx.adaptor.1&quot; and verify its permissions.&lt;br&gt;
&amp;nbsp;Then try registering mwnidaqmw.dll again.  &lt;br&gt;
&lt;br&gt;
This may not resolve the issue completely, as other keys may&lt;br&gt;
also be affected.  You may need to repeat the process of&lt;br&gt;
using Process Monitor to find what commands fail with the&lt;br&gt;
&quot;ACCESS DENIED&quot; error message and adjust their permissions also.&lt;br&gt;
&lt;br&gt;
Let us know how you make out,&lt;br&gt;
Sherryl</description>
    </item>
    <item>
      <pubDate>Thu, 10 Apr 2008 19:55:03 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#425939</link>
      <author>RC </author>
      <description>Sherryl, thanks for your reply.  It turns out that although &lt;br&gt;
I had administrator privleges, I needed to be the actual &lt;br&gt;
Administrator user inorder to do the registration.  In &lt;br&gt;
order to access the Administrator account I had to unblock &lt;br&gt;
it in Windows Vista also.  Thanks so much for replying and &lt;br&gt;
your help.  &lt;br&gt;
&lt;br&gt;
Best,&lt;br&gt;
RC</description>
    </item>
    <item>
      <pubDate>Mon, 04 Oct 2010 19:05:10 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#785123</link>
      <author>chethan venkatesh</author>
      <description>hi friend ,&lt;br&gt;
&amp;nbsp;please tell me which version matlab and nidaq  driver &lt;br&gt;
and data acquisition toolbox version you are using&lt;br&gt;
&lt;br&gt;
&quot;Nilanka &quot; &amp;lt;nilanka2@yahoo.com&amp;gt; wrote in message &amp;lt;ftl9tq$ouq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hey,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I corrected my problem. Just check the nidaq driver that&lt;br&gt;
&amp;gt; supports the Data acquisition toolbox version ur using. I&lt;br&gt;
&amp;gt; corrected my problem by removing the new drivers and&lt;br&gt;
&amp;gt; installing the legacy drivers for NIdaq &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;RC &quot; &amp;lt;rumichu@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;ftjqq9$iaj$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi Sherryl,&lt;br&gt;
&amp;gt; &amp;gt; I did have full administrator rights when trying this.  My &lt;br&gt;
&amp;gt; &amp;gt; operating system is Microsoft Windows Vista.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; -RC&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; wrote in message &amp;lt;ftjaf8$sap$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Try logging in to the PC as Administrator, or someone who&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; has full administrator rights and then executing&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; daqregister('nidaq')&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Tue, 12 Oct 2010 18:45:07 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#787168</link>
      <author>Nilanka </author>
      <description>&amp;nbsp;Hi Chethan,&lt;br&gt;
&amp;nbsp;&lt;br&gt;
As you can see from the thread this was done a long time  ago. &lt;br&gt;
Quoting my message in My earlier message &lt;br&gt;
&quot;The problem is not with the admnistratiive priviledges or&lt;br&gt;
&amp;nbsp;the sequence of installing. (I installed nidaq drivers and&lt;br&gt;
&amp;nbsp;then MATLAB 7.0 release 14 Daq toolbox 2.5)&lt;br&gt;
Please help !!!&lt;br&gt;
&amp;nbsp;I am using the NIDAQ driver 8.6 and the&quot;&lt;br&gt;
&lt;br&gt;
I think I then installed a &quot;legacy driver&quot; and got it to work. &lt;br&gt;
This was a long time ago and I don't remember exact details sorry about that.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;chethan venkatesh&quot; &amp;lt;indira.chethan0@gmail.com&amp;gt; wrote in message &amp;lt;i8d8h6$g8u$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; hi friend ,&lt;br&gt;
&amp;gt;  please tell me which version matlab and nidaq  driver &lt;br&gt;
&amp;gt; and data acquisition toolbox version you are using&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Nilanka &quot; &amp;lt;nilanka2@yahoo.com&amp;gt; wrote in message &amp;lt;ftl9tq$ouq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hey,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I corrected my problem. Just check the nidaq driver that&lt;br&gt;
&amp;gt; &amp;gt; supports the Data acquisition toolbox version ur using. I&lt;br&gt;
&amp;gt; &amp;gt; corrected my problem by removing the new drivers and&lt;br&gt;
&amp;gt; &amp;gt; installing the legacy drivers for NIdaq &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot;RC &quot; &amp;lt;rumichu@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;ftjqq9$iaj$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Hi Sherryl,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I did have full administrator rights when trying this.  My &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; operating system is Microsoft Windows Vista.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; -RC&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; wrote in message &amp;lt;ftjaf8$sap$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Try logging in to the PC as Administrator, or someone who&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; has full administrator rights and then executing&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; daqregister('nidaq')&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; </description>
    </item>
    <item>
      <pubDate>Mon, 21 Mar 2011 20:32:21 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#826478</link>
      <author>salma shabayek</author>
      <description>Hi All,&lt;br&gt;
&lt;br&gt;
I've got a very similar problem.&lt;br&gt;
I'm on windows 7. and I installed Matlab R2010a before installing NIDAQmx 9.2.2&lt;br&gt;
&lt;br&gt;
when I type :&lt;br&gt;
&amp;gt;&amp;gt; daqregister('nidaq')&lt;br&gt;
&lt;br&gt;
i get:&lt;br&gt;
ans =&lt;br&gt;
&lt;br&gt;
Unable to load adaptor: C:\Program Files (x86)\MATLAB\R2010a\toolbox\daq\daq\private\mwnidaq.dll.&lt;br&gt;
Driver files or DLL for the specified adaptor could not be found or are not installed.&lt;br&gt;
&lt;br&gt;
can you please help me???&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Salma&lt;br&gt;
&lt;br&gt;
&quot;Sherryl Radbil&quot; wrote in message &amp;lt;ftla5d$4lf$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi RC,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Under extremely rare circumstances, users with&lt;br&gt;
&amp;gt; Administrative privileges may not have permissions to modify&lt;br&gt;
&amp;gt; the registry under Vista.  Before proceeding you should&lt;br&gt;
&amp;gt; check the following:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1) Contact your IT department and/or verify that you&lt;br&gt;
&amp;gt; actually have administrative privileges.  Administrative&lt;br&gt;
&amp;gt; privileges are always required to register Data Acquisition&lt;br&gt;
&amp;gt; Toolbox adaptors.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 2) If you are using Windows Vista with User Account Control&lt;br&gt;
&amp;gt; (UAC) enabled, you need to verify that you are running&lt;br&gt;
&amp;gt; MATLAB in elevated mode.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 3) Execute the following command in MATLAB.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; system(['regsvr32 '&lt;br&gt;
&amp;gt; fullfile(matlabroot,'toolbox','daq','daq','private','mwnidaqmx.dll')])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The dialog box should produce an error message saying the&lt;br&gt;
&amp;gt; &quot;Return code was: 0x8007005&quot;.  This error code means&lt;br&gt;
&amp;gt; E_ACCESSDENIED.  If the command produced a different error,&lt;br&gt;
&amp;gt; then you have a different issue.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If you are confident that both of the above are satisfied,&lt;br&gt;
&amp;gt; the issue may be that users in the &quot;Administrators&quot; group do&lt;br&gt;
&amp;gt; not have permissions to modify or create the necessary&lt;br&gt;
&amp;gt; registry keys.  Each key in the registry has its own&lt;br&gt;
&amp;gt; permissions settings.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; In order to resolve this issue, you need to track down the&lt;br&gt;
&amp;gt; individual keys for which you do not have permissions and&lt;br&gt;
&amp;gt; modify the permissions of those keys.  One way to do this is&lt;br&gt;
&amp;gt; to use Process Monitor.   Process Monitor is an advanced&lt;br&gt;
&amp;gt; monitoring tool for Windows that shows real-time file&lt;br&gt;
&amp;gt; system, Registry and process/thread activity.  Process&lt;br&gt;
&amp;gt; Monitor can be downloaded from:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx&quot;&gt;http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; After installing Process Monitor, start the application and&lt;br&gt;
&amp;gt; have it capturing events.  please have it monitor the&lt;br&gt;
&amp;gt; registering of DLL. You can then execute the following&lt;br&gt;
&amp;gt; command again:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;    system(['regsvr32 '&lt;br&gt;
&amp;gt; fullfile(matlabroot,'toolbox','daq','daq','private','mwnidaqmx.dll')])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Then stop the event capture.  Process Monitor should have at&lt;br&gt;
&amp;gt; least one entry with an Access denied error.  The Process&lt;br&gt;
&amp;gt; monitor generates quite a lot of output in one second. Make&lt;br&gt;
&amp;gt; sure to stop monitoring quickly after the above command has&lt;br&gt;
&amp;gt; completed.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; For example, you may see that you do not have permissions to&lt;br&gt;
&amp;gt; set the registry entry &quot;HKCR\mwnidaqmx.adaptor.1&quot;.  Below is&lt;br&gt;
&amp;gt; the Process Monitor line where the error is reported.  The&lt;br&gt;
&amp;gt; output below was exported into CSV format.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;28381&quot;,&quot;3:10:18.6384469&lt;br&gt;
&amp;gt; PM&quot;,&quot;regsvr32.exe&quot;,&quot;1364&quot;,&quot;RegCreateKey&quot;,&quot;HKCR\mwnidaqmx.adaptor.1&quot;,&quot;ACCESS&lt;br&gt;
&amp;gt; DENIED&quot;,&quot;Desired Access: Set&lt;br&gt;
&amp;gt; Value&quot;,&quot;C:\WINDOWS\system32\regsvr32.exe&quot;,&quot;regsvr32&lt;br&gt;
&amp;gt; mwnidaqmx.dll&quot;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This means that you can not set this specific key or perhaps&lt;br&gt;
&amp;gt; its parent key.  HKCR stands for &quot;HKey_CLASSES_ROOT&quot;.  In&lt;br&gt;
&amp;gt; order to remedy the issue you will need to modify the&lt;br&gt;
&amp;gt; permissions in the registry.  Modifying the registry is&lt;br&gt;
&amp;gt; risky; therefore we recommend backing up the registry and&lt;br&gt;
&amp;gt; any critical data on the computer prior to proceeding.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; What you need to do is run &quot;regedit&quot; (from Start-&amp;gt;Run) and&lt;br&gt;
&amp;gt; then right-click the HKey_CLASSES_ROOT top level folder and&lt;br&gt;
&amp;gt; select &quot;permissions&quot;.  If necessary change the permissions&lt;br&gt;
&amp;gt; on the key to grant local Administrators &amp;#8216;Full Control&amp;#8217;.&lt;br&gt;
&amp;gt; Below are some screen shots showing permissions from a good&lt;br&gt;
&amp;gt; entry.  If this key already has full control then search for&lt;br&gt;
&amp;gt; the subkey &quot;mwnidaqmx.adaptor.1&quot; and verify its permissions.&lt;br&gt;
&amp;gt;  Then try registering mwnidaqmw.dll again.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This may not resolve the issue completely, as other keys may&lt;br&gt;
&amp;gt; also be affected.  You may need to repeat the process of&lt;br&gt;
&amp;gt; using Process Monitor to find what commands fail with the&lt;br&gt;
&amp;gt; &quot;ACCESS DENIED&quot; error message and adjust their permissions also.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let us know how you make out,&lt;br&gt;
&amp;gt; Sherryl</description>
    </item>
    <item>
      <pubDate>Tue, 22 Mar 2011 01:58:05 -0400</pubDate>
      <title>Re: Failed 'nidaq' adaptor registration</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165267#826506</link>
      <author>Rob Purser</author>
      <description>Read Sherryl's earlier message -- everything there applies to Windows 7.  The key thing is to start MATLAB as an administrator.&lt;br&gt;
&lt;br&gt;
-Rob</description>
    </item>
  </channel>
</rss>

