Skip to main content

HMI Logic Configuration

This section describes the configuration procedure for using Fusion to transfer gauge (needle) values to text placed in the center of the gauge.

To apply logic to nodes without programming, CGI Studio provides a feature called Behaviors. Behaviors can be used for a variety of purposes without having to create new behaviors by setting the properties of the behaviors prepared for each purpose. One of the uses of behaviors is to link via events. Using events, data can be easily sent 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. From the Solution Explorer, 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. Select the RPMGauge control and in the Extra Scene tree, click [ Fusion... ] in the Extra Scene Tree.
    • Switches to the Fusion panel and displays the Fusion diagram of the RPMGauge control.
      drawing-4-1707876456.png

  3. Drag and move the mouse over the connector in the upper right corner of the RPMGauge Fusion node in the Fusion diagram and release left click anywhere.
    • The [ Select Behavior ] dialog will appear.

  4. Enter "Forward Value" in the search field at the top of the dialog.
    • The list of behaviors in the dialog will be narrowed down to [ Value Processing>Forward Value ].
      drawing-4-1707876548.png
  5. Double-click [ Forward Value ].
    • The RPMGauge Fusion node and the Foward Value Fusion node are connected by a link.

  6. Click on the select item icon on the right side of the [ TargetNode ] section in the Foward Value Fusion node.
    • [ Choose Item ] dialog appears.
      drawing-4-1706845555.png


  7. From the list on the left side of the dialog, double-click on [ Scenes>Car_Cluster>RPMGauge_Group>RPMValue ].
    • [ RPMValue ] is displayed in the [ TargetNode ] section in the Foward Value Fusion node.
      drawing-4-1706845668.png


  8. Perform the step 2 through step 7 above for the "SpeedGauge" control as well.
    • Specify [ Scenes>Car_Cluster>SpeedGauge_Group>SpeedValue] as the connection target.

The above operation automatically transfers the value of the RPMGauge/SpeedGauge control to RPMValue/SpeedValue. The value in the center of the gauge displayed in the scene editor panel will change to "150" for each.

Operation checks related to this setting can be performed here. During simulation, the gauge center value changes in accordance with the movement of the gauge needle.