MyTooliT / ICOc

ICOc is a tool to control the ICOtronic system, acquire data, and test stationary transceiver units and sensory tool holders.
https://mytoolit.github.io/ICOc/
2 stars 0 forks source link

Add Options to Determine Streaming Data Loss #54

Closed sanssecours closed 1 day ago

sanssecours commented 6 months ago

Description

Currently only the Storage class supports determining the amount of data loss directly (via the method dataloss). While the user can always determine the data loss itself while the context manager for a data stream is active we might want to add another option to determine the data loss, especially since data loss might also happen, if the code is not able to read the buffer of the CAN adapter in time (#40).

Implementation

It might make sense to somehow add the current data loss value to the context manager for the streaming data. This would quite possibly come with a large performance penalty though.