[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] passing a block output as parameter to another bl

From: Josh Blum
Subject: Re: [Discuss-gnuradio] passing a block output as parameter to another block
Date: Mon, 27 Feb 2012 20:58:13 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0

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:

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]