
Ni DAQ error 200106
15 次查看(过去 30 天)
显示 更早的评论
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 个评论
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 Ursache
2020-8-11
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
2 个评论
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.
另请参阅
类别
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!