How is the data logging function of the flow meter implemented?