Skip to main content

Example

ThisFor exampleexamples presentsof a scene containing a button and solid color node which changes its color alternativelyhow to red and green when the button is pressed.

In order to achieve this theuse state machinemachines, isplease created on the Button control. Additionallyrefer to the Initialfollowing book.

Best Practices > State theMachine Solutions

This book explains how to create IVI solutions using state machinemachines, containswith anotheractual twooperating statesprocedures linkedas bybest twopractices. transitions.It Foris bothdivided transitionsinto five parts according to purpose, and it is recommended that you work through the Senderparts hasin beenorder, definedstarting with Part 1. The following parts in particular are useful as theexamples Button.of Whenactual configuration procedures.

Part 1: Prepare Scenes Explanation of the eventprocedure Clickedfor occurcreating scenes that are common to the conditionbest Checkpractices Clickof isState verifiedMachines. Before executing other parts, you must follow the procedure explained on this page. Part 2: Configuring the Global State Machine Explanation of the basic operations for building State Machines, including the Global State Machine settings, OnEntry/OnExit actions for States, and if it's true the correspondingsettings actionfor SetColoreach isTransition. executed.
drawing-5-1733495496.png
Part
3: Handle Media Devices Using History State
Explanation of how to use/configure Subchart and History State.