Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
ezfit:ark_datalogging_api [2009/06/26 13:22]
ajdavis
ezfit:ark_datalogging_api [2008/06/29 16:22] (current)
ajdavis
Line 4: Line 4:
 === Decoding CSV Datalog File === === Decoding CSV Datalog File ===
 The .csv file is a comma delimited file with the following row and column (field) definitions: The .csv file is a comma delimited file with the following row and column (field) definitions:
-  * The datalogging version is stored in the first line of the file (row 1). This row has 1 field only. Eg.: ''--Version 1.0--'' +  * The datalogging version is stored in the first line of the file (row 1). This row has 1 field. Eg.: ''--Version 1.0--'' 
-  * For (rows > 1) and (rows < TotalRows-1), the fields are as follows (there are 5 fields):+  * Short-Term Data consists of 5 fields:
      # Timestamp      # Timestamp
      # Battery Level      # Battery Level
Line 11: Line 11:
      # VC Level      # VC Level
      # Ambient Level      # Ambient Level
-  * For the last row (TotalRows-1), the "Long-Term Data" (time spent in each memory in 15 minute increments) is stored. This row has 4 fields only. It has the following format:+     # (2.0 onlyiSceneDetect (Environment Classification) Value 
 +  * Long-Term Data is a single line written after the short-term data and consists of the number of cycles spent in each memory. This row has 4 fields in the following format:
      # Total spent in Memory 1      # Total spent in Memory 1
      # Total spent in Memory 2      # Total spent in Memory 2
      # Total spent in Memory 3      # Total spent in Memory 3
      # Total spent in Memory 4      # Total spent in Memory 4
-  * Example:<code csv> +  * (2.0 only) Interval time, calculated with the following formula: (X + 1)*4.096 
---Version 1.0-- +  * Examples:<code csv> 
 +--Version 1.0--
 0,2,0,0,55 0,2,0,0,55
 0,3,0,0,76 0,3,0,0,76
Line 33: Line 35:
 0,3,0,0,61 0,3,0,0,61
 1283,5,1,0 1283,5,1,0
 +</code><code csv>
 +--Version 2.0--
 +0,9,1,-6,55,14
 +85,9,0,-6,58,0
 +233,9,3,-6,58,14
 +248,9,0,-6,67,0
 +249,9,0,-6,67,2
 +250,9,0,-6,61,0
 +2
 +</code>
 +
 +5,9,0,-6,58,0
 +. . .
 +20,9,0,-6,58,0
 +21,9,0,-6,55,2
 +365,246,19,454
 +6
 </code> </code>