ETHZ-TEC / RocketLogger

Official development repository of the RocketLogger project.
https://github.com/ETHZ-TEC/RocketLogger/wiki
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Corrupt channel header data in split RLD files #62

Closed lsigrist closed 2 years ago

lsigrist commented 2 years ago

Description The channel information header section of RLD files generated using the "split files at defined file size" feature is corrupt for additionally generated files. E.g. when storing measurements to data.rld the header of data.rld is ok, but subsequently generated data_p#.rld suffer from corrupt channel information section. Consequently, processing of split file is not possible as the import aborts with an error due to invalid channel info header data.

Note: when activated ambient measurement files do not suffer corrupt channel info headers.

How Reproduced Affects RocketLogger versions 2.0.0 and 2.0.1. Enable "split large files" (default setting) and sample sufficient amount of data to generate at least on split file with suffix _p#. RocketLogger version 1.1.6 produces correct headers also for split files.

lsigrist commented 2 years ago

fix verified using 868d732