Differences
This shows you the differences between two versions of the page.
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.: '' | + | * The datalogging version is stored in the first line of the file (row 1). This row has 1 field. Eg.: '' |
- | * 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 | + | # |
+ | * Long-Term Data is a single line written after the short-term data and consists of the number of cycles | ||
# 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 | ||
+ | </ | ||
+ | --Version 2.0-- | ||
+ | 0, | ||
+ | 85, | ||
+ | 233, | ||
+ | 248, | ||
+ | 249, | ||
+ | 250, | ||
+ | 2 | ||
+ | </ | ||
+ | |||
+ | 5, | ||
+ | . . . | ||
+ | 20, | ||
+ | 21, | ||
+ | 365, | ||
+ | 6 | ||
</ | </ | ||