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
- Using unit conversion: Unit Conversion
Linking a variable with unit conversion
Select an element.
- ⇒
The view Properties opens.
When assigning a variable, link the variable
iVar_A
with a rule of the unit conversion:convert_A.convert(iVar_A)
Compile, load and start the application.
- ⇒
The application runs. The visualization opens. The unit conversion is applied.