[Top][All Lists]

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

Re: [Discuss-gnuradio] conversion from long integer to byte/char

From: Arturo Rinaldi
Subject: Re: [Discuss-gnuradio] conversion from long integer to byte/char
Date: Mon, 7 Oct 2013 20:23:21 +0200

thank you very much tom......piece of cake ! ! ! ^_^

2013/10/7 Tom Rondeau <address@hidden>
On Sun, Oct 6, 2013 at 6:45 PM, Arturo Rinaldi <address@hidden> wrote:
> Hi folks,
> i was wondering if it's possible to operate a type conversion from long
> integer (green color in GRC) to byte/char (purple color in GRC) with the
> existing gnuradio blocks.
> I'm running the tarball, any suggestions ? Thanks in advance.
> Kind Regards,
>                 Arturo

Right now, there is no direct conversion from int to char. To do it
with current blocks, you'd have to do int_to_float followed by
float_to_char. It should be easy for your to take these and create a
single block out of them for your purposes.


reply via email to

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