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

Area under each peak

$
0
0

Hello ,

 

I am acquiring a train of voltage signals from NI 9225 module placed on a cRIO 9022 controller ( the frequency changes dynamically )

our main aim is to calculate the area of each peak of voltage curve 

and have a floating average of the area.

 

this was partially achieved :smileytongue: by using a Trigger and gate  VI to detect the sample and then integrate it then store it in a array

 

The problem is the trigger is activated only for the first peak from the original signal hence irrespective of the frequency the value inserted into the array is constant

 

Is there a possiblity to get the area under each peak ? and update within one second as the waveform gets updated every 1 second.

 

I tried to use shift registers and loop back the data but i will be calculating the area of the first peak again and again.

below attached is the modified version of the VI, in LV 2013 , and also the image of block diagram.

 

I request for your sugestions. kindly let me know if i am missing any data.


Viewing all articles
Browse latest Browse all 66679

Trending Articles



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