05-16-2006 09:00 PM
05-17-2006
03:34 PM
- last edited on
02-25-2025
02:32 PM
by
Content Cleaner
Jaybus,
You mentioned that you are not concerned with simultaneous sampling. If this is true, you can try to dynamically create your channels. You can call create channel n times for m input channels and add these channels to the same task. After you have added all of your channels, you can call the read and it will read n samples on channel m, n samples on channel m+1, etc. Again, this will not be simultaneous data.
Regards,
L. Allen
05-17-2006 10:05 PM
I have a DAQCard 6062E that has an aggregate sample rate of 500 kS/s. I want to sample ch0 at the maximum 500 kS/s, then sample ch1 at 500 kS/s, then sample ch2 at 500 kS/s, etc. I was under the impression that DAQmxReadAnalogF64() performed the more usual multiplexed scan, where the aggregate sample rate is 500 kS/s, but the effective sample rate for each channel is 500 kHz divided by the number of channels scanned. Are you saying that there is a way to sample each channel at the maximum sample rate (as if it were the only channel being scanned)?
05-18-2006 11:38 AM
To an extent. This is not an officially supported method so there is no guarantee that you will be able to get the 500k on ecah channel. But, you should be able to configure the task as stated above and achieve a NON-simultaneous acquisition that should be a bit quicker than the way you were doing it with different tasks for each channel.
Regards,
L. Allen
05-19-2006 06:42 AM