SinelaboreRT Header Logo

SinelaboreRT

It's better when it's simple!

User Tools

Site Tools


Sidebar

Tool Landing Pages

Examples

Designers Toolbox

How-To

Integrated state-chart editor with auto-layout

Focus on modeling and not on moving states around to create a nice looking diagram! Syntax aware text fields offer a comfortable way to specify actions, guards etc. When the diagram passed the model checker it can be directly simulated. Connect the diagram to the real hardware to monitor the state machine in action.

There are better ways to model state machines than using spread sheets!

In the past different μC manufacturers have published application notes about the benefit of using state machines for the design of embedded software. An example is the application note SLAA402 from Texas Instruments (TI). It suggests to generate source code based on a spread sheet table. Nowadays several affordable UML modeling tools are available supporting the efficient design of state machines in a graphical way. SinelaboreRT generates production quality source code from state diagrams created with many different UML tools. Give it a try!

Latest Changes

PageDateUserTags
Generate efficient source code from UML state diagrams and activity diagrams! 2017/03/20 19:35 Peter Mueller  
Navigation 2017/03/18 16:39 Peter Mueller  
History 2017/03/18 16:38 Peter Mueller  
wiki:news:5aug2012

New versions 2.8.1 to 2.8.3

This update of the SinelaboreRT code helps Enterprise Architect and Magic Draw users to keep complex state diagrams with many transitions and/or states well-arranged.

Entry & Exit Points

So far transitions entering a sub-machine always had to end in the initial state. If this is not what you want it is possible now to use entry points to overcome this limitation. Entry points serve as glue between the sub-machine state and the internal of the sub- machine.

Exit states provide a similar function. If a transition should start from a specific state inside the sub-machine and should enter a state outside the sub-machine an exit state can be used. Again this exit state serves as glue between the inside and outside view.

The following figures shows a state diagram with the sub-machine state S2 and the internals of this sub-machine state.

Multiple Triggers per Transition

EA allows to define more than one trigger for a transition. This is useful if different triggers should trigger the same transition and have the same action code.

Multiple Transitions ending in a Choice

To simplify complex state diagrams it can be helpful to specify multiple incoming transitions into a choice state instead of duplicating the choices. The left side of the diagram shows how much simpler the right diagram can be represented now. Internally - before code generation starts - the code generator transforms your drawing back to the left representation.

:!: This version of the code-generator uses the new jdom2.jar package. Copy the jar file to the correct place on your PC. If you don't know what this means please read section 'Installation' in the manual.

This new version is free for users who bought their license within the last two years.

wiki/news/5aug2012.txt · Last modified: 2012/10/22 21:07 by pmueller