Connect Model Instances

You have two options when connecting ports. The first option is to double click the formal input port Input1 of the module. The pointer changes to connection mode. Move the cursor towards the first actual input port of the model instance AddFloat.Input=2#1. A line is traced behind the cursor. You can go straight to the input port and complete the connection by a single mouseclick on the port or you can draw a line with 90 degree corners. Move the cursor in connection mode till a straight line appears and you are in the correct position where you would like to insert a 90 degree turn. Click the left mouse once and move the cursor in the direction you want the line to move. A single left click places an anchor or node where you can turn the corner. A single right click reverts the connection back by one node. A single click on a port completes the connection and the cursor returns to normal selection mode. If you want to revert back to normal selection mode before a connection is complete, right click the mouse until all nodes are deleted and the cursor image changes back to normal. Connect the formal input port Input2 with the second input of the model instance AddFloat.Input=2#1, the output port of AddFloat.Input=2#1 with the input port of model instance MpyConstFloat#1, and the output of MpyConstFloat#1 with the formal output port Output1.

You can also click once on the Connect icon and proceed exactly as described with the first method. A single click of the mouse creates a node where you can draw a 90 degree corner and a single click on a port completes the connection. In this case however, the cursor is still in connection mode. To change back to the normal selection tool click the Select Tool icon in the toolbar or click on the model background with the right mouse button.

Notice the drag corners shown if a model instance like MpyConstFloat#1 is selected. You can grab a corner to resize the graphical representation of the model instance in the Model Editor window.