What are the software functions of a magnetic flow meter?