LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data frequency acquisition

Solved!
Go to solution

Hey mates, thanks for attention.

I am using NI 9205 to acquire voltage and NI 9213 to acquire temperature.

They have very different acquisition frequencyes: 250 kS/s and 75 S/s.

I have no problem with this, my temperature measurement will be less than voltages. The question is: How to do to make then work toguether ?

In labview: I am using 1 Daq app I set continous sampling  5k Hz as sample rate and 1k as samples to read for NI 9205 voltages and other Daq app with 5 Hz 1 sample for NI9213 tempeerature. I get aways problems whit buffer size. 

Should I use 2 Daqs in my labview VI ? How to make then with just one Daq app ?

 

Thanks again,

Arthur.

0 Kudos
Message 1 of 3
(2,946 Views)
Solution
Accepted by Arthuruuuuuu

You can either have two separate while loops, one for each DAQ read, or change the "number of samples per channel" input to -1 which will return all available samples. If you can post your code that may be helpful to look at as well.

Message 2 of 3
(2,921 Views)

What chassis are you using?  Does it support multiple AI sample rates?  If so, you just need two DAQmx tasks, one for each sample rate.  I would go so far as to have a different loop for each task and use Queues or User Events to pass the data to loops that need it.


GCentral
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 3 of 3
(2,920 Views)