When I try to use simple Data Acquisition Toolbox commands, I receive error messages.
For example, when I try to use:
ao = analogoutput('nidaq',1);ch = addchannel(ao,0:1);set(ao,'SampleRate',1000);
I receive the error:
??? Error using ==> daqdevice.set Unable to set SampleRate above maximum value of 0.
Also, when I use the commands:
data = linspace(0,1,10000)';Putdata(ao,[data data])start(ao)
I receive the error:
??? Error using ==> daqdevice.startNI-DAQ: The specified device does not support the requested action (the driverrecognizes the device, but the action is inappropriate for the device).
Best Answer