State Activity Manager

Actions

Entry: Code is executed on state entry.

Exit: Code is executed on state exit.

Do: Code is executed for each execution cycle that the state remains active.

On trigger/event: Code is executed when the state is active and when the specified trigger is TRUE.

Add/Delete Action: Adds or deletes the action to Selected Actions.

Attach Breakpoint: Sets a breakpoint on the state that causes the simulation to stop after the corresponding time step is complete.

Available Triggers: Lists the available triggers. There are two built-in triggers: after() and every().

Deferred Triggers: Lists the deferred triggers.

Edit Behavior: Specifies the state behavior for the corresponding action. State behavior is specified as C statements.

Log Message: Logs the specified message when a state behavior is executed.