To open Add State Output dialog:
1. |
Open new or saved document i.e. select New Document or Open from the File menu. |
2. |
Select a State Diagram or create a new one (i.e. select New State Diagram from File menu). When a State Diagram is available you'll see it as an white-and-grey colored object (marked as "2" on the Figure 6 ) in UML Object Diagram Drawing area (marked as "1" on the Figure 6 ). |
3. |
Click on the State Diagram's white-and-grey colored object in UML Object Diagram Drawing area. |
4. |
Select Object tab in Properties Editor (marked as "3" on the Figure 6 ). |
5. |
On Object tab find Outputs property category. If necessary, scroll down to the very last row in the Outputs property category till you see New Output - "Add". |
6. |
Click the cell with "Add" to open Add State Output dialog. |
StateChart outputs are assigned values with UMLActions. UMLActions are defined in conjunction with States (Entry, Do and Exit actions), or Transitions.
A default expression is assigned to each StateChart output. This expression specifies the value of the output if no action is enabled by the stateChart.
There are four fields:
1. |
Name: |
The name of the input pad. |
2. |
Width: |
Select a named constant that specifies the width in bits of a vector, or Unused if it is one bit. |
3. |
Visibility: |
+ for global, - for local, * for input pad. |
4. |
The expression that is assigned to the output when no action is active. The expression is specified with the Expression Editor which opens when you click the button in Out Link field. |
Fig.7 Opening Add State Output dialog