Top | Previous | Next |
Numeric Properties |
The numerical properties are available to any tag whose data type is numeric.
Scaling Settings
Linear Scaling The value will be scaled linearly between the low and high values, and clamped as appropriate. The linear equation is: ScaledValue = ΔS * (Value-RL)/ΔR + SL
Square root Scaling The equation for square root scaling is: ScaledValue = √(ΔS * (Value-RL)/ΔR) + SL
... where ΔS is (ScaledHigh-ScaledLow), ΔR is (RawHigh - RawLow), RL is RawLow, and SL is ScaledLow
Exponential Filter This mode implements a simple linear recursive filter to smooth values. The scale factor corresponds to the weight of the smoothing effect, and is a value between 0.0 and 1.0. The smaller the factor, the greater the degree of smoothing. The equation for the filter is: y(t) = (1-f)*y(t-1)+f*x(t) With:
Note: Only "good" quality values are considered for the filter. Bad quality values will be ignored. |