摘要 |
It is possible to surely update a maximum value and a minimum value of measurement data with a simple procedure without increasing the calculation load of an operation element such as a microcomputer. Upon start of a process, the nearest maximum value stored in a nonvolatile storage element (4) is written into a maximum value variable Xmax and the positive maximum value is written into a minimum value variable Xmin (step S404). Each time temperature data is obtained, a value of acquired data Xk is compared to the nearest minimum value Xmin and the smaller one is made to be a new minimum value Xmin (step S408). This minimum value update is repeated a predetermined number of processes Ns. Each time the update is repeated, the minimum value Xmin is compared to the maximum value Xmax at the moment and the greater one is set to be a new maximum value Xmax (steps S406 and S410). |