Store measured value in memory, to be used afterwards