Needle valve with electric actuator and slotted cylinder