beautypg.com

2 multiple-source, 3 single execution at compile – Campbell Scientific CR200/CR200X-series Dataloggers User Manual

Page 107

background image

Section 10. CRBASIC Programming Instructions

StdDev

Calculates the standard deviation over the output interval.

Syntax

StdDev (Reps, Source, DisableVar)

Totalize

Sums the total over the output interval.

Syntax

Totalize (Reps, Source, DisableVar)

10.2.2.2 Multiple-Source

ETo

Stores evapotranspiration (ETo) and other meteorological data. Most suitable

for output intervals of less than 24 hours.

Syntax

ETo (Temp, RH, u2, Rs, Longitude, Latitude,

Altitude, DisableVar)

EToDaily

Stores evapotranspiration (ETo) and other meteorological data. Most suitable

for output intervals 24 hours or more.

Syntax

EToDaily (Temp, RH, u2, Rs, Longitude, Latitude,

Altitude, DisableVar)

WindVector

Processes wind speed and direction from either polar or orthogonal sensors. To

save processing time, only calculations resulting in the requested data are

performed.

Syntax

WindVector (Repetitions, Speed/East,

Direction/North, DisableVar, SensorType,

WVOutputOpt)

Read More! See

Wind Vector

(p. 120).

10.3 Single Execution at Compile

Sub, ExitSub, EndSub

Declares the name, variables, and code that form a Subroutine. Argument list is

optional. ExitSub is optional.

Syntax

Sub subname (argument list)

[statement block]

ExitSub

[statement block]

EndSub

95