Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

matlab with NI-usb 6008

any other thoughts on the problem?

system path is the same as the system path in the xp computer where the daq works fine.

 

Moshe

0 Kudos
Message 11 of 18
(2,700 Views)
One last idea.  A customer noted that thier antivirus software under Vista prevented our adaptor from being registered.  Consider turning off any Antivirus software, and typing "daqregister('nidaq')" at the command line.

-Rob
-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 12 of 18
(2,693 Views)
didnt do the trick.
 
can u copy and paste the system path of the vista computer that u checked with this board?
or give the paths of MATLAB that r listed there
 
thanx, anyway
 
Moshe 
0 Kudos
Message 13 of 18
(2,689 Views)

problem solved...

you should uncheck the UAC (user acount control) box under user acounts. 

now it'll install the necessary DLLs for operation once opening Matlab.

you can recheck that box later.

 

Moshe

0 Kudos
Message 14 of 18
(2,649 Views)

Hi

 

I am having trouble getting the adapter for my NI USB 6008 to work in Matlab with my windows XP machine.  It cannot find the adapter.  I checked the installation and seems right. 

 

You have mentioned about the UAC accounts.  Where will I find this option ( to uncheck the box)?

 

0 Kudos
Message 15 of 18
(1,953 Views)

No UAC on WinXP, so that's not something you need to worry about.  You need to be an administrator, at least when you use DAQREGISTER.  Make sure you have the NI-DAQmx drivers and the Data Acquisition Toolbox installed.  Otherwise, we'll need the exact error message and versions of everything you're using to help more.

 

All the best,

-Rob

-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 16 of 18
(1,934 Views)

I am getting the following error.  when running a setup file in Matlab.

??? Error using ==> digitalio.digitalio at 115
The specified device ID is invalid. Use DAQHWINFO(adaptorname) to determine
valid device IDs.

Error in ==> setup_dio at 26
dio=digitalio('nidaq','dev2');

------------------------------

 

DAQHWINFO yields the following information -

ans =

          ToolboxName: 'Data Acquisition Toolbox'
       ToolboxVersion: '2.17 (R2010b)'
        MATLABVersion: '7.11 (R2010b)'
    InstalledAdaptors: {3x1 cell}

-------------------------------------

instrhwinfo gives

ans =

          MATLABVersion: '7.11 (R2010b)'
    SupportedInterfaces: {'gpib'  'serial'  'tcpip'  'udp'  'visa'}
       SupportedDrivers: {'matlab'  'ivi'  'vxipnp'}
            ToolboxName: 'Instrument Control Toolbox'
         ToolboxVersion: '2.11 (R2010b)'

 

------------------

 

 

0 Kudos
Message 17 of 18
(1,912 Views)

I sssume you have a "Dev2."  Can you attach the output of the command DAQSUPPORT?  You can use daqhwinfo('nidaq') to get a list of National Instruments devices that MATLAB can see.

 

-Rob

 

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