Skip to main content

HMI Logic Configuration

This section describes how to configure the Gauge control to forward its value to the TextValue control using Fusion.

CGI Studio provides a feature called Behaviors to apply logic to nodes without programming. The built-in behaviors provided in SceneComposer offer great versatility, thanks to their extensive configuration possibilities. One common use of behaviors is event-based linking, which allows data to be easily transferred between two behaviors.

Fusion combines a behavior tree view that appears to the right of a selected node in the scene tree (extra scene tree) and a properties panel for the selected node. This provides an alternative way to manage behaviors. As a result, Fusion allows you to structure your scene interactions in a more graphical and intuitive way.


  1. In the Solution Explorer double-click [Scenes>Car_Cluster].
    • "Car_Cluster" will appear in the scene tree.
    • An extra scene tree will appear to the right of the scene tree.

  2. In the Scene Tree panel selectselect the RPMGauge control,control, then click [Fusion...] in the Extra Scene Tree.
    • Fusion panel will be opened, displaying the Fusion diagram for the RPMGauge control. The diagram only contains one Fusion Node: RPMGauge.
      drawing-4-1730460832.png

  3. The RPMGauge's Fusion Node offers a Behaviors connector in its top right corner (a white circle next to the label "Behaviors"). Drag this connector, then release it againagain..
    • The [Select Behavior] dialog will be displayeddisplayed..

  4. In the [Select Behavior] dialog enterenter "Forward Value" into the search field at the top.
    • The list of behaviors in the dialog will be narrowed down to [Value Processing > Forward Value].
      drawing-4-1714388659.png
  5. Double-click [Forward Value].
    • A new Fusion Node "Forward Value" has been added to the diagram.
    • The RPMGauge Fusion node and the Forward Value Fusion node are connected by a link.

  6. In the Forward Value Fusion node, clickclick on the select item icon on the right side of the [TargetNode] section.
    • The [Choose Item] dialog will be displayed.displayed.
      drawing-4-1714388721.png

  7. In the [Choose Item] dialog navigate to the Target Node listed in the table below,below, then click [OK].
    • [RPMValue] is configured to be the Target Node of the Forward Value behavior.
    • The RPMGauge control is configured to forward its value to the  TextValue control "RPMValue".
      Fusion Node Target Node
      RPMGauge > Forward Value Scenes > Car_Cluster > RPMGauge_Group > RPMValue

      drawing-4-1714389489.png

  8. In the Scene Tree panel selectselect the SpeedGauge control,control, then click [Fusion...] in the Extra Scene Tree. Perform steps 2 through step 7 similarly for the "SpeedGauge" control. Configure Forward Value node's Target Node according to the table below.
    • The SpeedGauge control is configured to forward its value to the  TextValue control "SpeedValue".
      Fusion Node Target Node
      SpeedGauge > Forward Value  Scenes > Car_Cluster > SpeedGauge_Group > SpeedValue

With the configuration described above, the values from the RPMGauge and SpeedGauge controls are automatically forwarded to the corresponding TextValue controls, RPMValue and SpeedValue. 

To verify the functionality of this configuration switch to the Scene Editor panel. In the Scene Tree panel select one of the Gauge controls and modify its value property in the Properties panel. You should see the corresponding TextValue node update in the Scene Editor accordingly.

If the TextValue node does not update automatically, press the <F5> key on your keyboard to refresh the view.

Operation checks related to this setting can be performed here. During simulation, the value at the center of the gauge dynamically updates in sync with the movement of the gauge needle.