SC115 CS I/O 2G Flash Memory Drive with USB Interface Revision: 3/12 C o p y r i g h t © 2 0 1 0 - 2 0 1 2 C a m p b e l l S c i e n t i f i c , I n c .
Warranty “PRODUCTS MANUFACTURED BY CAMPBELL SCIENTIFIC, INC. are warranted by Campbell Scientific, Inc. (“Campbell”) to be free from defects in materials and workmanship under normal use and service for twelve (12) months from date of shipment unless otherwise specified in the corresponding Campbell pricelist or product manual. Products not manufactured, but that are re-sold by Campbell, are warranted only to the limits extended by the original manufacturer.
Assistance Products may not be returned without prior authorization. The following contact information is for US and international customers residing in countries served by Campbell Scientific, Inc. directly. Affiliate companies handle repairs for customers within their territories. Please visit www.campbellsci.com to determine which Campbell Scientific company serves your country. To obtain a Returned Materials Authorization (RMA), contact CAMPBELL SCIENTIFIC, INC., phone (435) 227-9000.
SC115 Table of Contents PDF viewers: These page numbers refer to the printed version of this document. Use the PDF reader bookmarks tab for links to specific sections. 1. Introduction..................................................................1 2. Cautionary Statements................................................1 3. Initial Inspection ..........................................................1 4. Quickstart .....................................................................1 5. Overview........
SC115 Table of Contents 10.2 CardFlush Instruction........................................................................... 13 10.3 CardOut Instruction ............................................................................. 13 10.4 Powerup.ini .......................................................................................... 13 10.5 Example Programs ............................................................................... 13 10.5.1 Data Collection Mode Examples........................
SC115 CS I/O 2G Flash Memory Drive with USB Interface 1. Introduction The SC115 is a portable 2-GB memory drive (thumb drive) compatible with Campbell Scientific CRBasic dataloggers that have a CS I/O port. 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. It can be used in tandem with a CompactFlash (CF) card. The SC115 can also be used as a CS I/O to USB communications interface. 2.
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.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 5.2 Communications Interface Function As a communication device, the SC115 provides pass-through communications. 6. Specifications Features • Portable 2-GB memory drive • Shuttles data, OS, and program files or remains connected to datalogger to augment memory • Can be used as a CS I/O to USB communications interface • Mean time between failure (MTBF): >1,000,000 hrs • Sealed, over-moulded case. No serviceable parts.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 7.2 PC Preparation The following procedures install required drivers to the PC. Install drivers BEFORE connecting the SC115 to the PC. 1. Obtain software drivers from one of the following sources. Source 1: Insert the CD supplied with a new SC115. The CD should auto run and present a menu (if not, open AutoRun.exe). Click on Install Drivers button.
SC115 CS I/O 2G Flash Memory Drive with USB Interface TABLE 2. PC Driver Installation for SC115 as Communications Interface Windows® XP Windows® Vista 1. Apply power to a Campbell Scientific datalogger, then attach the SC115 to the datalogger’s CS I/O port. 1. Apply power to a Campbell Scientific datalogger, then attach the SC115 to the datalogger’s CS I/O port. 2. Using the included USB extension cable, attach the SC115 to an open USB port on the computer. 2.
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.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 8.2 Resident Mode NOTE Resident modes increase the risk of data corruption. Review Section 12.1, Preventing Data Corruption before employing a resident mode. In the resident modes, the SC115 remains attached to a single datalogger allowing it to be used as resident external memory. The datalogger can be programmed to bale data to the SC115 at regular intervals or at uniform bale sizes.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 10. Datalogger Programming When used as a memory drive, the SC115 requires a TableFile() instruction in the datalogger CRBasic program. TableFile() creates a file from data table records, and writes the file to the SC115. The TableFile() instruction must be within the DataTable() / EndTable declaration. 10.1 DataTable() and TableFile() Instructions DataTable() and TableFile() instructions work together.
SC115 CS I/O 2G Flash Memory Drive with USB Interface TABLE 3. Function of NumRec, TFInterval, and TFUnits Parameters NumRec/ Time Into Interval (d) Entry TFInterval (e) Entry TFUnits (f) Entry 0 0 N/A (compiler ignores) When the SC115 is connected to the datalogger, the datalogger automatically sends to the SC115 only the data collected after the SC115 was last connected. The datalogger will not send additional data if the SC115 remains connected to the datalogger.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 10.1.1 FileName The FileName parameter must be a string declared as Const, such as Const FileName = "USB:FileName", or as an expression that evaluates to a constant, such as "USB:"+Variable+"FileName" Quotation marks are required. The created file will have a suffix of X.dat, where X is a number that increments each time a new file is written.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 10.1.3 MaxFiles The MaxFiles parameter specifies the maximum number of files to retain on an SC115. Table 4 reviews the options. TABLE 4. Synopsis of MaxFiles Parameter Options MaxFiles Entry Function X Create Maximum of X files, ring memory (overwrite oldest file with newest file when full). 0 The filename will remain fixed with no number appended. The old file if it exists will be overwritten at each output.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 10.1.5 Interval Parameter Data Collection Modes For data collection modes, the Interval parameter determines what data are written to the SC115. Set this parameter to 0 to collect only data written to datalogger memory since it was last connected. Set this parameter to -1 to collect all of the data stored in the datalogger’s memory. See previous Table 3. Resident Mode NOTE Resident Mode increases the risk of data corruption. Review Section 12.
SC115 CS I/O 2G Flash Memory Drive with USB Interface TableFile() has been designed to permit the datalogger to continue program execution while data are baled by a separate process into the table file. The upside is that TableFile() does not slow program execution. The down-side is that notification is delayed that the TableFile() task is complete. This situation is manifest as follows.
SC115 CS I/O 2G Flash Memory Drive with USB Interface Sample (1,PanelTempC,FP2) Minimum (1,BattVolt,FP2,0,False) EndTable BeginProg Scan (10,Sec,3,0) PanelTemp (PanelTempC,250) Battery (BattVolt) CallTable Test NextScan EndProg 10.5.1.2 Enhanced Data Collection Mode Example 'Plug – Retrieve All Data – Pull 'In this example, the SC115 is connected to the datalogger to retrieve all of 'the data stored in datalogger memory.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 10.5.3 Resident Record Number Mode Examples 'Plug In and Leave – data baled from buffer to SC115 every 60 records 'In this example, the SC115 remains at the datalogger as resident memory. 'This program avoids data corruption by setting TableFile() NumRecs to 60 'In this case, data are written only once an hour to the SC115.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 10.5.4 CardFlush Example 'In this example, the SC115 remains at the datalogger as resident memory. 'The Scan count, usually left at 0, is set to 600 in this application. 'To ensure complete collection of data, CardFlush instruction is included.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 11. Serial Communications Interface Function The SC115, when used as a serial interface, uses the Campbell Scientific SDC protocol to facilitate communications between the datalogger and a PC. The SDC address can be set to 7, 8, 10, or 11 (See Section 7.1, SC115 Settings).
SC115 CS I/O 2G Flash Memory Drive with USB Interface 12.2 Skipped Scans To avoid skipped scans, ensure that the scan interval in the datalogger program is long enough to include writing to the SC115. For example, if the program has a single TableFile() instruction, add at least 100 ms to the scan rate to accommodate each added TableFile() instruction. Compile datalogger programs in pipeline mode when possible.
SC115 CS I/O 2G Flash Memory Drive with USB Interface data are retrieved via LoggerNet data collection, or by using the TableFile() instruction, the internal SRAM is searched first, then the card. So, when operating the SC115 in plug and pull mode, SRAM data are transferred first, then the CF card is searched. Effect —The rate of transfer is slowed, not because of the search of the card, but because of the serial communications and (even slower) if an ASCII output file is selected.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 13. Troubleshooting Communications Interface 13.1 Breaking the Physical Comms Link To avoid a communications error, always click on Disconnect prior to physically breaking the SC115 interface link. When the SC115 interface link between the PC and the datalogger is physically broken before Disconnect is clicked in the support software, the software requires about one minute to process the broken link.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 15. Glossary DevConfig – Device Configuration Utility. Campbell Scientific PC software used for configuring dataloggers and peripherals. LED – Light Emitting Diode LoggerNet – Campbell Scientific top-level datalogger support software. PC400 – Campbell Scientific mid-level datalogger support software. RTDAQ – Campbell Scientific datalogger support software for industrial applications. SDC – Synchronous Devices Communication.
SC115 CS I/O 2G Flash Memory Drive with USB Interface 22
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA) PO Box 8108 Garbutt Post Shop QLD 4814 AUSTRALIA www.campbellsci.com.au • info@campbellsci.com.au Campbell Scientific do Brazil Ltda.