
operation modes | Logging data to the local memory 19 |
Data subject not change without notice | Printed in Germany | October 19 | Version 1.0
6.3 Logging data to the local memory
When the SCD is configured to log measurements to its local memory, a file will be created in the user data
memory.
If the local memory is full, logging will be stopped.
It is possible to log to memory and stream data via BLE at the same time.
The time until the memory is full depends on the SCD settings.
Examples:
Accelerometer @6.4kHz (1 axis) will fill the memory in 60 seconds
Accelerometer @3.2kHz (3 axis) will fill the memory in 40 seconds
Accelerometer @1.6 kHz (3 axis) will fill the memory in 80 seconds
Temperature alone will fill the memory in 52 days
The log file is formatted as a CSV file (comma separated values). The filename corresponds to the time stamp
where data was downloaded.
Header contains general information about the measurement. The real start of measurement corresponds to the
calculation UNIX Timestamp + Delay Start [ms].
After this line, measurements are given according to the defined columns. If all four sensors are present, data is
interleaved according to the sampling intervals.
Each line always contains all columns (i.e. the number of commas per line is constant). Each sensor has its own
line and column.
The SCD microcontroller has an internal time counter which is used for the timestamp deviation against real
start of measurement in [ms] when logging to the local memory.
Evaluation takes place according to the pattern "[Sensor type], [Time Stamp], [Accel Data Length], [Data]."
Example:
[Temperature], [15462], [ ], [33]
[Accelerometer], [1272], [504], [13, 1, 16, 15, 6, -21, …, 16, 5, -5]
Note
The Accel Data Length data is omitted for Temperature, Light and Magnetometer.
•Accel Data Length indicates the number of values measured by the accelerometer.
•The measured values of the x, y, z axis are repeated in succession (x, y, z, x, y, z, etc.).
•Real time of a sample = UNIX Timestamp + Start Delay + Time Stamp
6.4 Streaming via BLE (Bluetooth Low Energy)
As standard, the SCD acts as a Bluetooth Low Energy (BLE) advertiser. This means that another BLE device
may detect the SCD when scanning for devices and is able to initiate a connection.
Using BLE, it is possible to configure a SCD and continuously receive measurement data from it.
6.5 Event detection mode
In event detection mode, the user is able to define thresholds for one or more sensor signals of the SCD.
Each time the respective measurement signal crosses the threshold, an event is generated and signaled via the
app.