basically you are right.
But there is signal processing algorithm to track two dongles sampling/oscillator error separately and compensate them separately. Thus we can get them synchronized finally after signal processing algorithm.

What I need actually is that how to get two streams of sample from two dongles.

Actually I notice that in dump1090 it put rtlsdr_read_async in a new created background thread, then there is a possibility that I create two thread to operate two dongles. But in this method, there should be some mechanisms to synchronize two threads. It is complicated.

Anyone has simpler solution?

Thank you.



On Sun, Aug 25, 2013 at 9:49 PM, Thierry Leconte <thierry.leconte@laposte.net> wrote:
Le 25/08/2013 15:13, Jiao Xianjun a écrit :

Hi,

I want to use multiple rtl-sdr dongles to do some multi-antenna experiments.

Is it possible to read IQ samples from multiple rtl-sdr dongles in a synchronized manner?

Each dongle have its own clock, so it will never be synchronized at the sample level.