Data Monitor Expressions
Certain data monitor parameters can specify their own conditional expressions with which to flexibly define triggers or results. For example, you use these expressions in the Statistics data monitor's Alarm Trigger Condition and Group Discard Condition parameters to evaluate when to send an alarm or to remove result rows from statistical calculations.
The type of expression supported is a conventional infix mathematical expression with each basic expression separated by parentheses.
All common arithmetic operators are supported. Boolean operators are also fully supported and Boolean expressions evaluate as either 1 or 0 (true or false).
Supported Data Monitor Expression Operators
All common arithmetic operators are supported. Boolean operators are also fully supported and Boolean expressions evaluate as either 1 or 0 (true or false).
Operator |
Symbol |
Operator |
Symbol |
---|---|---|---|
Power |
^ |
Less Than or Equal |
<= |
Boolean Not |
! |
More Than or Equal |
>= |
Unary Plus |
+x |
Less Than |
< |
Unary Minus |
-x |
Greater Than |
> |
Modulus |
% |
Not Equal |
!= |
Division |
/ |
Equal |
== |
Multiplication |
* |
Boolean And |
&& |
Addition |
+ |
Boolean Or |
|| |
Subtraction |
- |
|
|
Supported Data Monitor Expression Functions
Name |
Function |
Name |
Function |
---|---|---|---|
Sine |
sin() |
Inverse Hyperbolic Cosine |
acosh() |
Cosine |
cos() |
Inverse Hyperbolic Tangent |
atanh() |
Tangent |
tan() |
Natural Logarithm |
ln() |
Arc Sine |
asin() |
Logarithm Base 10 |
log() |
Arc Cosine |
acos() |
Angle |
angle() |
Arc Tangent |
atan() |
Absolute Value / Magnitude |
abs() |
Hyperbolic Sine |
sinh() |
Random Number (between 0 and 1) |
rand() |
Hyperbolic Cosine |
cosh() |
Modulus |
mod() |
Hyperbolic Tangent |
tanh() |
Square Root |
sqrt() |
Inverse Hyperbolic Sine |
asinh() |
Sum |
sum() |