SBK-unexpected-data
Forewords
The SBK Datalogger generates CSV files that can be imported into spreadsheet (see this tutorial on Spreadsheet usage).
Upon condition, charting may reveal few data deviating from standard/common values.
This tutorial shows: why it happens, how to identify the data, how to fix it and what to do to avoids such situation.
The unexpected data
Drawing the data of the temperature sensor (content of the CSV) reveal an unexpected value.
By exploring the spreadsheet data, we can locate the line where appears the 180 °C value.
A close inspection reveal that "180" value is not a temperature but the next iteration number.
Conclusion:
- The iteration 153 as no value.
- The line of iteration 153 must be removed.
- Iteration 153 to 179 are missing (lot of data has not been logged).
Why did it happens?
This may happens when collecting too much data (from too many sensors) with a too high sample rate (10 ms or burst).
The sampling process does acquire the data as fast as possible to to respect the sampling time.
Then the data is pushed into a ring buffer for the sampling process to get ready for the next sample.
The main process --who's handle the LCD display and user input-- will then collect the data from the ring buffer then save it to the CSV file.
Written by Meurisse D. for MCHobby