UOM (Unit of Measure conversion)
- Last UpdatedMar 03, 2025
- 1 minute read
The UOM() function converts the values in a stream to a specified unit of measure.
Syntax
|
Format |
Stream = UOM( Stream, Unit ) |
|
Arguments |
Stream - A stream of values Unit - The engineering unit to which values are converted |
|
Description |
Converts the values in the provided stream to use the specified unit of measure. If the specified unit does not exist, or is not correctly mapped to a catalog unit for conversion, the original unit is returned instead. |
Example
This example uses the following tag name:
-
Pump1.FlowRate measures the flow rate of a pump in liters per second (L/s)
The following expression returns the flow rate of a pump, with the units converted to gallons per second:
UOM(Pump1.FlowRate, gal/s)