Implemented infuse/withdrawal cycles controlled by sensors that track the location of the syringe handle