[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Is file sink block resetting USRP?
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Is file sink block resetting USRP? |
Date: |
Thu, 28 May 2015 08:22:03 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 27.05.2015 18:30, Marcus D. Leech wrote:
> On 05/27/2015 05:52 PM, Carl Olsson wrote:
>> Hi all,
>>
>> I use a file sink block in my flow graph to record samples from a USRP
>> N210. I start the flow graph and then after some time starts to record
>> using the file sink block by switching it on using a selector block.
>>
> My recollection is that the selector blocks stop the graph, reconfigure
> it, and start it again, which means source streams probably get restarted.
That's right: lock() and unlock() are called, which reset the blocks.
Marcus' suggestion is the easiest and most effective solution to this;
we also have another block (matrix_multiply_xx) which can act as a
selector that doesn't call lock() if you require this.
M