# Example

The following book provides examples of how to use state machines:

<span style="color: rgb(230, 126, 35);">[<u>Best Practices &gt; State Machine Solutions</u>](https://doc316en.candera.eu/books/best-practice/chapter/state-machine-solution)</span>

This book outlines best practices for creating IVI solutions using state machines and includes detailed operating procedures. It is organized into five parts according to purpose, and it is recommended to work through them sequentially, beginning with "Part 1". The subsequent parts are especially useful as references for practical configuration procedures.

<table border="1" id="bkmrk-part1%EF%BC%9A%E3%82%B7%E3%83%BC%E3%83%B3%E3%81%AE%E6%BA%96%E5%82%99-%E3%82%B9%E3%83%86%E3%83%BC%E3%83%88%E3%83%9E%E3%82%B7%E3%83%B3" style="border-collapse: collapse; width: 800px; border-width: 1px;"><colgroup><col style="width: 43.242%;"></col><col style="width: 56.7447%;"></col></colgroup><tbody><tr><td><span style="color: rgb(230, 126, 35);">[Part 1: Prepare Scenes](https://doc316en.candera.eu/books/best-practice/page/part-1-prepare-scenes)</span></td><td>Provides procedures for **creating scenes** that are common to the **best practices of State Machines**. You must complete the steps in this part before proceeding to any subsequent parts.</td></tr><tr><td><span style="color: rgb(230, 126, 35);">[Part 2: Configuring State Machine](https://doc316en.candera.eu/books/best-practice/page/part-2-configuring-state-machine)</span></td><td>Covers the basic operations required to build State Machines, including Global State Machine settings, **OnEntry** and **OnExit** actions for States, and configuration options for each Transition.</td></tr><tr><td><span style="color: rgb(230, 126, 35);">[Part 3: Subchart and History State](https://doc316en.candera.eu/books/best-practice/page/part-3-subchart-and-history-state)</span></td><td>Explains how to use and configure **Subchart** and **History States.**</td></tr></tbody></table>