3 ###################################################
4 ##Variable Sink: Custom blks2 block
5 ###################################################
8 <name>Variable Sink</name>
9 <key>blks2_variable_sink_x</key>
10 <import>from grc_gnuradio import blks2 as grc_blks2</import>
11 <make>grc_blks2.variable_sink_$(type.fcn)(
14 callback=self.set_$(variable()),
16 <callback>set_decim($decim)</callback>
54 <name>Decimation</name>
60 <name>Vec Length</name>
65 <check>$vlen > 0</check>
72 Read samples from the input stream and \
73 write one in every decimation samples to the variable.
75 The variable must be the id of an existing variable block.