On 02/16/2011 02:50 AM, Sivaramakrishnan B C wrote:
> Hi All,
> 
> I was wondering if there is any buffering happening on the host and/or on
> the USRP (USRP1 and N210) when the UHD send() and recv() methods are called?
> 

Yes of course. There are buffers in the host and device (fifos).

-josh

> 
> Thanks,
> Shiva
> 
> On Thu, Feb 3, 2011 at 10:40 AM, Josh Blum <j...@ettus.com> wrote:
> 
>>
>>> 1. What is the parameter --spb, samples per buffer. And generally, what
>> is
>>> this buffer?
>>
>> This is the buffer that the application fills with samples, and passes
>> into the call device->send()
>>
>>> 2. What is the relationship between spb (sample per buffer), duration
>>> (number of seconds to transmit) and rate (rate of outgoing samples) and
>>> wave-freq (waveform frequency in Hz)?
>>>
>>
>> Samples per buffer is independent of these other variables. Indirectly,
>> it controls how often the call to send() occurs. The option is there to
>> allow users to experiment with various buffer sizes.
>>
>> -josh
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
> 

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to