From 86f15ba3488cde9eededa2af5af8dcadc01e9e47 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Tue, 26 Jun 2012 06:47:26 -0700 Subject: blocks: added gr::blocks::float_to_short --- gr-blocks/grc/blocks_float_to_short.xml | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 gr-blocks/grc/blocks_float_to_short.xml (limited to 'gr-blocks/grc/blocks_float_to_short.xml') diff --git a/gr-blocks/grc/blocks_float_to_short.xml b/gr-blocks/grc/blocks_float_to_short.xml new file mode 100644 index 000000000..986e68ec4 --- /dev/null +++ b/gr-blocks/grc/blocks_float_to_short.xml @@ -0,0 +1,35 @@ + + + + Float To Short + blocks_float_to_short + from gnuradio import blocks + blocks.float_to_short($vlen, $scale) + set_scale($scale) + + Vec Length + vlen + 1 + int + + + Scale + scale + 1 + real + + + in + float + $vlen + + + out + short + $vlen + + -- cgit