Opening a Diagram for Actions/Conditions

  1. In the Outline tab, select the ActionCondition diagram you want to open.
  2. Do one of the following:

    • Double-click the diagram.
    • Right-click the diagram and select Load Diagram from the context menu.

    If the currently loaded diagram contains unsaved changes, you are asked whether you want to save the changes.

  3. Do one of the following:

    • Click Yes to save the changes
    • Click No to reject the changes.

    The ActionCondition diagram opens in a new editor window.

  4. Add actions and/or conditions.

Specify the conditions and actions as other block diagrams or ESDL components; see Block Diagram Editor and ESDL Editor and references therein. Only the menu options and buttons for code generation are disabled; these are available only in the state machine editor.

Code for actions/conditions thus specified is generated either as separate functions or inserted on the spot during code generation (auto-inlining, see Optimizing the State Machine).

See also

Adding an Action or Condition

Block Diagram Editor

ESDL Editor

Optimizing the State Machine