beautypg.com

A.2.3 final data storage (output) processing, A.2.3.1 single-source – Campbell Scientific CR3000 Micrologger User Manual

Page 479

background image

Appendix A. CRBasic Programming Instructions

479

 

TableFile 
Writes a file from a data table to a CR3000 memory drive. 

Syntax 

TableFile("FileName", Options, MaxFiles, NumRecs /

TimeIntoInterval, Interval, Units, OutStat, LastFileName)

A.2.3 Final Data Storage (Output) Processing

Read More! See Data Output Processing Instructions

(p. 136).

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)