Measurement of step responses of first and second order plants