Adding multiple analog channels in NI9224 in a NI cDAQ-9174 Chasis
5 views (last 30 days)
Show older comments
I am trying to obtain data from two analog channels in NI 9224 that is in NI cDA!-9174 chasis:
Here is the code: s = daq.createSession('ni'); [ch1,idx]= addAnalogInputChannel(s,'cDAQ2Mod1',[ 0 1], 'Voltage');
Here is the error I am getting: 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: cDAQ2Mod1/ai1
Task Name: _unnamedTask<126>
Status Code: -200106
Any suggestions would be helpful.
1 Comment
Alex Ackerman
on 23 Jul 2019
Were you able to find a solution to this issue? I am having the same problem.
Answers (2)
Srini
on 24 Jul 2019
It has been a while and I dont recall exactly. I think I ended up using two daqs in on one chasis. Some of the drivers were not available that time.
1 Comment
Walter Roberson
on 24 Jul 2019
When you were doing the work and encountered the problem, where both channels the same kind of device? Or did you have two of the same kind of device? Or did you have a single multi-channel device?
See Also
Categories
Find more on Simultaneous and Synchronized Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!