Assigning Events to Runnables
Each runnable needs one or more events that trigger its execution.
- In the software component editor, open the Event Specification view.
- In the Runnables field, select a runnable.
In the Events field, select the event you want to assign to the runnable.
The >>
button is now available.Do one of the following:
- Right-click the event and select Assign Event from the context menu
- In the Event menu, select Assign Event.
- Click the >>
button .
The event is assigned to the runnable. It is shown below the runnable in the Runnables field.
Note
Each event can be assigned to only one runnable. If you want two runnables to be triggered with the same period or by the same mode, you must create two events with identical specification.
See also