Find peak (maximum) value

Can anyone help with a question..

I would like to store 5 measurements and then report the maximum value. Is there a way in Metcal to perform this action?  If yes, can you please explain the process. I do not need to save the other readings.


1 comment

Date Votes
Nathan Ryder


You will need to place the numbers into separate numeric registers. Then use the "MATH MAX" FSC

See below straight from the help file

MATH FSC General Numeric Functions

MATH M[5] = 25
MATH M[6] = 45
MATH M[7] = 20
MATH MEM = MAX(5, 7)

This will result in MEM being 45


Please sign in to leave a comment.