Activities implemented as Procedures are not expected to run in parallel with other activities (including control activities). Such an activity can be characterized as:
A Procedure is similar to a Rational Statemate action and is usually of a transformational nature, rather than reactive. If started at some step, it finishes at the same step. Activation of such an activity is very similar to calling a routine—until it stops, others cannot advance or be activated.
To Make a Procedure, complete the following steps:
1.
|
Select View > Show Scope as Tree.
|
2.
|
Select the Activity-chart that contains the activity box that you want to make a procedure.
|
5.
|
Click Procedure or select Edit > Make Procedure.
The Code Generator labels the activity with a P and a graphic as shown in the VIBRATION activity example in the following figure.
|