Entry and Exit Actions (Statechart Module)

LabVIEW 2010 Statechart Module Help

Edition Date: June 2013

Part Number: 372103F-01

»View Product Info
Download Help (Windows Only)

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 define a trigger or a guard for an entry or exit action.

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


Not Helpful