From 815825e592749cce670a8a945ea2b23a0c2db35e Mon Sep 17 00:00:00 2001
From: Johnathan Corgan
Date: Thu, 12 Nov 2009 10:58:55 -0800
Subject: howto: add GRC wrappers to squaring blocks
---
gr-howto-write-a-block/grc/howto_square2_ff.xml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 gr-howto-write-a-block/grc/howto_square2_ff.xml
(limited to 'gr-howto-write-a-block/grc/howto_square2_ff.xml')
diff --git a/gr-howto-write-a-block/grc/howto_square2_ff.xml b/gr-howto-write-a-block/grc/howto_square2_ff.xml
new file mode 100644
index 000000000..2b46106e8
--- /dev/null
+++ b/gr-howto-write-a-block/grc/howto_square2_ff.xml
@@ -0,0 +1,18 @@
+
+
+ Square2
+ howto_square2_ff
+ HOWTO
+ from gnuradio import howto
+ howto.square2_ff()
+
+
+ in
+ float
+
+
+
+ out
+ float
+
+
--
cgit
From 6c3b6396bc420228215072b2fc1b83c82eaeb291 Mon Sep 17 00:00:00 2001
From: Eric Blossom
Date: Thu, 4 Mar 2010 07:02:42 -0800
Subject: Refactor gr-howto-write-a-block such that it no longer installs into
the gnuradio python namespace, but rather in the howto namespace.
This allows it to be installed under a separate --prefix in the common
case where the user doing the "out of tree build" is going to be
installing their new and/or modified code somewhere other than the
system installation directories.
Any code that uses these blocks should now import them using:
import howto
instead of
from gnuradio import howto
---
gr-howto-write-a-block/grc/howto_square2_ff.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'gr-howto-write-a-block/grc/howto_square2_ff.xml')
diff --git a/gr-howto-write-a-block/grc/howto_square2_ff.xml b/gr-howto-write-a-block/grc/howto_square2_ff.xml
index 2b46106e8..c58ef0047 100644
--- a/gr-howto-write-a-block/grc/howto_square2_ff.xml
+++ b/gr-howto-write-a-block/grc/howto_square2_ff.xml
@@ -3,7 +3,7 @@
Square2howto_square2_ffHOWTO
- from gnuradio import howto
+ import howtohowto.square2_ff()
--
cgit