Text this: Labview based flow rate monitoring and measurement algorithm for rotary encoder