If you're taking repeated measurements in a loop, use a shift register. Look at the Calculate Max.vi example that ships with LabView. To find the examples, from any LabView window, goto Help >> Find Examples >> Search, then enter SHIFT REGISTERS in the box labeled Type a keyword to find: