Adding multiple analog channels in NI9224 in a NI cDAQ-9174 Chasis

5 views (last 30 days)
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.

Answers (2)

Srini
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
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?

Sign in to comment.


Srini
Srini on 24 Jul 2019
One of them was ECG and another was blood pressure.

Categories

Find more on Simultaneous and Synchronized Operations 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!