Hi Josh,

Thanks for the reply.

Also, I want to know if this is correct:   While we are working with signals
on the host PC, we're using complex float 64 bit data. This means we have 32
bit I data and 32 bit Q data. But when the USRP code (UHD or Gnuradio USRP
code) on the host PC sends this data to the USRP, it converts this float
type to short, i.e 16 bit I and 16 bit Q. So, over the USB interface, only
16 bit signed integers can travel back and forth.

If this is the case, can you tell me the name and location of the .cpp file
in the UHD source package, that has code for this output format conversion
from complex<float> to interleaved short I and Q. In the GNURadio framework,
I find this code in /gr-usrp/src/usrp_sink_c.cc.

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