BBD Body Monitor is a single channel data acquisition system (DAS) to provide a bio-potential reading in the 0.25Hz - 125kHz frequency range. The main focus of the prototype is to use machine learning to detect different physical and mental states.
We have a data writer queue and it sometimes happens that more than one writers are waiting in the queue due to high disk usage and low disk write speed.
If we can stop the data acquisition normally, then all the queue items get done properly, but if an error happens and we reset the device (and the session) the writer queue gets discarded. This is not ideal, because these queued writers have valuable data that needs to be written to disk.
We have a data writer queue and it sometimes happens that more than one writers are waiting in the queue due to high disk usage and low disk write speed.
If we can stop the data acquisition normally, then all the queue items get done properly, but if an error happens and we reset the device (and the session) the writer queue gets discarded. This is not ideal, because these queued writers have valuable data that needs to be written to disk.