[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 21/25: grc: function probe block: relabel a
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 21/25: grc: function probe block: relabel and move value param |
Date: |
Fri, 27 May 2016 19:14:59 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 974c5405bf80500acfc646fd81599b915b3fa2f2
Author: Sebastian Koslowski <address@hidden>
Date: Wed May 25 16:26:19 2016 +0200
grc: function probe block: relabel and move value param
---
grc/blocks/variable_function_probe.xml | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/grc/blocks/variable_function_probe.xml
b/grc/blocks/variable_function_probe.xml
index baa996c..47c11b2 100644
--- a/grc/blocks/variable_function_probe.xml
+++ b/grc/blocks/variable_function_probe.xml
@@ -10,7 +10,7 @@
<import>import time</import>
<import>import threading</import>
<var_make>self.$(id) = $(id) = $value</var_make>
- <make>#slurp
+ <make>
def _$(id)_probe():
while True:
#set $obj = 'self' + ('.' + $block_id() if $block_id() else '')
@@ -22,15 +22,10 @@ def _$(id)_probe():
time.sleep(1.0 / ($poll_rate))
_$(id)_thread = threading.Thread(target=_$(id)_probe)
_$(id)_thread.daemon = True
-_$(id)_thread.start()</make>
+_$(id)_thread.start()
+ </make>
<callback>self.set_$(id)($value)</callback>
<param>
- <name>Value</name>
- <key>value</key>
- <value>0</value>
- <type>raw</type>
- </param>
- <param>
<name>Block ID</name>
<key>block_id</key>
<value>my_block_0</value>
@@ -55,6 +50,13 @@ _$(id)_thread.start()</make>
<value>10</value>
<type>real</type>
</param>
+ <param>
+ <name>Initial Value</name>
+ <key>value</key>
+ <value>0</value>
+ <type>raw</type>
+ <hide>part</hide>
+ </param>
<doc>
Periodically probe a function and set its value to this variable.
- [Commit-gnuradio] [gnuradio] branch master updated (681846f -> cc02c4b), git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 01/25: grc: show comments next to rotated blocks (instead of underneath), git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 22/25: Merge branch 'maint', git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 13/25: grc: Renamed reports window to console., git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 11/25: grc: Darker color for bypassed blocks., git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 04/25: grc: optionally hide all variable blocks, git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 21/25: grc: function probe block: relabel and move value param,
git <=
- [Commit-gnuradio] [gnuradio] 24/25: Merge remote-tracking branch 'gnuradio-wg-grc/master_grcwg', git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 07/25: grc: remove 'Showing: ...' messages, git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 12/25: grc: add warning for block flagged deprecated, git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 20/25: grc: faulty callback code if setter call contained a variable block id, git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 14/25: Revert "grc: fix callback evaluation", git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 18/25: modtool: Added version support for OOTs, git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 19/25: grc-refactor: minor clean-up of callback generator code, git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 15/25: grc: fix flow graph execution (amends ActionHandler refactoring), git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 10/25: grc: Variable editor tweaks., git, 2016/05/27
- [Commit-gnuradio] [gnuradio] 25/25: Merge remote-tracking branch 'dkozel/uhd_lo_api', git, 2016/05/27