LabVIEW 2010 Statechart Module Help
»View Product Info
Complete the following steps to highlight the execution of a statechart.
- Run the caller VI.
- Right-click the Run Statechart function and select Debug Statechart. The statechart diagram appears in debugging mode, which means you cannot edit the diagram.
||Note If you do not see the Debug Statechart option, you might have disabled statechart debugging. You must re-enable debugging and re-generate the code before proceeding.
- Click the Highlight Execution button , which is located on the statechart diagram toolbar. Notice that with execution highlighting, LabVIEW highlights the appropriate transitions and states as the statechart receives triggers from the caller VI and moves from one state to another.
During execution highlighting, LabVIEW can display one of the following icons in the upper-left corner of a state.
A yellow square indicates that the state is executing an entry action.
A green triangle indicates that the state is executing a static reaction.
A red circle indicates that the state is executing an exit action.
- Click the Highlight Execution button at any time to disable execution highlighting.