LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

store highest value

is there any vi that can latch on the highest value and output it?
for example i have a sine wave like signal and i want the output to be the highest peak that the signal has reached.
0 Kudos
Message 1 of 2
(2,453 Views)
If you have an array, you can use array max & min from the array pallete. If you have waveform data, you should be able to use the amplitude and levels VI in analyze>>waveform measurements pallete. If you have a continuous signal, you can write a small piece of code using a shift register. If the data is bigger than what's currently in the shift register, you replace it.

___________________
Try to take over the world!
Message 2 of 2
(2,441 Views)