Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

why do I recive error 50256 while trying to start analog input in Matlab 7.3

while trying to program a Matlab code to receive analog input from NI multi function USB 6008, I get error 5026.
 
the code:
 

ai = analoginput(

'nidaq','Dev1');

chan = addchannel(ai,1);

start(ai)

the error:
 
NIDAQmx error : The specified feature has not been implemented for this
environment. The operation could not be completed as specified. Task Name:
MWDAT0004  Status Code: -50256
Error in ==> analog_input_draft at 6
start(ai)

 

I'll appreciate any insight on this problem.

0 Kudos
Message 1 of 4
(3,332 Views)
HI,
 
That's pretty baffling.  What version of NIDAQmx are you using?  If you post the results of the command DAQSUPPORT, it'll provide all sorts of info about the device.
 
-Rob
-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 2 of 4
(3,330 Views)

Hi,

I'm not at work now and won't be agian till next monday, so I cant tell you my NIDAQmx version and/or post the DAQSUPPORT report.

regardless, i'v managed to overcome the problem by using a different pc without the new windows Vista.

This leads me to belive that the problem has something to do with the way Vista defines it's drivers.

thanks,

Moshe

0 Kudos
Message 3 of 4
(3,321 Views)

Hi,

When you get a chance, I'd love it if you'd post the outcome -- it'll be useful as more customers start using Vista.  We've qualified MATLAB and Data Acquisition Toolbox on Vista with the NIDAQmx drivers that support Vista (8.5, I think).  You should double check that you're using the latest, Vista qualified NIDAQmx drivers.

Thanks,

-Rob

-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 4 of 4
(3,309 Views)