Statechart Tools Examples

Python Code Generation for SCTUnit with unittest

This example demonstrates how to generate unittests for SCTUnit tests.

Read more >

Java Code Generation for SCTUnit with Mockito

This example demonstrates how to generate JUnit tests for SCTUnit tests.

Read more >

C++ Code Generation for SCTUnit with GTest

This example demonstrates how to generate GTests for SCTUnit tests.

Read more >

Testing State Machines with SCTUnit

This example demonstrates how to write tests for statecharts using SCTUnit.

Read more >

Python Code Generation for Multi State Machines

This example demonstrates how to generate Python code from a multi state machine scenario.

Read more >

C Code Generation for Multi State Machines

This example demonstrates how to generate C code from a multi state machine scenario.

Read more >

C++ Code Generation for Multi State Machines

This example demonstrates how to generate C++ code from a multi state machine scenario.

Read more >

Java Code Generation for Multi State Machines

This example demonstrates how to generate Java code from a multi state machine scenario.

Read more >

Event Buffering

This example demonstrates the usage of event buffers and their impact on the event processing of a state machine.

Read more >

Arduino - Blinky LED (Deep C++)

This is a simple example of how to use the C/C++ Domain together with an Arduino. C++ Timer are integrated

Read more >

Arduino - Zowi (Deep C++)

This is a example of how to use the C/C++ Domain together with the Zowi by BQ. C++ Timer are integrated

Read more >

Arduino - Zowi (C++)

This is a example of how to use the Default Domain together with the Zowi by BQ. C++ Timer are integrated

Read more >

TicToc - Tracing & Remote Control (C)

YAKINDU provides infrastructure for debugging and remote controlling the state machines using execution traces (YET).

Read more >

STM32F407 Discovery - Blinky LED (Deep C, Multi SM)

This is a simple example of how to use multi state machines in the C domain together with an STM32F407 Discovery board. C timers are integrated.

Read more >

STM32F407 Discovery - Blinky LED (Deep C)

This is a simple example of how to use the C domain together with an STM32F407 Discovery board. C timers are integrated.

Read more >

Multi State Machines

This example demonstrates the usage of multi state machines.

Read more >

Traffic Light with Multi State Machines

This example of the traffic light control demonstrates how to model multiple state machines that communicate with each other.

Read more >

Child-first vs. Parent-first Execution

This example demonstrates the two different execution semantics of composite states: child-first and parent-first execution.

Read more >

Event-driven vs. Cycle-based Execution

This example demonstrates the two different execution semantics of statecharts: event-driven and cycle-based execution.

Read more >

Hierarchical Statecharts

This example demonstrates the usage of hierarchies in statecharts. It explains the concepts of composite states and subdiagrams.

Read more >

Arduino - Traffic Light (C++)

Wondering how to execute your state machine on the Arduino platform? This example demonstrates the necessary steps, like installing the Arduino plugin, building the hardware, turning your statechart into code and uploading it to the Arduino. It does so by means of the standard traffic light example.

Read more >

Traffic Light (Qt/C++)

YAKINDU provides a Qt specific C++ code generator for statecharts. This example project shows how easy YAKINDU Qt/C++ state machines can be integrated into Qt applications.

Read more >

Coffee Machine (Deep C)

This is a comprehensive example for the deep integration of YAKINDU statecharts with manually written C code. The example is implemented as a simple command line tool.

Read more >

Coffee Machine (Deep C++)

This is a comprehensive example for the deep C++ integration of YAKINDU statecharts.

Read more >

Traffic Light (Python)

Demonstrates how to generate Python source code from a statechart.

Read more >

Arduino - Traffic Light (C)

Wondering how to execute your state machine on the Arduino platform? This example demonstrates the necessary steps, like installing the Arduino plugin, building the hardware, turning your statechart into code and uploading it to the Arduino. It does so by means of the standard traffic light example.

Read more >

MSP430 - Blinky LED (Deep C)

Blinking LED on MSP430G2553 by using TIs Code Composer Studio and YAKINDU Statechart Tools as a plugin

Read more >

Traffic Light (Java)

Demonstrates how to to generate Java source code from a statechart. The procedure is actually explained in the YAKINDU Statechart Tools documentation, section "Java code generator".

Read more >

Raspberry Pi - Traffic Light (Python)

Demonstrates how to generate Python source code from a statechart.

Read more >

Traffic Light (SCXML) for QT

This traffic light is inspired by the Qt examples. It provides a simple traffic light that consists of the main states red, yellow and green. It demonstrates how to connect to the active properties of a state in a dynamically loaded statemachine within YAKINDU Statechart Tools and the Qt environment.

Read more >