From ec0edceb88e9603aedd4f6dd7a8a73702ce59547 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 9 Apr 2011 14:15:05 -0500 Subject: grc: added int to float support --- grc/blocks/gr_int_to_float.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 grc/blocks/gr_int_to_float.xml (limited to 'grc/blocks/gr_int_to_float.xml') diff --git a/grc/blocks/gr_int_to_float.xml b/grc/blocks/gr_int_to_float.xml new file mode 100644 index 000000000..8e6d024e2 --- /dev/null +++ b/grc/blocks/gr_int_to_float.xml @@ -0,0 +1,20 @@ + + + + Int To Float + gr_int_to_float + from gnuradio import gr + gr.int_to_float() + + in + int + + + out + float + + -- cgit From 5d3d5cf4315e14be805d8b87c00d0110c4a79797 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Sat, 31 Mar 2012 15:26:40 -0400 Subject: core: adds vlen and scalar args to type converter blocks in GRC. Also fixes documentation for these blocks. --- grc/blocks/gr_int_to_float.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'grc/blocks/gr_int_to_float.xml') diff --git a/grc/blocks/gr_int_to_float.xml b/grc/blocks/gr_int_to_float.xml index 8e6d024e2..7430fec72 100644 --- a/grc/blocks/gr_int_to_float.xml +++ b/grc/blocks/gr_int_to_float.xml @@ -8,13 +8,28 @@ Int To Float gr_int_to_float from gnuradio import gr - gr.int_to_float() + gr.int_to_float($vlen, $scale) + set_scale($scale) + + Vec Length + vlen + 1 + int + + + Scale + scale + 1 + real + in int + $vlen out float + $vlen -- cgit