Put Encoder ports in ports file