You can use the “Adaptive measured values” widget to scale a sensor value (e.g. an analog measured value: 4-20mA) and convert it into any unit of measurement. To do this, first enter a Starting and an Ending point incl. the unit of the input in the first line. Select the value range of the output by defining the Starting and Ending point also in this case.
Application example: You can automatically convert a measured value in millimeters into centimeters and then display it on a clearly arranged scale.
Note: The quotient from the starting and ending points defines the continuity of the linear straight while the starting point defines the offset. The conversion uses the following formula: