Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Highlighting Statechart Execution (Statechart Module)

LabVIEW 2010 Statechart Module Help

Edition Date: June 2013

Part Number: 372103F-01

»View Product Info
Download Help (Windows Only)

Complete the following steps to highlight the execution of a statechart.

  1. Run the caller VI.
  2. 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.
  3. 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.
  4. Click the Highlight Execution button at any time to disable execution highlighting.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit