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

Configuring a State (Statechart Module)

LabVIEW 8.6 Statechart Module Help
June 2008

NI Part Number:
372103B-01

»View Product Info

Complete the following steps to configure a state.

  1. Right-click the border of a state and select Configure State. This action launches the Configure State dialog box.
  2. The Reactions list on the left side of this dialog box contains the state actions you can configure. To configure the entry or exit action, select the appropriate action from the Reactions list.

    To configure a static reaction, first click the Create button to create a new static reaction. This new static reaction appears as StaticRxn0, and LabVIEW selects this static reaction automatically.
  3. Use the tabs on the right side of this dialog box to configure the trigger(s), guard, and action associated with the action you chose from the Reactions list. You configure these elements by writing LabVIEW block diagram code.
    Note  You cannot configure triggers or guards for entry or exit actions. Therefore, LabVIEW disables the Triggers/Groups and Guard pages when you select either the Entry Action or Exit Action item.
  4. Click the OK button to save changes and return to the statechart diagram.

To remove a static reaction, select that reaction from the Reactions list and then click the Delete button. You cannot delete entry or exit actions. However, you can disable the LabVIEW code that comprises these actions. To perform this action, place a checkmark in the Disable? checkbox on the Action page. You also can disable the guard and/or action of a static reaction.

You also can configure a state by specifying the priority of the transitions that exit the state.


Resources


 

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