LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display only max value in numeric indicator

I am working on a setup that reads in the RMS and Peak to Peak for a sign wave from a transducer.  The problem is that there are lots of minor fluctuations in the values displayed in the attached numeric indicators.  I am searching for a way to have a numeric indicator that displays on thy the highed value, and another that displays the lowest value collected during the run (so if the numbers range from .023 to .025, one would display .023 and the other would say .025) rather than having to watch a constantly changing display that fluctuates between the number.   I am running labview 8.20 and using a NI Elvis to hook up to the tranducer.

 

Thanks for the assistance.

 

 

0 Kudos
Message 1 of 5
(3,540 Views)
I assume you are taking the data in a loop... so use a shift register and concatenate the latest results onto the end of an array.  On the output of the concatenator, connect an Array Max and Min... and you're done.
-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 2 of 5
(3,537 Views)

Hi,

 

 in the comparison palette you will find a min/max function. Use it with a shift register to always keep the min value for the indicator (or max for the second)...

 

@Matt:

Why do you want to build an array when you just need the min/max value?

Message Edited by GerdW on 03-25-2009 08:01 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 5
(3,536 Views)

GerdW,

 

Good point -- I like your solution better.

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 4 of 5
(3,505 Views)
Thanks, I will try your suggestions in the lab tomorrow afternoon, and get back to you with the results.
0 Kudos
Message 5 of 5
(3,478 Views)