beautypg.com

A.2.3 final data storage (output) processing, A.2.3.1 single-source – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual

Page 455

background image

Appendix A. CRBasic Programming Instructions

455

 

A.2.3 Final Data Storage (Output) Processing

Read More! See Data Output Processing Instructions

(p. 130).

FieldNames 
Immediately follows an output processing instruction to change default field 
names. 

Syntax 

FieldNames("Fieldname1 : Description1, Fieldname2 :

Description2…")

A.2.3.1 Single-Source

Average 
Stores the average value over the output interval for the source variable or each 
element of the array specified. 

Syntax 

Average(Reps, Source, DataType, DisableVar)

Covariance 
Calculates the covariance of values in an array over time. 

Syntax 

Covariance(NumVals, Source, DataType, DisableVar, NumCov)

FFT 
Performs a Fast Fourier Transform on a time series of measurements stored in an 
array. 

Syntax 

FFT(Source, DataType, N, Tau, Units, Option)

Maximum 
Stores the maximum value over the output interval. 

Syntax 

Maximum(Reps, Source, DataType, DisableVar, Time)

Median 
Stores the median of a dependant variable over the output interval. 

Syntax 

Median(Reps, Source, MaxN, DataType, DisableVar)

Minimum 
Stores the minimum value over the output interval. 

Syntax 

Minimum(Reps, Source, DataType, DisableVar, Time)

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

Syntax 

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