Data storage modes, 1 data collection modes, 1 programming for the data-collection modes – Campbell Scientific SC115 CS I/O 2G Flash Memory Drive with USB Interface User Manual

Page 12: 2 multiple dataloggers

Advertising
background image

SC115 CS I/O 2G Flash Memory Drive with USB Interface

8. Data Storage Modes

The datalogger CRBasic program determines the SC115 data storage mode
through the TableFile() instruction. The TableFile() instruction in the
datalogger CRBasic program determines what data the SC115 will receive
from the datalogger. Data collection modes and residential modes are
available.

8.1 Data Collection Modes

With these modes, data collection is automatically initiated by connecting the
SC115 to the datalogger. The SC115 only collects data already contained in
datalogger memory at the time of connection. Additional data will not be
collected until the SC115 is disconnected and then reconnected to the
datalogger.

Both standard and enhanced data-collection modes are available. With the
standard mode, the SC115 collects the newest data (data written to the
datalogger memory since the last connection). With the enhanced mode, the
SC115 collects all of the data stored in the datalogger’s memory every time the
SC115 is reconnected.

To use the enhanced data collection mode, the datalogger must
have a newer operating system (OS 22 or higher).

NOTE

8.1.1 Programming for the Data-Collection Modes

The standard mode is enabled in the TableFile() instruction by entering 0 for
both the NumRecs (Number of Records) parameter and the Interval parameter.
The enhanced mode is enabled by entering 0 for the NumRecs parameter and
entering -1 for the Interval parameter.

Below are TableFile() instructions that enable data collection modes. The first
TableFile() instruction enables the standard data collection mode. The second
TableFile() instruction enables the enhanced data collection mode. See
Section 10.5.1, Data Collection Mode Examples for more detailed program
code.

TableFile("USB:"+Status.SerialNumber+"_FileName",8,-1,0,0,Hr,0,0)

TableFile("USB:"+Status.SerialNumber+"_FileName",8,-1,0,-1,Hr,0,0)

8.1.2 Multiple Dataloggers

The data-collection modes allow one SC115 to be used with multiple
dataloggers. When using multiple dataloggers, specify a unique file name for
each instance of the TableFile() instruction (see Section 10.1.1, FileName).
This avoids overwriting data files from other dataloggers.

6

Advertising