[Top][All Lists]

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

Re: [Discuss-gnuradio] Configure UHD source and File sink to save intege

From: mepard
Subject: Re: [Discuss-gnuradio] Configure UHD source and File sink to save integers
Date: Tue, 5 Mar 2013 17:04:25 -0600

On Mar 4, 2013, at 6:11 PM, Josh Blum <address@hidden> wrote:

> On 03/04/2013 03:07 PM, mepard wrote:
>> One thing I forgot is that I'd like to convert complex<sint16> to a single 
>> sint16 with just the "real" part, like I can convert complex<float> to 
>> single float. It doesn't look like there is the equivalent of Complex To 
>> Real for integers.
>> Is there an alternative to converting to floating point and back?
> you could vector to streams, and null sink the second stream.
> * 1 input stream of vec length 2 and item size short
> * 2 output streams of item size short

This works well. Thanks!


reply via email to

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