discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to delete and create a new top_block?


From: Patrik Eliardsson
Subject: Re: [Discuss-gnuradio] How to delete and create a new top_block?
Date: Tue, 24 May 2011 16:54:39 +0200

> My conclusion from these small tests is that the 
> ERROR_CODE_TIMEOUT occurs when the USRP2s are synchronized. I 
> don't see the reason why it works with the HEAD block and not 
> without it. Do you have any clue? I attach my test file for 
> testcase 2.

We have done some more tests and found out that it is the call to 
set_time_unknown_pps() from the GNU Radio that triggers this behavior. If we do 
not sync the time between the USRP2s there is no problem to delete and create a 
new top_block.

Our solution to this problem is to increase the timeout for the uhd_source 
block as it takes at least 1 second to synch the time over the USRPs, see this 
diff:
http://pastebin.com/4Lfr6ft2

Can anyone see any problems with increasing the timeout?

BR,
Patrik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]