| |||
| Home > System Canvas Reference > Component Instance Properties dialog | |||
To display the properties for a component you can either:
select a component in the Block Diagram and then click on the Properties button in the toolbar
select a component in the Block Diagram and select Object Properties from the Object menu.
The following additional properties dialogs are also available:
The properties for the top-level component. See Component Model Properties dialog for system.
The properties for component in the Components list. See Component Properties dialog for a library component.
The properties for a self port in the top-level component. See Self Port dialog.
The properties for a self port in an individual component. See Port Properties dialog.
The properties for a label. See Label Properties dialog.
The properties for a protocol. See Protocol Properties dialog.
The Component Instance Properties dialog has the following tabs:
This tab displays the component name, instance name, filename and path, and repository. See Figure 4.6.
The Instance name field is editable. To change the name of a component instance, enter the new name in the field.
To view the properties of the top-level component, double-click in an area of the Workspace window that does not contain a component.
On Windows, the direction of the slash characters separating
directories appears to be reversed. You can enter slash characters
in either direction but they get displayed as / in
all cases. This does not affect operation.
This tab displays all properties for the selected component. See Figure 4.7. If the properties for the instance of the component in the workspace are not editable, the tab is labeled Properties (read only).
If the property is a Boolean variable, a checkbox is displayed next to the property.
This tab displays all editable parameters for this component. See Figure 4.8. To modify the parameter, enter a new value in the Value edit box.
The following controls are present on the Parameters tab:
This list contains the parameters for this component.
Select a parameter and then click the text box in the Value column to set the default value for the component parameter.
Integer parameters in decimal format can contain the binary multiplication suffixes listed in Table 4.2. These left-shift the bits in parameter value by the corresponding power of two.
Table 4.2. Suffixes for parameter values
| Suffix | Name | Multiplier |
|---|---|---|
| K | Kilo | 210 |
| M | Mega | 220 |
| G | Giga | 230 |
| T | Tera | 240 |
| P | Peta | 250 |
This tab displays all ports present in this component. See Figure 4.9.
For port arrays, all of the individual ports or only the port array name can be displayed by selecting Show as Expanded or Collapsed.
The properties of individual ports can be edited:
Select a port from the list.
Click Edit to change the properties of the port.
Click OK to save the changes.
If you click OK, the changes are applied immediately.
Individual ports can be enabled or disabled with the checkboxes:
Click Show selected ports to display the ports that have a check mark.
Click Hide selected ports to hide ports that have a check mark.
If the top level of a port array is hidden, all of the individual ports are hidden but they retain their check mark setting.
If the port array is expanded and not hidden, individual ports can be either shown or hidden.
This tab displays all of the methods, that is, component functions, that are implemented by the selected component. See Figure 4.10.