Passing a block output as parameter to another block

Is there a way so that one can pass the output of a custom gnuradio
block as parameter to another block?

Thanks,
J.

On 02/27/2012 08:48 PM, Jon Phil wrote:

Is there a way so that one can pass the output of a custom gnuradio block as
parameter to another block?

Take a look at the function probe block in gnuradio companion (and using
it with the probe signal block).

Periodically probe a function and set its value to this variable.

Set the values for block ID, function name, and function args
appropriately: Block ID should be the ID of another block in this flow
graph. Function name should be the name of a class method on that block.
Function args are the parameters passed into that function. For a
function with no arguments, leave function args blank. When passing a
string for the function arguments, quote the string literal: β€˜β€œarg”’.

The values will used literally, and generated into the following form:
self.block_id.function_name(function_args)

To poll a stream for a level, use this with the probe signal block.

-Josh