LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find Maximum using shift register

Solved!
Go to solution

Hello,

 

I am attempting to find the maximum input signal value and display it in the front panel. I have managed to succesfully do this for values which are positive. but when my signal is completely negative it wont update my max.

 

i have attached my VI.

 

Thanks for your help.

 

Dylan

0 Kudos
Message 1 of 3
(2,719 Views)

Place the shift register on the borders of the outer while loop and initialize it with "-Inf".

Your inner FOR loop makes very little sense, delete it.

0 Kudos
Message 2 of 3
(2,707 Views)
Solution
Accepted by topic author dylancor

Here's a quick draft....

 

 

0 Kudos
Message 3 of 3
(2,693 Views)