3 ###################################################
6 ###################################################
10 <key>blks2_selector</key>
11 <import>from grc_gnuradio import blks2 as grc_blks2</import>
12 <make>grc_blks2.selector(
13 item_size=$type.size*$vlen,
14 num_inputs=$num_inputs,
15 num_outputs=$num_outputs,
16 input_index=$input_index,
17 output_index=$output_index,
19 <callback>set_input_index(int($input_index))</callback>
20 <callback>set_output_index(int($output_index))</callback>
28 <opt>size:gr.sizeof_gr_complex</opt>
33 <opt>size:gr.sizeof_float</opt>
38 <opt>size:gr.sizeof_int</opt>
43 <opt>size:gr.sizeof_short</opt>
48 <opt>size:gr.sizeof_char</opt>
52 <name>Num Inputs</name>
58 <name>Num Outputs</name>
59 <key>num_outputs</key>
64 <name>Input Index</name>
65 <key>input_index</key>
70 <name>Output Index</name>
71 <key>output_index</key>
76 <name>Vec Length</name>
81 <check>$vlen > 0</check>
86 <nports>$num_inputs</nports>
92 <nports>$num_outputs</nports>
95 Connect the sink at input index to the source at output index. Leave all other ports disconnected.