Syntax – Campbell Scientific CR9000X Measurement and Control System User Manual
Page 301

Section 8. Processing and Math Instructions
FIGURE 8-2. Effect of RH errors on calculated dew point (
±
5 RH unit
error at three air temperatures)
EQV
The EQV function is used to perform a logical equivalence on two numbers or
expressions.
Syntax
result = expression1 EQV expression2
The EQV operator performs a bit-wise comparison of identically positioned bits
in two numbers (may be variables or the results of expressions) and sets the
corresponding bit in "result" according to the following truth table:
If bit in X is And bit in Y is
The result is
0 0
1
0 1
0
1 0
0
1 1
1
EXP
EXP returns e (the base of natural logarithms) raised to a power.
Syntax
EXP(
number
)
Remarks
If the value of number exceeds 709.782712893, an Overflow error occurs. The
constant e is approximately 2.718282.
Note The
EXP function complements the action of the Log function and is
sometimes referred to as the antilogarithm.
Exp FunctionExample
The example uses EXP to calculate the value of e. .
ValueOfE =
EXP
(1)
'Calculate value of e.
8-15