ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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,929 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,917 Views)
Solution
Accepted by topic author dylancor

Here's a quick draft....

 

 

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