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

Entry and Exit Actions (Statechart Module)

LabVIEW Statechart Module 1.0 Help
August 2007

NI Part Number:
372103A-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 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.


Resources


 

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