ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous data taking

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

 

0 Kudos
Message 1 of 4
(1,289 Views)

Looks like the 6229 doesn't support simultaneous sampling:

 

sfrosty_0-1632314639421.png

 

0 Kudos
Message 2 of 4
(1,242 Views)

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

0 Kudos
Message 3 of 4
(1,239 Views)

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.

Alex
Hardware Engineer
0 Kudos
Message 4 of 4
(1,221 Views)