Overview, 1 memory drive function – Campbell Scientific SC115 CS I/O 2G Flash Memory Drive with USB Interface User Manual

Page 8

Advertising
background image

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

• PC — requires software drivers be installed. See Section 7.2, PC

Preparation. Install drivers BEFORE plugging in the SC115. When these
drivers are installed, the SC115 performs on the PC as a memory drive
(thumb drive).

Datalogger — as shown in the following code example, insert the
TableFile() instruction into the datalogger CRBasic program immediately
following the DataInterval() instruction. This configuration enables the
SC115 to collect the newest data in the data collection mode (see Section
8.1, Data Collection Modes). Note that “USB:” is the correct drive name.
For complete programming examples, see Section 10.5, Example
Programs
.

DataTable (Test,1,-1)
DataInterval

(0,60,Min,0)

TableFile

("USB:"+Status.SerialNumber+"_Filename",8,-1,0,0,Min,0,0)

Sample

(1,PanelTempC,FP2)

Minimum

(1,BattVolt,FP2,0,False)

EndTable

5. Overview

The SC115 is a portable 2-GB memory drive (thumb drive) compatible with
CRBasic dataloggers that have a CS I/O port. It can be used in tandem with a
CompactFlash (CF) card. It shuttles data, OS, and program files between
Campbell Scientific dataloggers and a PC, or it remains connected to the
datalogger to augment data memory.

The SC115 can also be used as a CS I/O to USB communications interface.

The SC115 has a USB 2.0 compatible connector used to attach the SC115 to a
PC USB port to allow stored data files to be copies to the PC. It also has a CS
I/O 9-pin connector that attaches the SC115 to the CS I/O port of compatible
Campbell Scientific dataloggers. The SC115 may be connected directly to a
PC or datalogger, or connected through the supplied extension cables.

The 5 Vdc (pin 1) of the CS I/O interface determines whether the SC115 is
used as a memory drive or as a CS I/O-to-USB communications interface. If
the 5 Vdc pin is not driven high, it acts as a memory drive. If the 5 Vdc pin is
driven high by the datalogger, the SC115 will serve as a communications
interface.

5.1 Memory Drive Function

As a memory drive, when the SC115 is attached to the CS I/O port of a
datalogger, the LED (Light Emitting Diode) first flickers as the SC115 and
datalogger negotiate communications. The datalogger determines if the
TableFile() instruction is set to write to an SC115. The LED flickers as the
datalogger copies data files to the SC115. The LED stops flickering when data
transfer is complete, and the SC115 can safely be disconnected.

As a memory drive, when the SC115 is attached to a PC, the LED first lights
solidly as it communicates with the PC to obtain a unique address. Once
negotiations are finished, the LED extinguishes and the SC115 appears as a
removable drive in Windows® Explorer. Data files on the SC115 can be
copied or moved to other drives. Files, such as CRBasic program files or
operating system files, can be copied or moved from PC drives to the SC115.

2

Advertising