LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trace maximum value for few samples

hello,
i have a problem with how to trace a maximum value in certain range of samples,
i have done a programming of multi peak and threshold detector, but how i can
change this program to make it detect the maximum value each time its
samples like about for 50 samples. Also, i have include the ring function,
if the maximum value is to be get like 8.5, so it is in range of 8-10 scale,
so can the ring function have ranging scale? or i need to use other
technique?

i have also attached the program i have made and also the picture of
data that i need to trace the maximum value.


device: LVDT
output: analog voltage
LabVIEW 8.0

from,
zull azym
UTHM Reseacher,
Malaysia
Download All
0 Kudos
Message 1 of 6
(3,280 Views)

For an 1D array you can use "Array max & min" function. It's the best way.

You can use the "Array Subset" function to get the 50 desired samples and then use  "Array max & min"

0 Kudos
Message 2 of 6
(3,274 Views)
About the ring function , i am not sure what you mean, but you can use something like that to change the value of the ring according to an input number
0 Kudos
Message 3 of 6
(3,269 Views)
hello n thanks for a quick replies. I try to search for array max n min and i did'nt get the idea,
could u please give me u guide or example for me so i can
study the architecture of it.

for the ring function, actually i want to make
an analysis programming which shows like this:

value: 0-2: good
          2-4: best

so, if used ring i only can make: 1: good
                                                    2: best

so i cannot make a range value using ring function.
hope u get my ideas.


regards,
zull azym
UTHM Researcher,
Malaysia
0 Kudos
Message 4 of 6
(3,248 Views)
-The max & min function is in the "Array" pallete.
 
-You can use a string indicator, or you can change the ring text as shown...
Download All
0 Kudos
Message 5 of 6
(3,239 Views)
duplicate post...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,221 Views)