You use the caller VI to send input, output, and state data to the statechart. Before sending this data, you must define the types of data the caller VI can send to the statechart and receive from the statechart. The following example shows how to define output data.
![]() |
Note Before completing these steps, close all LabVIEW Statechart Module dialog boxes. You cannot complete these steps while a Statechart Module dialog box is open. |
![]() |
Note The previous steps used a string control to represent data. You can place controls and indicators of any data type in any of the three type definitions. |
This process is identical for modifying input and state data, except for step 1 in which you double-click either the Inputs.ctl or StateData.ctl type definition.
Now that you have defined an output data type, the SC Example string appears as a cluster element of the Outputs cluster when you configure a transition or static reaction.