23
The format of the log file is an ASCII-file, with comma separated values (filename: log<time>.csv). The filename corresponds
to the time counter in the microcontroller at the beginning of the measurement. In the file, the first three lines contain header
information on the measurement. This includes a comma-separated list of the selected measuring dimensions, e.g.:
Time(ms),ax,ay,az,gx,gy,gz,mx,my,mz,Temp,Humidity,Pressure,Light,Noise
After this line, the measurements are given according to the defined columns. If present, inertial and environmental lines are
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 CISS microcontroller has an internal time counter which is used for the timestamp when logging to the local memory.
Per default, this counter starts at zero after a power cycle. To get an absolute time, the counter may be set to a UNIX
timestamp through the corresponding USB or BLE commands (see Chapter 7).
6.4 Streaming via USB
When streaming over USB, the measurements from the sensors in the CISS are offered through a virtual serial port (virtual
COM port 115kBaud 8N1) continuously. The configuration commands as well as the data format of the streamed sensor
measurements are described in Chapter 7.
With this mode, it is possible to use the maximum sampling frequency of 2 kHz for the 3-axis accelerometer with a special
configuration. In this case, only the accelerometer is enabled.
Note: Access to the noise measurement data is only available via BLE.
6.5 Streaming via BLE
The CISS per default acts as a Bluetooth Low Energy (BLE) advertiser. This means that another BLE device may detect the
CISS when scanning for devices and is able to initiate a connection.
Using BLE, it is possible to configure a CISS and continuously receive measurement data from it.
For details on the available Bluetooth characteristics, please refer to Chapter 7. It is possible to concurrently stream data
via BLE and log to memory.
INFO: It is not possible to use the special mode of the accelerometer (sampling rate = 2 kHz)
when streaming via BLE.
6.6 Event detection mode
In the event detection mode, the user is able to define thresholds for one or multiple sensor signals of the CISS.
Each time the respective measurement signal crosses the threshold level, an event is generated and signaled via USB / BLE.
The event message contains the direction of the threshold crossing, i.e. if the signal was below the threshold and goes above
or vice-versa (termed overshoot/undershoot), see Chapter 7.
INFO: Each sensor has the possibility to set only one threshold. The possibility to set a threshold range
is not implemented, yet.