Examining Parameters and Ports


A generic assembly does not have any attributes associated with the class Assembly. It can, however, have assembly parameters defined in the parts or links it contains, or promoted from its subassemblies. The Assembly Parameters and Ports dialog can be used to provide parameter value bindings local to the assembly and its subassemblies. It can also be used to examine the ports exported from its parts. A generic assembly can only be linked to other parts at the same level when it has ports exported from the parts it contains.

Binding Parameters in Assembly Dialog

An assembly parameter entered in a part or a link will automatically float up to the ancestor assemblies, i.e., the same parameter will be created for each assembly in the assembly path traced up to the TOP assembly. With this, you can enter a value for the parameter at each parent assembly level.

If you do not enter a value for a parameter in the assembly, the parameter resolution mechanism will try to resolve it in the parent assembly levels. If it reaches the TOP assembly but still cannot resolve it, the case parameter bindings will be used.

Examining Assembly Ports

When the Assembly Parameters and Ports dialog is opened, you can click on the Defined Ports tab to access the ports exported from the parts in the assembly. The contents of the defined ports are similar to those explicitly defined ports in the Port Properties dialog. See the Connecting Parts with Links section for the Port Properties dialog details.

The Assembly Parameters and Ports dialog is a modal dialog, meaning that you need to close it before working on other things in SansGUI.

 



C:\FH_Suite\htmlgifs\home.gif Exporting Ports Operating on Canvas Views

SansGUI Modeling and Simulation Environment Version 1.2

Copyright © 2000-2003 ProtoDesign, Inc. All rights reserved.

http://protodesign-inc.com