[USRP-users] Time of arrival of first sample in a 2 Rx setup
sankar.siva730 at gmail.com
Thu Apr 23 06:28:17 EDT 2015
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
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...
More information about the USRP-users