07.01.2015 Views

CR200/CR200X Series Dataloggers - Campbell Scientific

CR200/CR200X Series Dataloggers - Campbell Scientific

CR200/CR200X Series Dataloggers - 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.

Section 10. CRBASIC Programming Instructions<br />

10.2 Data Table Declarations<br />

10.2.1 Data Table Modifiers<br />

DataTable … EndTable<br />

Mark the beginning and end of a data table.<br />

Syntax<br />

DataTable (Name, TrigVar, Size)<br />

[data table modifiers]<br />

[on-line storage destinations]<br />

[output processing instructions]<br />

EndTable<br />

DataInterval<br />

Sets the time interval for an output table.<br />

Syntax<br />

DataInterval (TintoInt, Interval, Units,)<br />

10.2.2 Data Storage Output Processing<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 />

10.2.2.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, DisableVar)<br />

Maximum<br />

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

Syntax<br />

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

Minimum<br />

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

Syntax<br />

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

Sample<br />

Stores the current value at the time of output.<br />

Syntax<br />

Sample (Reps, Source)<br />

94

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

Saved successfully!

Ooh no, something went wrong!