07.01.2015 Views

CR200/CR200X Series Dataloggers - Campbell Scientific

CR200/CR200X Series Dataloggers - Campbell Scientific

CR200/CR200X Series Dataloggers - Campbell Scientific

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Section 10. CRBASIC Programming Instructions<br />

StdDev<br />

Calculates the standard deviation over the output interval.<br />

Syntax<br />

StdDev (Reps, Source, DisableVar)<br />

Totalize<br />

Sums the total over the output interval.<br />

Syntax<br />

Totalize (Reps, Source, DisableVar)<br />

10.2.2.2 Multiple-Source<br />

ETo<br />

Stores evapotranspiration (ETo) and other meteorological data. Most suitable<br />

for output intervals of less than 24 hours.<br />

Syntax<br />

ETo (Temp, RH, u2, Rs, Longitude, Latitude,<br />

Altitude, DisableVar)<br />

EToDaily<br />

Stores evapotranspiration (ETo) and other meteorological data. Most suitable<br />

for output intervals 24 hours or more.<br />

Syntax<br />

EToDaily (Temp, RH, u2, Rs, Longitude, Latitude,<br />

Altitude, DisableVar)<br />

WindVector<br />

Processes wind speed and direction from either polar or orthogonal sensors. To<br />

save processing time, only calculations resulting in the requested data are<br />

performed.<br />

Syntax<br />

WindVector (Repetitions, Speed/East,<br />

Direction/North, DisableVar, SensorType,<br />

WVOutputOpt)<br />

Read More! See Wind Vector (p. 120).<br />

10.3 Single Execution at Compile<br />

Sub, ExitSub, EndSub<br />

Declares the name, variables, and code that form a Subroutine. Argument list is<br />

optional. ExitSub is optional.<br />

Syntax<br />

Sub subname (argument list)<br />

ExitSub<br />

EndSub<br />

[statement block]<br />

[statement block]<br />

95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!