07-10-2019 08:48 AM
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.
Solved! Go to Solution.
07-10-2019 10:09 AM
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.
07-10-2019 10:12 AM
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.