Injection of measured doses