From c86f6c23c6883f73d953d64c28ab42cedb77e4d7 Mon Sep 17 00:00:00 2001 From: jblum Date: Sun, 7 Sep 2008 21:38:12 +0000 Subject: Merged r9481:9518 on jblum/grc_reorganize into trunk. Reorganized grc source under gnuradio.grc module. Trunk passes make distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9525 221aa14e-8319-0410-a670-987f0aec2ac5 --- .../platforms/python/blocks/blks2_selector.xml | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 grc/data/platforms/python/blocks/blks2_selector.xml (limited to 'grc/data/platforms/python/blocks/blks2_selector.xml') diff --git a/grc/data/platforms/python/blocks/blks2_selector.xml b/grc/data/platforms/python/blocks/blks2_selector.xml new file mode 100644 index 000000000..457f8695e --- /dev/null +++ b/grc/data/platforms/python/blocks/blks2_selector.xml @@ -0,0 +1,97 @@ + + + + Selector + blks2_selector + from grc_gnuradio import blks2 as grc_blks2 + grc_blks2.selector( + item_size=$type.size*$vlen, + num_inputs=$num_inputs, + num_outputs=$num_outputs, + input_index=$input_index, + output_index=$output_index, +) + set_input_index($input_index) + set_output_index($output_index) + + Type + type + enum + + + + + + + + Num Inputs + num_inputs + 2 + int + + + Num Outputs + num_outputs + 2 + int + + + Input Index + input_index + 0 + int + + + Output Index + output_index + 0 + int + + + Vec Length + vlen + 1 + int + + $vlen > 0 + + in + $type + $vlen + $num_inputs + + + out + $type + $vlen + $num_outputs + + +Connect the sink at input index to the source at output index. Leave all other ports disconnected. + + -- cgit