[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] USRP sink with short input
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] USRP sink with short input |
Date: |
Mon, 16 May 2011 18:41:43 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 |
On 05/16/2011 05:15 PM, John Kooker wrote:
> Hi All,
>
> Josh wrote here[1] that the UHD USRP(2?) sink accepts interleaved shorts as
> inputs. Two questions:
We dont have an official complex int16 in gnuradio. So gr-uhd accepts a
stream of a "vector of shorts" where index 0 is I and index 1 is Q.
> - Do those shorts get converted to floats before sending them over Ethernet
> to the USRP2? Or does the USRP2 accept short input itself?
The over-the-wire type is complex shorts. The conversion in the host
simply repacks the bytes.
-Josh