Hi and welcome to devnet,
It would be better if you could post the code you are using to record the data. Otherwise it would be pretty much crystal ball guessing.
Since you have an infinite loop, you have to add a stop slot where you set the condition to stop the loop.
void stop()
{
_continue = false;
}
void run()
{
while (!_continue) {
// processing
}
}
This is just a basic idea, hope it helps
↧