From 9988664127b367fa8fee4409f8460673d6f265e1 Mon Sep 17 00:00:00 2001
From: jblum
Date: Tue, 23 Jun 2009 20:38:18 +0000
Subject: Merging r11186:11273 from grc branch. Fixes, features, and
reorganization for grc. Minor fixes and features for wxgui forms.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11274 221aa14e-8319-0410-a670-987f0aec2ac5
---
grc/blocks/gr_probe_density_b.xml | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 grc/blocks/gr_probe_density_b.xml
(limited to 'grc/blocks/gr_probe_density_b.xml')
diff --git a/grc/blocks/gr_probe_density_b.xml b/grc/blocks/gr_probe_density_b.xml
new file mode 100644
index 000000000..74d3b0a2b
--- /dev/null
+++ b/grc/blocks/gr_probe_density_b.xml
@@ -0,0 +1,37 @@
+
+
+
+ Probe Density
+ gr_probe_density_b
+ from grc_gnuradio import blks2 as grc_blks2
+ grc_blks2.probe_density_b(
+ alpha=$alpha,
+ probe_rate=$probe_rate,
+)
+ set_alpha($alpha)
+ set_probe_rate($probe_rate)
+
+ Alpha
+ alpha
+ 1
+ real
+
+
+ Probe Rate
+ probe_rate
+ 10
+ real
+
+
+ in
+ byte
+
+
+
--
cgit
From 7070c10d7ac59adcd597c18ec2c83b1b59ed87e9 Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Sun, 6 Mar 2011 11:18:27 -0800
Subject: grc: rework the probe blocks and how they fit into grc
Removed the source on all probe blocks.
Advertise the probe-able function in the docs.
Added missing signal probe block.
Removed probe function and variable sink blocks.
Removed all supporting grc_gnuradio python files.
Added variable_function_probe block that can probe arbitrary functions on a block.
All the code needed by the function probe is available is the make tag.
To display the value of a probe block, use the variable probe block, and a gui widget.
To disply the value of a stream, do the same but use the signal probe block.
Simple see :-)
If more types other than floats need to be read from the stream,
the signal probe should be extended.
---
grc/blocks/gr_probe_density_b.xml | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
(limited to 'grc/blocks/gr_probe_density_b.xml')
diff --git a/grc/blocks/gr_probe_density_b.xml b/grc/blocks/gr_probe_density_b.xml
index 74d3b0a2b..8e0e2c964 100644
--- a/grc/blocks/gr_probe_density_b.xml
+++ b/grc/blocks/gr_probe_density_b.xml
@@ -7,13 +7,9 @@
Probe Densitygr_probe_density_b
- from grc_gnuradio import blks2 as grc_blks2
- grc_blks2.probe_density_b(
- alpha=$alpha,
- probe_rate=$probe_rate,
-)
+ from gnuradio import gr
+ gr.probe_density_b($alpha)set_alpha($alpha)
- set_probe_rate($probe_rate)Alphaalpha
@@ -30,8 +26,7 @@
inbyte
-
+
+Available functions to probe: density
+
--
cgit
From 4e0fb789e55e26bc16990a257c57494f3d3e6100 Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Mon, 7 Mar 2011 11:43:34 -0800
Subject: grc: added function args to probe block and documentation
---
grc/blocks/gr_probe_density_b.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'grc/blocks/gr_probe_density_b.xml')
diff --git a/grc/blocks/gr_probe_density_b.xml b/grc/blocks/gr_probe_density_b.xml
index 8e0e2c964..3a91256aa 100644
--- a/grc/blocks/gr_probe_density_b.xml
+++ b/grc/blocks/gr_probe_density_b.xml
@@ -27,6 +27,8 @@
byte
-Available functions to probe: density
+Available functions to probe: density()
+
+Use with the function probe block.
--
cgit