Thank you very much for the good advise. I did further tests and now i would have one more question. I see the ShiftScreen is similar to a ring buffer. So as example if i use a buffer size of 8192 and in my loop time there are only 4000 samples generated, i would have 4192 samples from the iteration before in my buffer. Is there a possibility to only get the new aquired samples? ...Or letting the Buffer run full with new aquired samples?