3 ###################################################
5 ###################################################
8 <name>Probe Function</name>
9 <key>probe_function</key>
10 <import>from grc_gnuradio import blks2 as grc_blks2</import>
11 <make>grc_blks2.probe_function(
12 probe_callback=self.$(block_id()).$(function_name()),
13 probe_rate=$probe_rate,
15 <callback>set_probe_rate($probe_rate)</callback>
19 <value>my_block_0</value>
23 <name>Function Name</name>
24 <key>function_name</key>
25 <value>get_number</value>
29 <name>Probe Rate</name>
39 Polls a function of an arbitrary block and writes the value to the output port. \
40 The block id is the id of another block in the flow graph. \
41 The function name is the name of a function in the said block. \
42 The function should take no arguments and return a floating point or integer number.