09-21-2021 06:48 AM
Hello everyone,
I'm using a NI 6229 to read a series of analog signals. At the moment I read 50000 samples for each input of the DAQ, with a rate of 250000S/s. Each channel is acquired after the other, so I have a 0.2s delay between each consecutive channel. I would like to acquire the channels simultaneusly, but was not able to do so. There is a parameter in the fReadAnalogF64 function (cInterlace) that should do the trick, but even when I set it to 1 i cannot see any difference.
I use a PERL script, which I attach, to control the hardware.
Thank you for your responses
09-22-2021 07:44 AM
Looks like the 6229 doesn't support simultaneous sampling:
09-22-2021 08:09 AM
I know but it should be able to take the samples alternating between each channel instead of taking all samples from one channel before passing to the next
09-22-2021 05:23 PM
You need to have all of your channels in the same DAQmx task/scanlist in order for hardware to sample all the channels within a sample period.
Also keep in mind the 250kS/s rate is aggregate and the effective sample rate per channel is 250k/#of channels.
So if you were using all 32 AI channels you would only have a max sample rate of 7.8125kS/s per channel.