Probe Functionprobe_functionfrom grc_gnuradio import blks2 as grc_blks2grc_blks2.probe_function(
probe_callback=self.$(block_id()).$(function_name()),
probe_rate=$probe_rate,
)set_probe_rate($probe_rate)Block IDblock_idmy_block_0stringFunction Namefunction_nameget_numberstringProbe Rateprobe_rate10real
Polls a function of an arbitrary block and writes the value to the output port. \
The block id is the id of another block in the flow graph. \
The function name is the name of a function in the said block. \
The function should take no arguments and return a floating point or integer number.