Campbell Scientific RTDAQ Software User Manual

Page 248

Advertising
background image

Section 8. Real-Time Monitoring and Control Software

Function

Description

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 the x power.

FIX(x)

Returns the integer portion of a number. If the number
is a negative, the first negative integer greater than or
equal to the number is returned.

FLOOR(x)

Rounds a number down to an integer value.

FRAC(x)

Returns the fraction part of a number.

FormatFloat(x,y)

Converts a floating point value into a string.

FormatFloatL(x,y)

Converts a floating point value into a string and applies
any rules associated with the locale of the computer
running RTMC.

IIF(x,y,z)

Evaluates an expression (x) and returns one value if
true (y), a different value if false (z).

INT(x)

Returns the integer portion of a number. If the number
is a negative, the first negative integer less than or equal
to the number is returned.

IsFinite(x)

Determines if a number is finite.

LN(x)

Returns the natural log of a number. (Note that LN or
LOG may be used to perform the same function.)

LOG(x)

Returns the natural log of a number. (Note that LN or
LOG may be used to perform the same function.)

LOG10(x)

Returns the logarithm base 10 of a number.

(x)MOD(y)

Performs a modulo divide of two numbers.

PWR(x,y)

Raises constant x to the power of y.

RND

Generates a random number.

SGN(x)

Used to find the sign value of a number (-1, 0, or 1).

SIN(x)

Returns the sine of an angle.

8-14

Advertising