summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc')
-rw-r--r--grc/data/platforms/python/blocks/gr_probe_avg_mag_sqrd_x.xml4
-rw-r--r--grc/data/platforms/python/blocks/gr_probe_density_b.xml4
-rw-r--r--grc/data/platforms/python/blocks/gr_probe_mpsk_snr_c.xml4
-rw-r--r--grc/data/platforms/python/blocks/gr_probe_signal_f.xml4
-rw-r--r--grc/todo.txt5
5 files changed, 16 insertions, 5 deletions
diff --git a/grc/data/platforms/python/blocks/gr_probe_avg_mag_sqrd_x.xml b/grc/data/platforms/python/blocks/gr_probe_avg_mag_sqrd_x.xml
index 310d97388..cbd8446cd 100644
--- a/grc/data/platforms/python/blocks/gr_probe_avg_mag_sqrd_x.xml
+++ b/grc/data/platforms/python/blocks/gr_probe_avg_mag_sqrd_x.xml
@@ -15,7 +15,9 @@ def _$(id)_run():
while True:
time.sleep($update_interval)
print "$(id) Level:", self.$(id).level()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
<callback>set_alpha($alpha)</callback>
<callback>set_threshold($threshold)</callback>
<param>
diff --git a/grc/data/platforms/python/blocks/gr_probe_density_b.xml b/grc/data/platforms/python/blocks/gr_probe_density_b.xml
index 1c529da5f..4c5b9e2fa 100644
--- a/grc/data/platforms/python/blocks/gr_probe_density_b.xml
+++ b/grc/data/platforms/python/blocks/gr_probe_density_b.xml
@@ -15,7 +15,9 @@ def _$(id)_run():
while True:
time.sleep($update_interval)
print "$(id) Density:", self.$(id).density()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
<callback>set_alpha($alpha)</callback>
<param>
<name>Alpha</name>
diff --git a/grc/data/platforms/python/blocks/gr_probe_mpsk_snr_c.xml b/grc/data/platforms/python/blocks/gr_probe_mpsk_snr_c.xml
index a4a9e00ae..ec80d092d 100644
--- a/grc/data/platforms/python/blocks/gr_probe_mpsk_snr_c.xml
+++ b/grc/data/platforms/python/blocks/gr_probe_mpsk_snr_c.xml
@@ -17,7 +17,9 @@ def _$(id)_run():
print "$(id) Signal Mean:", self.$(id).signal_mean()
print "$(id) Noise Variance:", self.$(id).noise_variance()
print "$(id) SNR:", self.$(id).snr()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
<callback>set_alpha($alpha)</callback>
<param>
<name>Alpha</name>
diff --git a/grc/data/platforms/python/blocks/gr_probe_signal_f.xml b/grc/data/platforms/python/blocks/gr_probe_signal_f.xml
index 211d4f3a1..688887f47 100644
--- a/grc/data/platforms/python/blocks/gr_probe_signal_f.xml
+++ b/grc/data/platforms/python/blocks/gr_probe_signal_f.xml
@@ -15,7 +15,9 @@ def _$(id)_run():
while True:
time.sleep($update_interval)
print "$(id) Level:", self.$(id).level()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
<param>
<name>Update Interval (s)</name>
<key>update_interval</key>
diff --git a/grc/todo.txt b/grc/todo.txt
index d74f7c858..71a383143 100644
--- a/grc/todo.txt
+++ b/grc/todo.txt
@@ -6,6 +6,7 @@
-controlled step block
-throttle with sink only (source is nulled)
-simplify simple usrp
+-probe blocks needs better polling mechanism
##################################################
# Features
@@ -19,6 +20,7 @@
-zoom in/out (cairo vector graphics) (use scroll wheel as control)
-search for blocks
-click and drag on whitespace to scroll
+-expand preferences, allow for custome prefs, prefs dialog should infer structure
##################################################
# Problems
@@ -27,6 +29,7 @@
-auto clean hier library
-add hier blocks to tree without restart?
-dont hide vlen controller when vlen > 1
+-dont generate py files in cwd, add preference for user to choose
##################################################
# External
@@ -39,4 +42,4 @@
# Documentation
##################################################
-notes on throttle
--how to add a block wrapper
+-notes on xdg-utils