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: Sivaramakrishnan B C
Subject: Re: [Discuss-gnuradio] UHD example on USRP1 - Buffering
Date: Wed, 16 Feb 2011 02:50:37 -0800

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?

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]