04.01.2015 Views

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

CR1000 Manual - 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.

Appendix A. CRBasic Programming Instructions<br />

TableFile<br />

Writes a file from a data table to a <strong>CR1000</strong> memory drive.<br />

Syntax<br />

TableFile("FileName", Options, MaxFiles, NumRecs /<br />

TimeIntoInterval, Interval, Units, OutStat, LastFileName)<br />

A.2.3 Final Data Storage (Output) Processing<br />

Read More! See Data Output Processing Instructions (p. 131).<br />

FieldNames<br />

Immediately follows an output processing instruction to change default field<br />

names.<br />

Syntax<br />

FieldNames("Fieldname1 : Description1, Fieldname2 :<br />

Description2…")<br />

A.2.3.1 Single-Source<br />

Average<br />

Stores the average value over the output interval for the source variable or each<br />

element of the array specified.<br />

Syntax<br />

Average(Reps, Source, DataType, DisableVar)<br />

Covariance<br />

Calculates the covariance of values in an array over time.<br />

Syntax<br />

Covariance(NumVals, Source, DataType, DisableVar, NumCov)<br />

FFT<br />

Performs a Fast Fourier Transform on a time series of measurements stored in an<br />

array.<br />

Syntax<br />

FFT(Source, DataType, N, Tau, Units, Option)<br />

Maximum<br />

Stores the maximum value over the output interval.<br />

Syntax<br />

Maximum(Reps, Source, DataType, DisableVar, Time)<br />

Median<br />

Stores the median of a dependant variable over the output interval.<br />

Syntax<br />

Median(Reps, Source, MaxN, DataType, DisableVar)<br />

Minimum<br />

Stores the minimum value over the output interval.<br />

Syntax<br />

Minimum(Reps, Source, DataType, DisableVar, Time)<br />

477

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

Saved successfully!

Ooh no, something went wrong!