How is the data logging function of the electromagnetic flowmeter implemented?