[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Variable Sink in GRC?
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Variable Sink in GRC? |
Date: |
Sun, 08 May 2011 10:52:00 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110419 Lightning/1.0b2 Thunderbird/3.1.9 |
See the "function probe" 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
On 05/08/2011 06:54 AM, George S. Williams wrote:
> Is there still a Variable Sink in GRC?
>
> I've seen references to it on several threads and in the online GRC
> documentation, but can't find it in GRC.
>
> I'm using a fairly recent gnuradio GIT.
>
> Thanks,
> George
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio