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,285 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,280 Views)

Thanks!

very helpful

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

Thanks a lot.

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