CimEngineeringUnits (object)

Contains the properties of a Points Engineering Units Conversion.
Description: The CimEngineeringUnits object contains the conversion information for converting a point from raw device units to real-world units. Conversion can either be linear or based on a conversion expression.

Examples

set points = project.points
Dim point as CimPoint
set point = points.Item("R1")
point.EuExists = TRUE
point.EngineeringUnits.EuLabel = "LPM"
point.EngineeringUnits.LinearConversion = True
' Device Range of 0-65536 map to range of 0 - 5000 LPM
point.EngineeringUnits.HighRawValue = 65536
point.EngineeringUnits.LowRawValue = 0
point.EngineeringUnits.HighConvValue = 5000
point.EngineeringUnits.LowConvValue = 0

' Example using custom conversion
point.EuExists = TRUE
point.EngineeringUnits.LinearConversion = False
point.EngineeringUnits.EuExpression = "%P^2"
point.EngineeringUnits.EuRevExp = "SQR(%P)"
Properties: EuExpression , EuLabel , EuRevExp , HighConvValue , HighRawValue , LinearConversion , LowConvValue , LowRawValue
Methods: