From b48716fe0b666cf2be605c0c7d79111c6caf96c5 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sun, 24 Jun 2012 11:20:03 -0700 Subject: blocks: added gr::blocks::float_to_char --- gr-blocks/grc/blocks_float_to_char.xml | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 gr-blocks/grc/blocks_float_to_char.xml (limited to 'gr-blocks/grc/blocks_float_to_char.xml') diff --git a/gr-blocks/grc/blocks_float_to_char.xml b/gr-blocks/grc/blocks_float_to_char.xml new file mode 100644 index 000000000..e3854fc4e --- /dev/null +++ b/gr-blocks/grc/blocks_float_to_char.xml @@ -0,0 +1,35 @@ + + + + Float To Char + blocks_float_to_char + from gnuradio import blocks + blocks.float_to_char($vlen, $scale) + set_scale($scale) + + Vec Length + vlen + 1 + int + + + Scale + scale + 1 + real + + + in + float + $vlen + + + out + byte + $vlen + + -- cgit