PROBLEM SOLVED - PLUTO continuous measurement with no ring buffer overflow


EDIT SOLUTION: problem was python plot times, once i only displayed the phase, it kept the same for all needed iterations 

I use python to record IQ samples using the pluto sdr. 

I transmit CW at some small offset from the RX LO, and measure the received signal phase.

for the first ~8 iterations the phase of each iteration was the same. but after about 8 iteration it just get out of order.

I think the problem is the usb protocol pass the data slower then PLUTO collects it. I am already working with the minimum sample rate that python allows - 521e3 smps.

Is there a way to edit in python the ring buffer pointer to the last added buffer?

what can I do?

Thank You,


edit solution
[edited by: et.l at 3:41 PM (GMT -5) on 22 Jan 2021]