3 predefined constants, 4 predefined time constants, 5 functions – Campbell Scientific RTMC Pro Real-Time Monitor and Control Professional Software User Manual
Page 29: Predefined constants, Predefined time constants, Functions
RTMC Pro
2.4.3 Predefined Constants
Constant
Description
e 2.718282
PI 3.141593
True -1
False 0
NOPLOT NAN
NAN
NAN (not a number)
INF
INF (non-finite number)
2.4.4 Predefined Time Constants
These predefined time constants can be useful as a parameter for the Functions
with State, where the interval parameter must be specified in nanoseconds.
Constant
Description
nsecPerUSec
Number of nanoseconds in a microsecond
nsecPerMSec
Number of nanoseconds in a millisecond
nsecPerSec
Number of nanoseconds in a second
nsecPerMin
Number of nanoseconds in a minute
nsecPerHour
Number of nanoseconds in an hour
nsecPerDay
Number of nanoseconds in a day
nsecPerWeek
Number of nanoseconds in a week
2.4.5 Functions
The following functions show the use and placement of the numbers the
function operates on. The parentheses are not required unless there are two or
more parameter values (e.g., ATN2(y,x)).
Function
Description
ABS(x)
Returns the absolute value of a number.
ACOS(x)
Returns the arc cosine of a number.
ASIN(x)
Returns the arc sine of a number.
ATN(x)
Returns the arc tangent of a number.
ATN2(y,x)
Returns the arctangent of y/x.
CEILING(x)
Rounds a number up to an integer value.
COS(x)
Returns the cosine of a number.
COSH(x)
Returns the hyperbolic cosine of a number.
CSGN(x)
Changes the sign of a number by multiplying by -
1.0.
EXP(x)
Returns e raised to a power.
23