From: Sherif on
I am using NI cDAQ-9172 with two NI 9205 modules (for analoginput) and one NI 9263 module (for analogoutput). It is ok to start one analogoutput (AO) and one analoginput simultaneously (AI); start([AI AO]) but when I try to start two analoginputs AI1 and AI2 using two modules; start ([AI1 AI2]), I get the following error:

??? NIDAQmx error : Resource requested by this task has already been reserved by a different task. Task Name: MWDAT0016 Status
Code: -200022

Error in ==> daqdevice.start at 62
start( daqgetfield(obj,'uddobject') );

Error in ==> DAQ_17>run_daq_pushbutton_Callback
at 799
start([AI1 AI2])

Error in ==> gui_mainfcn at 96
feval(varargin{:});

Error in ==> DAQ_17 at 42
gui_mainfcn(gui_State, varargin{:});

Error in ==>
@(hObject,eventdata)DAQ_17('run_daq_pushbutton_Callback',hObject,eventdata,guidata(hObject))

If anyone can help me to solve this problem, it will be greatly appreciated. 
 | 
Pages: 1
Prev: panel data regression analysis
Next: Ploting