Différences entre versions de « SBK-CSV-File »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 24 : Ligne 24 :
 
Here an short example of CSV file generated with the datalogger.
 
Here an short example of CSV file generated with the datalogger.
  
  <nowiki></nowiki>
+
  <nowiki>"iter","datetime","Pression Atmosphérique (hectopascal)","Temperature (Celcius)"
 +
1,01/01/2021 00:01:29, 990.92, 22.92
 +
2,01/01/2021 00:01:30, 990.90, 22.91
 +
3,01/01/2021 00:01:31, 990.88, 22.86
 +
4,01/01/2021 00:01:32, 990.90, 22.85
 +
5,01/01/2021 00:01:33, 990.88, 22.84
 +
6,01/01/2021 00:01:34, 990.88, 22.85
 +
7,01/01/2021 00:01:35, 990.84, 22.84
 +
8,01/01/2021 00:01:36, 990.88, 22.83
 +
9,01/01/2021 00:01:37, 990.87, 22.84</nowiki>
  
 
{{SBK-TRAILER}}
 
{{SBK-TRAILER}}

Version du 6 juillet 2024 à 00:17

Forewords

When recording the sensor data, the DataLogger do store the data into a CSV file.

Unlike a computer, the microcontroler that powers the DataLogger has no concept of regional settings.

Consequently, the commonly used settings are applied when generating the CSV files and write numeric values into them.


CSV convention

The comma is used as field separator.

Numbers are written with

  • dot as decimal separator
  • Without thousand separator

Textual value are double quoted

DateTime are encoded with the format

Here an short example of CSV file generated with the datalogger.

"iter","datetime","Pression Atmosphérique (hectopascal)","Temperature (Celcius)"
1,01/01/2021 00:01:29, 990.92, 22.92
2,01/01/2021 00:01:30, 990.90, 22.91
3,01/01/2021 00:01:31, 990.88, 22.86
4,01/01/2021 00:01:32, 990.90, 22.85
5,01/01/2021 00:01:33, 990.88, 22.84
6,01/01/2021 00:01:34, 990.88, 22.85
7,01/01/2021 00:01:35, 990.84, 22.84
8,01/01/2021 00:01:36, 990.88, 22.83
9,01/01/2021 00:01:37, 990.87, 22.84

Written by Meurisse D. for MCHobby


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.