Set "sample length" to 0. This will keep a continuous max and min. It's explained in the help for that function. Also, please turn off "run when opened" when you post a VI to the forum. We don't know what it could possibly do, and no one wants code automatically running on their computer.