Configuring a Variable Assignment with Unit Conversion

A variable that was assigned in a visualization can be linked with a unit conversion. This causes the variable value to be converted according to a predefined rule and the result is edited in the visualization.

You have already configured the conversion rules in the editor of an object of the type Unit conversion.

See also

Linking a variable with unit conversion

  1. Select an element.

    The view Properties opens.

  2. When assigning a variable, link the variable iVar_A with a rule of the unit conversion:

    convert_A.convert(iVar_A)

  3. Compile, load and start the application.

    The application runs. The visualization opens. The unit conversion is applied.