Campbell Scientific RTDAQ Software User Manual

Page 307

Advertising
background image

Section 10. Utilities

Exp(x)

returns the exponential base e to the power of element x.
Example:

Exp(4) = .00037

Frac(x)

returns the fractional value of the element x.
Examples:

Frac(4) = -.89

Frac(6+7) = .95

Int(x)

returns the integer portion of the element x.
Examples:

Int(7) = 270

Int(5

∗6) = 685

Ln(x)

returns the natural log of element x.
Examples:

Ln(6) = 2.5217

Ln(7/6

∗5/1) = 2.4337

Sin(x)

returns the sine of element x in degrees.
Examples:

Sin(7) = -.99996

Sin(7-2+5) = .50603

Spatial functions, included under Mathematical functions, operate on a per
Output Array basis. The average, maximum, minimum, and standard deviation
of a specified group of elements within an array are calculated.

SpaAvg(x..y)

returns the spatial average of elements x through y.
Examples:

SpaAvg(1..7) = 258.74

SpaAvg(1,4,7) = 122.54

SpaMax(x..y)

returns the maximum value of elements x

through y.
Examples:

SpaMax(1..7) = 1200

SpaMax(1,2,5) = 176

SpaMin(x..y)

returns the minimum value of elements x through y.
Examples:

SpaMin(1..7) = -7.89

SpaMin(1,2,5) = 55.1

SpaSd(x..y)

returns the standard deviation of elements x through y.
Examples:

SpaSd(1..7) = 394.57

SpaSd(5,2,1) = 49.607

Sqrt(x)

returns the square root of element x.
Examples:

Sqrt(3) = 34.641

Sqrt(3^ 2.0) = 1200

10-37

Advertising