ScreenMaster RVG200
Paperless recorder
7 Configuration
132
OI/RVG200-EN
7.13.1 Math functions
Function
Description
Trigonometric functions:
SinR(x)
The sine of x (x specified in radians).
SinD(x)
The sine of x (x specified in degrees).
CosR(x)
The cosine of x (x specified in radians).
CosD(x)
The cosine of x (x specified in degrees).
TanR(x)
The tangent of x (x specified in radians).
TanD(x)
The tangent of x (x specified in degrees).
Logarithmic functions:
Log(x)
Log base 10 of x.
Ln(x)
Natural log of x.
Exp(x)
e to the power x.
Statistical functions:
Avg(x, n, t)
The average of variable x, over n samples at a sample rate of t seconds.
The average resets after n samples.
Rav(x, n, t)
The rolling average of variable x, over n samples at a sample rate of t seconds. The oldest
sample in each Rav calculation is lost and the new result is calculated by taking into
account the current sample.
Sd(x, n, t)
Standard Deviation of variable x, over n samples at a sample rate of t seconds.
Power functions:
X
a
(x, a)
Raises the variable x to the power a.
Sqr(x)
Returns the square root of variable x.
Special functions:
RH(x, y)
Relative humidity calculation using wet (x) and dry (y) bulb readings.
Abs(x)
The absolute value of variable x.
Switch functions:
Hs(x, y, z)
Returns the variable with the greatest magnitude.
Ms(x, y, z)
Returns the variable whose magnitude is between the upper and lower limits of the 3
variables.
Ls(x, y, z)
Returns the variable with the smallest magnitude.
Mux(x, y, s)
Selects x if s is false, otherwise selects y.
Table 7.5 Math functions