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

Specifying the State that a Region Executes First (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 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) Define any actions for this transition. You cannot define 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.

 

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