background image

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

13 

10.5.1.1  Standard Data-Collection Mode 

'Plug – Collect Data Since Last Plug - Pull 

'In this example, the SC115 is connected to the data logger to collect the data 
'written to the data logger memory after the last connection. It only collects 
'data that were already in data logger memory when it was connected. To collect 
'subsequent data, the SC115 must be disconnected then re-connected to the 
'data logger. Note that the file name incorporates the system Status.SerialNumber 
'variable, helping avoid file overwrites. 

Public

 PanelTempC, BattVolt 

DataTable

 (Hourly,1,-1) 

 

DataInterval

 (0,60,Min,0) 

 

TableFile

 ("USB:"+Status.Seria"_Filename",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  Enhanced Data-Collection Mode Example 

'Plug – Collect All Data – Pull 

'In this example, the SC115 is connected to the data logger to collect all of 
'the data stored in data logger memory. It only collects data that is already 
'stored in the data logger memory when it was connected. To collect subsequent 
'data, the SC115 must be disconnected and then reconnected to the data logger. 

Public

 PanelTempC, BattVolt 

DataTable

 (Hourly,1,-1) 

 

DataInterval

 (0,60,Min,0)  

 

TableFile

 ("USB:"+Status.Seria"_Filename",8,-1,0,-1,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 

Содержание 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...

Отзывы: