beautypg.com

A.2.3.2 multiple-source – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 478

background image

Appendix A. CRBasic Programming Instructions

478 

 

 

Moment 
Stores the mathematical moment of a value over the output interval. 

Syntax 

Moment(Reps, Source, Order, DataType, DisableVar)

PeakValley 
Detects maxima and minima in a signal. 

Syntax 

PeakValley(DestPV, DestChange, Reps, Source, Hysteresis)

Sample 
Stores the current value at the time of output. 

Syntax 

Sample(Reps, Source, DataType)

SampleFieldCal 
Writes field calibration data to a table.  See Calibration Functions

 (p. 522).

 

 
SampleMaxMin 
Samples a variable when another variable reaches its maximum or minimum for 
the defined output period. 

Syntax 

SampleMaxMin(Reps, Source, DataType, DisableVar)

StdDev 
Calculates the standard deviation over the output interval. 

Syntax 

StdDev(Reps, Source, DataType, DisableVar)

Totalize 
Sums the total over the output interval. 

Syntax 

Totalize(Reps, Source, DataType, DisableVar)

A.2.3.2 Multiple-Source

ETsz 
Stores evapotranspiration (ETsz) and solar radiation (RSo). 

Syntax 

ETsz(Temp, RH, uZ, Rs, Longitude, Latitude, Altitude, Zw, Sz,

DataType, DisableVar)

RainFlowSample 
Stores a sample of the CDM_VW300RainFlow into a data table. 

Syntax 

RainFlowSampe(Source, DataType)