The corresponding "Card" Object should be created before creating the Output Port object.