Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Specifying the State that a Region Executes First (Statechart Module)

LabVIEW Statechart Module 1.0 Help
August 2007

NI Part Number:
372103A-01

»View Product Info

Complete the following steps to specify the state that a region executes first.

  1. Place an Initial pseudostate on the statechart diagram.  
  2. Create a transition from this pseudostate to the state that you want to execute first.
  3. (Optional) Configure any actions for this transition. You cannot configure a trigger or guard for this transition.

For example, consider the following figure:

Each region must have an Initial pseudostate. In the previous figure, the statechart executes State 1 first. If the statechart takes the transition into State 2, the statechart executes State 3 first.

Note  The Terminal pseudostate specifies the state that can terminate the enclosing region.

Resources


 

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