Average of all values between (above first and last above) a threshold value.
Currently I have a VI where I programmed a year or more ago, takes any value of a set of data that exceeds a certain threshold. It is used to capture the average of all values above a threshold when there is a peak of the values that exceed this threshold. However, when there are two or more peaks that exceed this threshold, only values greater than this value are averaged, so the final result is the average of the two or more.
What I need is for each value that occurs after the threshold is reached, and before that the threshold fell below for the last time. Imagine a set of data whose graph looks like the letter "M" for example with the threshold being to halfway to the top of the
M, I want to show the average (the first bump, the fall below the bumps, as well as the last bump) but what I'm saying now is the average of (the first bump, over the last bump). What I get now cut the data between the two summits.
Any help would be appreciated of course.
Here's a method, perhaps not the best.
Tags: NI Software
Maybe you are looking for
I'm under 3.6.2 numbers on my Mac with El Capitan. I want to adjust the exposure of some of the images of certain cells. I found this Apple info below, but there is NO Picture tab. I found a picture tab to set under VIEW, but it is grayed out. Can I
How to open 2 e-mail accounts Yahoo separate at the same time, without using an add-on or plug-in? I can do this in Internet Explorer by clicking file | New Session. I don't see how to do this in Firefox.
I just replaced my lcd on my Toshiba Satellite M65-9065. My lock is not working properly and I think there may have been a small source, which requires him to take. Can anyone attach a photo of how the latch is attached. The mine moves freely but doe
This question applies to "Sound File Write.vi" and the reading part, too. This vi is ready to write sound waveforms where data DBL ranging from-1 to 1.In vi, there is provision to convert more formats such as I8, I16, etc. (_ArrWfmsToData.vi), but t