Variable Sink blks2_variable_sink_x from grc_gnuradio import blks2 as grc_blks2 grc_blks2.variable_sink_$(type.fcn)( vlen=$vlen, decim=$decim, callback=self.set_$(variable()), ) set_decim($decim) Type type enum Variable variable string Decimation decim 1 int Vec Length vlen 1 int $vlen > 0 in $type $vlen Read samples from the input stream and \ write one in every decimation samples to the variable. The variable must be the id of an existing variable block.