# SinelaboreRT

It's better when it's simple!

### 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

wiki:getting_started:operating_systems

### Noteworthy per operating system

#### Windows

Windows users can use the code generator in two ways.

Method 1: Install a Windows executable which wraps the Java jar file. An installer is available in the bin folder of the download package. A double click on the installed executable opens the built in editor with an empty project. Right clicking a project file which was created previously with the integrated editor opens this project. Due to the fact that no configuration file is known at this point it is recommended to put a codegen.cfg file in the users home directory which at least contains the parameter DotPathWin.
Example: DotPathWin=“C:\\Graphviz-2.44.1\\bin\\dot.exe”

Method 2: Using the codegen.jar file directly and call it with the java.exe installed on your system.
Example: c:\jdk-11\bin\java.exe -cp “c:/sinelaboreRT5.2/bin/*” codegen.Main …

#### Linux / Mac / FreeBSD ...

Users of Unix like systems are usually familiar with command line tools. The codegen must be called from the command line. Example:
iMac:bin pmueller\$ java -cp “~/sinelaboreRT5.2/bin/*” codegen.Main …''