[USRP-users] Time of arrival of first sample in a 2 Rx setup

siva sankar sankar.siva730 at gmail.com
Thu Apr 23 06:28:17 EDT 2015

Hello List,

I am using USRP B210 and the UHD version is 003.008.000. We are
transmitting on one channel and receiving simultaneously on both the
channels and what we want is the time of arrival of the first sample in
both the receive buffers.

We have used the "time_spec_t" to get the time of the first sample but we
don't know if the time that we are getting is for both the channels or for
one of the receiver buffers.

We have tried using two "recv" commands one for each buffer hoping we could
calculate the time from each metadata parameter passed to the "recv"
command in one thread  but it throws "multi channel alignment" error and
stops running.

We also tried to create individual threads for both the rx channels and
pass different metadata parameters and hence know the time of first sample
for each buffer. However, this throws segmentation fault.

Any help on how to calculate the time of first sample for each receive
buffer will be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150423/f9bf7224/attachment-0002.html>

More information about the USRP-users mailing list