I am using single DAQ card (either 6013 or 6014) in my system i want to acquire data from 2 (or more) channels with following requirements
1. sampling rate of each channel should be independant of each other (say one is 20 Hz and other is 15 kHz)
2. data from all the channels should be acquired simultaneously.
3. coding must be done using DAQmx VIs
I have tried out following things
1. I created separate task for each channel: i found out that two tasks can not run simultaneously even though the channels are different
2. I tried out single task with two channels included in it. and i used 'channels to Read' property to determine from which ch. i want to acquire data: this method works fine if the sampling rates are same. but if i change the sampling rate of one channel it gets reflected in other channels as well.
can somebody help me out to solve this problem.
i will appreciate if somebody can post the sample code as my deadline is approaching