Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Sample Rates

Solved!
Go to solution

Hi,

 

I'm using DAQmx to acquire data in VB.NET (or C#) and I have successfully created a task to capture data on several channels across multiple modules plugged into a cDAQ chassis.

 

However, I have a requirement to capture different channels at different sample rates:

 

  1. Is this possible across different channels on the same module?
  2. Is this possible using different sample rates for different modules?
  3. Or must I capture at a common highest sample rate and then decimate where necessary?

 

If this is possible, sample code to create such a task would be much appreciated.

 

TIA

0 Kudos
Message 1 of 2
(4,813 Views)
Solution
Accepted by topic author Justin1

Hello Justin1,

 

Referencing your questions:

 

1. This is not currently possible on any cDAQ module.

2. This is possible only if you have NI cDAQ-9174 or NI cDAQ-9178 devices, as these support different sample rates.

3. To sample multiple channels at different rates, the recommended method is to sample all channels at the higher rate you require and then get rid of the extra samples.

 

Please take a look at the following link which you might find useful:

http://digital.ni.com/public.nsf/allkb/96FD2F4685065C7686256F25006EE8DE

 

Kind regards,

Fouad

Applications Engineer

Message 2 of 2
(4,800 Views)