IntelliWizard© - UML StateWizard

A UML StateChart open-source framework and IDE tools under a dual licensing model.


Start Page

Introduction
Why ...
How to ...
Running Environment
License Policy

Features


Demo & Manual
Product Family
Framework API Set
StateTree
StateChart
Debug Support

Downloads

UML StateWizard
Engine Source Code

Users & Partners


User Stories
Forums



Simulation

Simulators should be considered when:

  • Hardware is unavailable or expensive.
  • Extensive debugging capabilities are needed.

Simulators are one of important categories of testing tools.

  • Tools that emulate the environment in which the software will eventually perform.
  • Often incorporate useful debugging features.
  • Enable testers to more effectively control test environment.
  • May save critical resources.

Embedded system application developed by State Machine Wizard can be simulated and debugged in Visual C++ developer studio on Windows platform.

a) Embedded System applications are built in form of regular Windows Dynamic Link Library. This DLL exports a main entry function AppMain() which will be application thread entry function.
b) State Machine Engine APIs are used to manage state machines in the embedded system program.
c) We could use a few service components in form of Window executable application, to simulate service providers' behaviors, for example, keypad component, display component and etc. The service components formally provide a set of primitives available to applications.
d) What is more, developers can add some third-party components as additional service providers into simulator in form of Windows DLL, library etc.
e) Service Agent works as an interface between applications and service providers. Service providers can translate service provider messages to state machine external events and post them to state machine applications. Applications can send service calls requests to service provider simulators in form of Windows messages.
f) While state machine application is running, state machine engine debugger will send current state information to state tree. The state tree will act as a state monitor. State Tree controller will show state tree only and highlight the current active state.

The following picture depicts the solution to the embedded system applications' simulation in Visual C++ developer studio:

Figure: Embedded System Application Simulation

Top