ni.com is currently undergoing scheduled maintenance.

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

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

different sampling rate for daq inputs

i am using daq card 9025.

i wish to take two inputs at different channels but with different sampling frequency..

cani do this using daq assistant ?

or i wud have to use traditional daqmx functions?

could anyone shelp me with one example?

 

0 Kudos
Message 1 of 5
(3,673 Views)

I would sample them both at the higher frequency, then decimate the data for the slower channel.

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 5
(3,665 Views)

A 9025 is a cRIO controller.  I don't think that is what you have.  Perhaps you meant a 9205, which is a 32 channel AI module.

 

All imputs from a single module will have to be read at the same rate.  If you want to run at different frequencies, you will need to have another module.  What I tend to do in similar situations is just read at the fastest rate needed and then just perform an average on the channels that should be at a slower rate.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(3,663 Views)

and what averaging function would that be?

 

0 Kudos
Message 4 of 5
(3,659 Views)

@Bgmnt wrote:

and what averaging function would that be?


I typically used Mean.vi (does not get any simpler than that).



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 5
(3,654 Views)