|Subject:||Re: [Discuss-gnuradio] conversion from long integer to byte/char|
|Date:||Mon, 7 Oct 2013 20:23:21 +0200|
Right now, there is no direct conversion from int to char. To do itOn 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 18.104.22.168 tarball, any suggestions ? Thanks in advance.
> Kind Regards,
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.
|[Prev in Thread]||Current Thread||[Next in Thread]|