Complete the following steps to send a trigger to the internal queue of a statechart.
- Place a Send Internal Trigger function on the block diagram of an action.
- Click the Outputs cluster element, located on the left of this block diagram, to display a list of cluster elements.
- Select the InternalQueue»All Elements element.
- Repeat steps 2 and 3 for the Outputs cluster element located on the right side of the block diagram.
- Wire the InternalQueue element to the Internal Queue In input of the Send Internal Trigger function.
- Wire a trigger to the Trigger input of this function. The values in this list come from the triggers you create in the Edit Triggers and Groups dialog box.
 |
Tip You can obtain a list of valid triggers by right-clicking the Trigger input input and selecting either Create»Control or Create»Constant. |
- Wire the Internal Queue Out output terminal to the InternalQueue cluster element on the right side of the block diagram.
The action now resembles the following figure:
