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

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to