Ni DAQ error 200106
이전 댓글 표시
I am trying to use all four channels of a NI 9775 DAQ but I keep getting error code 200106 when I try to use addAnalogInputChannel() for more than one channel. Here is my code:
s = daq.createSession('ni'); % Create session
Fs = 5000000; % Sampling freq.
s.Rate = Fs; % Set sampling rate
s.addAnalogInputChannel('cDAQ1Mod1', 0:3, 'Voltage');
%ch0.ADCTimingMode = 'HighSpeed';
%ch0.Name = 'CH_0';
%ch1 = addAnalogInputChannel(s, 'cDAQ1Mod1', 1, 'Voltage');% Initialze chan. 1
%ch1.ADCTimingMode = 'HighResolution';
and here is the error in the command window:
Warning: A channel that does not support on-demand operations was added to the session. On-demand operations using inputSingleScan
and outputSingleScan will be disabled. Only clocked operations using startForeground and startBackground can be done.
Warning: ADCTimingMode property reset to the default value: 'HighResolution'.
Error using XY_DAQ_Test (line 19)
NI Error -200106:
Property must have the same value for all channels on this device.
Property: DAQmx_AI_ADCTimingMode
Corresponding Value: DAQmx_Val_HighResolution
Channel Name: cDAQ1Mod1/ai1
Task Name: _unnamedTask<30D>
Status Code: -200106
So far as I can tell, all the channels are set to the default ADC Timing mode, which is high resolution. I have also tried manually setting the timing mode to high resolution and high speed without success. What am I doing wrong?
댓글 수: 3
csaba azau
2020년 10월 12일
편집: csaba azau
2020년 10월 12일
Dear Alex,
I'm experiencing the same issue as you.
Have you found a work around this problem?
BR, Csaba
Edit : This might work for you too. Edit as admin the file in "C:\Program Files\MATLAB\R2020a\toolbox\daq\daq\+daq\+ni" by adding "NI 9775" as exception that should not taken into account.

Patrick Barrera
2021년 7월 21일
편집: Patrick Barrera
2021년 7월 21일
Hello All,
I am experiencing this issue as well on R2021a (I can't acquire data from multiple channels on a DAQ module). Except for Property, mine says:
Property: DAQmx_AI_Filter_Freq
Corresponding Value: 0.0
The NI DAQ devices I am using are:
- Chassis: NI-cDAQ9189
- Digital DAQ Module: NI-9361
- Analog DAQ Module: NI-9252
I do have the "NI-DAQmx Support from Data Acquisition Toolbox", which supports the Chassis I have (cDAQ9189). And I can indeed communicate with multiple Modules (DAQ cards) simultaneously. But I can't seem to acquire data from multiple Analog Inputs on 1 Module simultaneously or multiple Digital Inputs on 1 Module.
Can someone please help?
Andre Vieira Pigatto
2022년 12월 19일
Hi Patrick,
I'm running into the same problem, have you found a solution, by any chance?
Thank you!
Best,
Andre.
답변 (1개)
Andrei
2020년 8월 11일
0 개 추천
As of MATLAB R2020a, the NI 9775 module is not supported and tested yet with Data Acquisition Toolbox. Support is considered for a future release.
Please refer to the hardware support page for NI-DAQmx devices: https://www.mathworks.com/hardware-support/nidaqmx.html
댓글 수: 3
csaba azau
2020년 10월 12일
Dear all,
Is there any update forseen to get a multichannel acquisition ?
BR
Andre Vieira Pigatto
2022년 12월 19일
Hi Azau,
I'm running into the same problem, have you found a solution, by any chance?
Thank you!
Best,
Andre.
ggmmirec
2023년 11월 14일
Hi Andrei,
I have similar issue with NI 9253. My code is:
session1 = daq('ni');
session1.Rate = 50000;
addinput(session1,'cDAQ9189-2163798Mod2','ai0','Current');
addinput(session1,'cDAQ9189-2163798Mod2','ai1','Current');
And the command window responce is:
Error using MultipleDaqTesting
NI Error -200106:
Property must have the same value for all channels on this device.
Property: DAQmx_AI_Filter_Freq
Corresponding Value: 0.0
Channel Name: cDAQ9189-2163798Mod2/ai1
Task Name: _unnamedTask<21>
Status Code: -200106
My NI hardware is not in list you provided. Is it planed to test it and included it to suported devices?
Mirec
카테고리
도움말 센터 및 File Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!