|Download Help (Windows Only)|
Owning Palette: Statechart Communication Functions
Requires: Statechart Module
You can use this function with only asynchronous statecharts.
|Instance Name specifies the instance of the statechart to which this function sends triggers. The value of this parameter must match the value of the Instance Name parameter of the Run Statechart function to which you want to send triggers.|
|Trigger specifies the trigger to send to the statechart. To specify a trigger, right-click this input and select Create»Control or Create»Constant from the shortcut menu to create an enumerated type control/constant that contains the list of available triggers. |
You can send only triggers that you define by using the Edit Triggers and Groups dialog box.
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|Timed out? returns TRUE if this function did not send the Trigger in time. Timed out? returns FALSE if this function sent the Trigger in time. |
Configure the timeout length by using the Statechart Code Generation page of the Project Library Properties dialog box.
|error out contains error information. This output provides standard error out functionality.|
You must link this function to a statechart before configuring the parameters. To link this function to a statechart, right-click this function and select Link to Statechart from the shortcut menu. You must link to a statechart for which you have generated code. You also must link a Run Statechart function to the same statechart.
|Tip Instead of linking this function to a statechart manually, you can right-click an asynchronous Run Statechart function and select Create Send External Trigger Function from the shortcut menu to create a Send External Trigger function that is linked to the statechart.|
You can configure the icon style of this function to display the custom icon of the statechart diagram, the statechart to which this function links, and/or the trigger that this function sends to the linked statechart.