Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid id detection of NI 6009 using matlab 7

i am trying to acquire data from NI 6009 using matlab 7 . ON giving the command

out = daqhwinfo('nidaq')

the output i get

out =

           AdaptorDllName: 'C:\MATLAB7\toolbox\daq\daq\private\mwnidaq.dll'
        AdaptorDllVersion: '2.5 (R14)'
              AdaptorName: 'nidaq'
               BoardNames: {1x0 cell}
        InstalledBoardIds: {1x0 cell}
    ObjectConstructorName: {0x3 cell}

 when i give the command

out.ObjectConstructorName(:)

the output i get is

ans =

   Empty cell array: 0-by-1

as against the output which should give the device id .

Matlab version used : 7.0.0.19920 (R14)

Data Acquisition toolbox version :  Version 2.5        (R14)

On giving the command to create the analog input

ai= analoginput('nidaq', 1)

the error is

??? Error using ==> analoginput.analoginput
Error using ==> analoginput.analoginput
NI-DAQ: The specified device ID is invalid.
Run the NI-DAQ Configuation Utility to determine the valid IDs.

The NI- DAQ measurement and automation explorer , in the configuration utility shows 1 as the device ID 

please let me know any possible solution to the same.

 

0 Kudos
Message 1 of 1
(6,005 Views)