Hi Tianyu
No the board itself cannot do this, it has to be done in software. If you are wanting to save memory you can acquire the data in
chunks and decimate and then discard the extra data.
This is the cheapest way to do what you want. The problem with your card is that it has only one channel multiplexer, one A-D
converter and one scan clock and so can only perform one scan rate. Some of the NI cards have more than 1 A-D but they are used
for simultaneous sampling and so they have only one scan clock.
To do what you want solely in hardware, would require 5 DAQ cards with each sampling at individual rates but sharing reference
clocks, so the timing is in sync.
A semi-hardware alternative is to use one of the RT DAQ cards, with their onb
oard CPU, and perform the decimation on the RT DAQ's
processor.
Tim
Tianyu Ching wrote:
> Is this process performed in real time? That is, does the board perform decimation
> right upon reading the data from buffer? The whole point of this excercise
> is to save memory and processing time by scanning slow signals at a slower
> rate.
>
> Timothy John Streeter wrote:
> >Hi Tianyu>>The NI 6070E cannot do what you are asking for.>But you can simulate
> this by scanning the data at the fastest rate you will need, to
> >be an integer multiple of all of your scan>rates, and then decimating, to
> get rid of the extra data.>>E.g.. If the sample rates you want are:> 2Hz,
> 4Hz, 3Hz;>Then the required sample rate would be 12Hz.>The sample decimation
> you will need to do is:>Every 6th point for 2Hz,>Every 3th point for 4Hz,>Every
> 4th point for 3Hz,>>Of course this will only work if the required sample
> rate is within the range of DAQ
> >card. If it isn't then yo
u can sample at the>nearest sample rate that can
> accommodate most of your wanted sample rate and then interpolate
> >(curve fit) the data from the other>channels and resample from the interpolation.>>I
> hope this helps>>Tim