USRP sink with short input

Hi All,

Josh wrote here[1] that the UHD USRP(2?) sink accepts interleaved shorts
as
inputs. Two questions:

  • Do those shorts get converted to floats before sending them over
    Ethernet
    to the USRP2? Or does the USRP2 accept short input itself?
  • Could someone draw me a quick graph of how I could connect a simple
    signal
    source to the UHD sink using these interleaved shorts? I can’t seem to
    get
    the ordering/vectorization right.

Thanks!
–john

[1]
http://lists.gnu.org/archive/html/discuss-gnuradio/2011-04/msg00350.html

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs