discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC: UHD USRP Source Block (complex - short)


From: Josh Blum
Subject: Re: [Discuss-gnuradio] GRC: UHD USRP Source Block (complex - short)
Date: Thu, 03 Nov 2011 09:17:43 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1


On 11/03/2011 03:57 AM, luca cucchi wrote:
> 
> Hi everybody,
> Very simple issue...
> I'm using GRC in order to save signal from N210 + WBX.
> No problems when I set the Output Type as "Complex" in the UHD:USRP Source
> block. The signal is properly saved as Complex float32.
> ..I'm a bit confused when I select "Short" as Output Type of the Source.
> I expect the signal as complex int16 but it seems to me that GRC doesn't
> support this scenario...
> 
> Any suggestions ? 
> 
> thanks
> Luca
> 

I have only recently added support in grc for all floating point and
integer types (real and complex). The USRP blocks have not been updated
to reflect this, meaning the output is still a vector of short (size 2).

However, in recent versions of grc, you can connect any inputs to any
outputs so long as their IO size matches. So, the type does not matter
in this case as much as the IO size does. So none of this should be an
issue.

When I get around to merging my uhd_next branch, the types will be
changed to sc16, which is the volk naming convention for signed complex
16bit integers.

-Josh



reply via email to

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