Differences

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

Link to this comparison view

Both sides previous revision Previous revision
ezfit:ark_datalogging_api [2009/06/26 16:20]
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--''
   * Short-Term Data consists of 5 fields:   * Short-Term Data consists of 5 fields:
      # Timestamp      # Timestamp
Line 11: Line 11:
      # VC Level      # VC Level
      # Ambient Level      # Ambient Level
-     # (v2.0 only) iSceneDetect (Environment Classification) Value +     # (2.0 only) iSceneDetect (Environment Classification) Value 
-  * 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:+  * 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
 +  * (2.0 only) Interval time, calculated with the following formula: (X + 1)*4.096
   * Examples:<code csv>   * Examples:<code csv>
---Version 1.0-- +--Version 1.0--
 0,2,0,0,55 0,2,0,0,55
 0,3,0,0,76 0,3,0,0,76
Line 42: Line 43:
 249,9,0,-6,67,2 249,9,0,-6,67,2
 250,9,0,-6,61,0 250,9,0,-6,61,0
-255,9,0,-6,58,0+
 +</code> 
 + 
 +5,9,0,-6,58,0
 . . . . . .
 20,9,0,-6,58,0 20,9,0,-6,58,0