Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

matlab with NI-usb 6008

hello,
 
I'm trying to connect the NI-usb 6008 DAQ with Matlab.
I've followed the instructions given in Matlab yet matlab cant load the adaptor for NI.
 
I've installed NI-DAQmx 8.6
 
the message that i keep receiving is :
 
daqregister('nidaq')
ans =
Unable to load adaptor: C:\Program Files\MATLAB\R2007a\toolbox\daq\daq\private\mwnidaq.dll.
Driver files or DLL for the specified adaptor could not be found or are not installed.
 
the dll is instaled.
 
the OS is vista
 
daqhardwareinfo =
          ToolboxName: 'Data Acquisition Toolbox'
       ToolboxVersion: '2.10 (R2007a)'
        MATLABVersion: '7.4 (R2007a)'
    InstalledAdaptors: {'winsound'}
 
 
i'll appreciate any help on the subject,
 
Regards,
Moshe G

0 Kudos
Message 1 of 18
(9,385 Views)
Do you have the National Instruments NIDAQmx drivers installed?  Can you see the device in MAX?  We have tested this device with VIsta 32.

-Rob
-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 2 of 18
(9,375 Views)

i've installed all drivers and it appears on MAX.

i'm also using vista 32.

we checked the device on another computer with XP sp2 and it works fine with Matlab.

 

Moshe

0 Kudos
Message 3 of 18
(9,361 Views)
It sounds like the Data Acquisition Toolbox can't find your NIDAQmx drivers.  Check to make sure that the NIDAQmx DLLs are on your path.

-Rob
-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 4 of 18
(9,356 Views)
i'm receiving this msg when trying to add the path:
 
"you cannot add method folders(ones that starts with '@')
or private folders to your Matlab search path."
 
i tried to change the folder name but it didnt do the trick.
 
Moshe
0 Kudos
Message 5 of 18
(9,344 Views)
Sorry, I meant your system path, rather than MATLAB path.  You need to find where you installed the NIDAQmx drivers, and then check that the system path (type PATH at the command prompt) contains that directory.

-Rob
-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 6 of 18
(9,342 Views)

the system path doesnt contain that directory.

how do i include that directory in the system path?

 

Moshe

0 Kudos
Message 7 of 18
(9,341 Views)
Googling "adding to the windows path" will offer a place to start.  I can't offer exact steps in Vista.

-Rob
-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 8 of 18
(9,337 Views)

Hi Moshegt

I would like to point some resources that have worked for Windows XP. Just confirm that you are not missing any step (probably similar for Vista) even though you are trying to install Daqmx 8.6 in Vista x86. Use M-Series cards with DAQmx in Matlab. This is the Mathworks web site for National Instruments support: Supported Hardware - National Instruments.

I hope it helps

Jaime Hoffiz
National Instruments
Product Expert
0 Kudos
Message 9 of 18
(9,326 Views)
i've checked the system path on the XP computer were the daq works fine and it is the same as the vista computer. i dont know what to change next.
 
could it be related to the fact that matlab refuses to add a path to private folders? 
0 Kudos
Message 10 of 18
(9,311 Views)