An infusion pump, including: a specially programmed microprocessor a drip chamber for connection to a source of fluid and to an output tubing a pumping section including a plurality of fingers and a first actuator, controllable using the microprocessor, for sequentially displacing the plurality of finger to compress a first portion of the output tubing to displace fluid from the drip chamber through the output tubing an inlet valve disposed between the drip chamber and the pumping section and arranged to compress the output tubing to restrict or block flow through the output tubing and a second actuator, controllable using the microprocessor, for opening or closing the inlet valve independent of the displacement of the plurality of fingers or for operating the inlet valve to control a rate of flow of fluid from the drip chamber to the portion of the output tubing.