From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

find maximum value value and uppdate continously in the panel

I meassure force using a load cell. All meassurements are stored and I need to compare the current value to the stored maximum. The all-time maximum value should be presented i front panel.
 
How do I find the maximum value?

Message Edited by Johan.svensson on 06-26-2006 02:22 AM

0 Kudos
Message 1 of 4
(8,281 Views)

Just compare the value with the previous max (from a shift register) using Max&Min, then feed the new max to the shift register. Repeat.

See attached image of a code fragment.

 

Of course a final program would need logic to reset the max, etc.

Message Edited by altenbach on 06-26-2006 12:35 AM

Message 2 of 4
(8,276 Views)

Thanks!

very helpful

0 Kudos
Message 3 of 4
(8,256 Views)

Thanks a lot.

0 Kudos
Message 4 of 4
(5,056 Views)