background image

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

17 

COM ports on the computer (as memory devices, two SC115s may be 

attached to a computer at the same time). 

12. Troubleshooting Memory Drive

12.1  Preventing Data Corruption 

To avoid corruption of SC115 memory, never remove the SC115 from the data 

logger during data transfer. The flashing LED indicates when data is being 

written to the SC115. Should the SC115 be removed while the LED is flashing, 

the most likely result is that the current data file will be corrupted. In addition, 

a FAT sector or the directory link sector may become corrupted. This condition 

requires that the SC115 memory be reformatted, which will result in the loss of 

all data. 

When either the 

NumRecs/TimeIntoInterval

 or 

Interval

 parameters are set to a 

non-zero positive value (resident modes), there is a risk that the data logger 

will begin writing data to the SC115 at the exact moment it is being removed 

from the data logger, resulting in data corruption. To prevent this, set these 

parameters to values that allow the time between writing data to be easily 

discerned (such as an interval of 10 seconds) by watching the LED. The user 

then times the removal of the SC115 to occur when the data logger is not 

writing data. See Section 

10.5.2

Resident Interval Mode Example

 

(p. 14)

. 

Another method is to set the 

NumRecs

 parameter in 

TableFile()

 to match the 

Size

 parameter in the associated 

DataTable()

 instruction. Depending on the 

rate at which records are written, this can cause data to be written to the SC115 

at long intervals, greatly reducing the chance of removing the SC115 from the 

data logger while transferring data. See Section 

10.5.3

Resident Record 

Number Mode Examples

 

(p. 14)

 (second example). 

If SC115 data becomes corrupted, first attempt to retrieve all files from the 

SC115. Reformat the SC115 per Section 

14.2

Formatting Memory

 

(p. 20)

. 

12.2  Skipped Scans 

To avoid skipped scans, ensure that the scan interval in the data logger 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 data logger programs in pipeline mode when possible. Data logger 

programs compiled in sequential mode require a longer scan interval than 

programs compiled in pipeline mode to avoid skipped scans. In pipeline mode, 

the 

Scan() / NextScan

 instruction 

BufferOption

 parameter can be increased to 

prevent skipped scans. In sequential mode, the 

TableFile() 

instruction must 

finish before continuing to the next instruction, resulting in skipped scans 

unless the scan interval is long enough to handle all communication, 

measurement processing, and 

TableFile()

 tasks. Sequential mode ignores any 

scan buffers that may be assigned. Programs may run as much as three times 

faster in pipeline mode than in sequential mode. 

Содержание SC115

Страница 1: ...SC115 CS I O 2G Flash Memory Drive with USB Interface Revision 11 19 Copyright 2010 2019 Campbell Scientific CSL I D 873...

Страница 2: ......

Страница 3: ...under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations for repairs can be give...

Страница 4: ......

Страница 5: ...digital cell phones and aerials may also not be applicable according to your locality Some brackets shields and enclosure options including wiring are not sold as standard items in the European marke...

Страница 6: ......

Страница 7: ...beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit cl...

Страница 8: ......

Страница 9: ...ettings Optional 4 8 Data Storage Modes 4 8 1 Data Collection Modes 4 8 1 1 Programming for the Data Collection Modes 5 8 1 2 Multiple Data Loggers 5 8 2 Resident Mode 5 8 2 1 Programming for the Resi...

Страница 10: ...nterface Function 16 12 Troubleshooting Memory Drive 17 12 1 Preventing Data Corruption 17 12 2 Skipped Scans 17 12 3 SC115 with Large Data Compliment 18 12 4 Data Collection Speed 18 12 4 1 External...

Страница 11: ...ta transfer See Section 12 1 Preventing Data Corruption p 17 to assess the risk in a particular application Always click Disconnect in the data logger support software prior to removing the SC115 when...

Страница 12: ...loggers DataTable Hourly 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...

Страница 13: ...ive 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 OS files can be copied or moved from computer drives to t...

Страница 14: ...tion The parameters entered for the TableFile instruction depend on the data storage mode used refer to Section 8 Data Storage Modes p 4 Section 10 Data Logger Programming p 6 discusses in detail data...

Страница 15: ...bleFile 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 m...

Страница 16: ...the SC115 at midnight each day The second TableFile instruction sets the data logger to send bales of 24 records to the SC115 See Section 10 5 2 Resident Interval Mode Example p 14 for more detailed...

Страница 17: ...ts specific to SC115 applications For more detail consult CRBasic Editor Help TableFile is included in the DataTable EndTable declaration as shown in the programming examples in Section 10 5 Example P...

Страница 18: ...ry The data logger will not send additional data if the SC115 remains connected to the data logger number of data records value 0 0 N A compiler ignores The data logger sends the specified number of d...

Страница 19: ...y one uses the result as the name for a new file and writes the new data to the new file When multiple SC115s are used to collect data from multiple data loggers it is often desirable to set the inter...

Страница 20: ...rent number of files and overwrites the oldest file with new data Refer to the CRBasic Help system for detailed information on this parameter 10 1 4 NumRecs TimeIntoInterval Parameter Data Collection...

Страница 21: ...data to the SC115 whenever the number of new records matches the NumRecs TimeIntoInterval value 10 1 6 Units Parameter The Units parameter specifies the units used by the Interval parameter The compi...

Страница 22: ...file with TableFile after every 10 seconds every 100 records only 400 575 records may be written to the SC115 due to the program ending at the 600th scan prior to transferring all the records to the S...

Страница 23: ...ilename 8 1 0 0 Min 0 0 Sample 1 PanelTempC FP2 Minimum 1 BattVolt FP2 0 False EndTable BeginProg Scan 10 Sec 3 0 PanelTemp PanelTempC 250 Battery BattVolt CallTable Hourly NextScan EndProg 10 5 1 2 E...

Страница 24: ...olt FP2 0 False EndTable BeginProg Scan 10 Sec 3 0 PanelTemp PanelTempC 250 Battery BattVolt CallTable Hourly NextScan EndProg 10 5 3 Resident Record Number Mode Examples Plug In and Leave data baled...

Страница 25: ...lse EndTable BeginProg Scan 10 Sec 3 0 PanelTemp PanelTempC 250 Battery BattVolt CallTable Hourly NextScan EndProg 10 5 4 CardFlush Example In this example the SC115 remains at the data logger as resi...

Страница 26: ...te communications between the data logger and a computer The SDC address can be set to 7 8 10 or 11 see Section 7 2 SC115 Settings Optional p 4 Consider the following points when using the SC115 as a...

Страница 27: ...mRecs parameter in TableFile to match the Size parameter in the associated DataTable instruction Depending on the rate at which records are written this can cause data to be written to the SC115 at lo...

Страница 28: ...automatically transferred from the data table to the SC115 file How it works When CardOut is used in a DataTable EndTable declaration the file created on the external memory card becomes an extension...

Страница 29: ...t if large files from numerous data loggers need collection using the TOB1 format may save considerable time Consult the LoggerNet Instruction Manual for options available to convert TOB1 data files o...

Страница 30: ...onfig Before the SC115 can be configured through DevConfig the device driver must be installed DevConfig is used to install the device driver Under Device Type select Peripheral SC115 Click Install US...

Страница 31: ......

Страница 32: ...cennes France Phone 0033 0 1 56 45 15 20 Email info campbellsci fr Website www campbellsci fr Germany Location Bremen Germany Phone 49 0 421 460974 0 Email info campbellsci de Website www campbellsci...

Отзывы: