discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] UHD example on USRP1 - Buffering


From: Josh Blum
Subject: Re: [Discuss-gnuradio] UHD example on USRP1 - Buffering
Date: Wed, 16 Feb 2011 10:15:08 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7


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 <address@hidden> 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
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
> 



reply via email to

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