Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 rating:
 1 out of 5     Rate this Document

Using Highlight Execution on a Statechart: Flashing Glyphs

Primary Software: LabVIEW Modules>>Statechart Module
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
What do the flashing glyphs in the corners of my states mean when using Highlight Execution on my statechart?

Solution:
When the statechart is in debugging mode with Highlight Execution turned on, there are glyphs that flash in the upper corner of each state. These glyphs specify the action each state is executing. The following describes what each means:



An entry action is LabVIEW code that a statechart executes upon entering a particular state (after completing a transition from another state). An exit action is LabVIEW code that the statechart executes upon exiting a state (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.

Static reactions define the behavior of a state while that state is not taking any outgoing transitions. Static reactions execute only if both of the following conditions are met:

  • The statechart receives the trigger to which you configured the reaction to respond.
  • The guard associated with that reaction evaluates to TRUE. If a static reaction does not have a guard, that guard always evaluates to TRUE.
One state can have multiple static reactions. The statechart can execute multiple static reactions during one iteration of the statechart. You configure static reactions by right-clicking a state border and selecting Configure State.


Related Links:
LabVIEW Statechart Module 1.0 Help

Attachments:





Report Date: 11/02/2007
Last Updated: 05/06/2008
Document ID: 4F1G1C45

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit