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