A.6.10 other functions – Campbell Scientific CR3000 Micrologger User Manual
Page 503

Appendix A. CRBasic Programming Instructions
503
CovSpa
Computes the spatial covariance of sets of data.
Syntax
CovSpa(Dest, NumOfCov, SizeOfSets, CoreArray, DatArray)
FFTSpa
Performs a Fast Fourier Transform on a time series of measurements.
Syntax
FFTSpa(Dest, N, Source, Tau, Units, Option)
MaxSpa
Finds the maximum value in an array.
Syntax
MaxSpa(Dest, Swath, Source)
MinSpa
Finds the minimum value in an array.
Syntax
MinSpa(Dest, Swath, Source)
RMSSpa
Computes the RMS (root mean square) value of an array.
Syntax
RMSSpa(Dest, Swath, Source)
SortSpa
Sorts the elements of an array in ascending order.
Syntax
SortSpa(Dest, Swath, Source)
StdDevSpa
Used to find the standard deviation of an array.
Syntax
StdDevSpa(Dest, Swath, Source)
A.6.10 Other Functions
AddPrecise
Used in conjunction with MovePrecise, allows high‐precision totalizing of
variables or manipulation of high‐precision variables.
Syntax
AddPrecise(PrecisionVariable, X)
AvgRun
Stores a running average of a measurement.
Syntax
AvgRun(Dest, Reps, Source, Number)
Note AvgRun() should not be inserted within a For / Next construct with the
Source and Dest parameters indexed and Reps set to 1. In essence this would be
performing a single running average, using the values of the different elements of
the array, instead of performing an independent running average on each element