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

Entry and Exit Actions (Statechart Module)

LabVIEW 2009 Statechart Module Help

Edition Date: June 2009

Part Number: 372103C-01

»View Product Info

An entry action is LabVIEW code that a statechart executes upon entering a particular state, that is, after completing a transition from another state. An exit action is LabVIEW code that the statechart executes upon exiting a state, that is, before completing a transition to another state. You define entry and exit actions by right-clicking a state border and selecting Configure State, which launches the Configure State dialog box. You then write LabVIEW block diagram code to define the actions.

Each state can have only one entry action and one exit action. These actions are optional, but if you define one, the action executes every time the statechart enters or exits that state. This behavior means you cannot specify a trigger or a guard for an entry or exit action.

To specify state actions that execute conditionally, use static reactions.


 

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