3 ###################################################
4 ##Variable Sink: Custom blks2 block
5 ###################################################
8 <name>Variable Sink</name>
9 <key>variable_sink</key>
10 <import>from grc_gnuradio import blks2 as grc_blks2</import>
11 <make>grc_blks2.queue_sink_$(type.fcn)($vlen)
12 grc_blks2.queue_sink_thread(self.$id, set_$(variable))</make>
50 <name>Vec Length</name>
55 <check>$vlen > 0</check>
62 Read samples from the input stream and write each sample to the variable.
64 The variable must be the id of an existing variable block.