Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDAQmx: how to simultaneously acquire channels at different sample rates?

I have a PCI-6229 (M-series card). It has an advertised throughput of 250K/sec. I'd like to configure the card to simultaneously sample eight (8) AIN channels at 25K/sec, and none (9) AIN channels at 5K/sec. This results in a usage of about 245K/sec out of the available 250K/sec, which seems "do-able". But how do you setup the task(s) in NIDAQmx to do accomplish this? Are there any examples (I'm using the ANSI-C API) which illustrate how to do this?

I can't just set all 17 channels to 25K (and decimate the data for the slow channels), because there is not enough bandwidth. I was also unable to setup two tasks (one for high-speed, one for low-speed) because I get an error when I start the
second task. Is there another way to accomplish this?

Thanks in advance for any help!
0 Kudos
Message 1 of 3
(3,602 Views)
Greetings,

I would take a look at this KnowledgeBase that describes the process between doing this task.

http://exchange.ni.com/servlet/Redirect?id=12678799

Unfortunately, a text base example program does not currently exist, but if you have questions we'll do our best to help you out.

Regards,
Anuj D.
0 Kudos
Message 2 of 3
(3,602 Views)
I apologize, I posted the wrong link!

The correct links is here:
http://digital.ni.com/public.nsf/websearch/96FD2F4685065C7686256F25006EE8DE?OpenDocument

Regards,
Anuj D.
0 Kudos
Message 3 of 3
(3,602 Views)