From c75a990177a8729993caf2dd1b17d9bae1b5ced0 Mon Sep 17 00:00:00 2001
From: jblum
Date: Wed, 28 Jan 2009 20:06:20 +0000
Subject: constant source convenience wrapper
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10330 221aa14e-8319-0410-a670-987f0aec2ac5
---
grc/data/platforms/python/block_tree.xml | 1 +
grc/data/platforms/python/blocks/Makefile.am | 1 +
.../platforms/python/blocks/const_source_x.xml | 52 ++++++++++++++++++++++
3 files changed, 54 insertions(+)
create mode 100644 grc/data/platforms/python/blocks/const_source_x.xml
(limited to 'grc')
diff --git a/grc/data/platforms/python/block_tree.xml b/grc/data/platforms/python/block_tree.xml
index cdeef8ba1..b56073bbf 100644
--- a/grc/data/platforms/python/block_tree.xml
+++ b/grc/data/platforms/python/block_tree.xml
@@ -8,6 +8,7 @@
Sources
+ const_source_x
gr_sig_source_x
gr_noise_source_x
gr_vector_source_x
diff --git a/grc/data/platforms/python/blocks/Makefile.am b/grc/data/platforms/python/blocks/Makefile.am
index 9eadba487..3655b1311 100644
--- a/grc/data/platforms/python/blocks/Makefile.am
+++ b/grc/data/platforms/python/blocks/Makefile.am
@@ -55,6 +55,7 @@ dist_ourdata_DATA = \
blks2_wfm_rcv.xml \
blks2_wfm_rcv_pll.xml \
blks2_wfm_tx.xml \
+ const_source_x.xml \
gr_add_const_vxx.xml \
gr_add_vxx.xml \
gr_agc2_xx.xml \
diff --git a/grc/data/platforms/python/blocks/const_source_x.xml b/grc/data/platforms/python/blocks/const_source_x.xml
new file mode 100644
index 000000000..fe8e56ec4
--- /dev/null
+++ b/grc/data/platforms/python/blocks/const_source_x.xml
@@ -0,0 +1,52 @@
+
+
+
+ Constant Source
+ const_source_x
+ from gnuradio import gr
+ gr.sig_source_$(type.fcn)(0, gr.GR_CONST_WAVE, 0, 0, $const)
+ set_offset($const)
+
+ Output Type
+ type
+ enum
+
+
+
+
+
+
+ Constant
+ const
+ 0
+ $type.const_type
+
+
+
--
cgit