Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 355

Advertising
background image

Section 8. Working with Data Files on the PC

The following array of ASCII data will be used for all Mathematical function

examples.
0105 0176 1200 –07.89 55.10 12.45 270.5

Abs(x)

returns the absolute, or positive value of element x.

Examples:

Abs(4) = 7.89

Abs(4∗5) = 434.74

Arctan(x)

returns the arc tangent of element x in degrees.

Examples:

Arctan(7) = 89.788

Arctan(7/6) = 87.365

Cos(x)

returns the cosine of element x in degrees.

Examples:

Cos(5) = .57215

Cos(5–6) = .73551

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

8-57

Advertising