6 logical functions, 7 string functions – Campbell Scientific RTDAQ Software User Manual
Page 249

Section 8. Real-Time Monitoring and Control Software
Function
Description
SINH(x)
Returns the hyperbolic sine of a number.
SQR(x)
Returns the square root of a number.
TAN(x)
Returns the tangent of an angle.
TANH(x)
Returns the hyperbolic tangent of a number.
8.1.5.6 Logical Functions
The following functions perform logical operations.
Function
Description
(x)AND(y)
Performs a logical conjunction on two numbers.
(x)EQV(y)
Performs a logical equivalence on two numbers.
(x)IMP(y)
Performs a logical implication on two numbers.
NOT(x)
Performs a logical negation on a number.
(x)OR(y)
Performs a logical disjunction on two numbers.
(x)XOR(y)
Performs a logical exclusion on two numbers.
8.1.5.7 String Functions
Function
Description
Hex
Returns a hexadecimal string representation of an
expression.
HexToDec
Converts a hexadecimal string to a float or integer.
InStr
Finds the location of a string within a string.
InStrRev
Finds the location of a string within a string. (Differs
from InStr in that it searches from the end of the string
rather than from the start of the string.)
Left
Returns a substring that is a defined number of
characters from the left side of the original string.
Len
Returns the number of bytes in a string.
LTrim
Returns a copy of a string with no leading spaces.
Mid
Returns a substring that is within a string.
Replace
Used to search a string for a substring, and replace that
substring with a different string.
8-15