Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69053

2 Channels with DAQ Assistant

$
0
0

 I would like to perform measurements on two channels of the same DAQMX with a DAQ assistant and I would like to process the measured data of the two channels asynchronously.

The example showed on the figure hereunder does not show what I want to do with measurements but it is representative of my problem.

 

Example.png

In this example, I want to perform measurements on two different channels:

  • With the first channel, I want to refresh a waveform graph every time that I measure 8192 samples
  • With the second channel, I want to compute the mean of the samples during the last seconds of measurements

So, I expect that the graph is updated more or less 51200/8192= 6.25 times more regularly than the indicator that show the mean.

But in practice, the DAQ assistant wait that the mean computation process is finished before updating the Waveform Graph. More, it provides an error dialog box that indicates that some measurements have been lost.

I've tried to use two parallel channel of processing but, it requires two DAQ assistants which provides an error because the two DAQ assistant call a task on the same DAQMX

 

Is there a possibility to desynchronize the processing on the measurements of two physically different channels in the code?


Viewing all articles
Browse latest Browse all 69053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>