From 38d5389f3054164a2f04d6e4e8fe381aa5ee03fc Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Thu, 8 Oct 2009 21:46:53 -0700
Subject: using gr copy in the wxgui connect, added gr copy to grc xml
---
grc/blocks/Makefile.am | 1 +
grc/blocks/block_tree.xml | 1 +
grc/blocks/gr_copy.xml | 67 +++++++++++++++++++++++++++++++++++++++++++
grc/blocks/gr_kludge_copy.xml | 11 ++++++-
grc/blocks/gr_nop.xml | 9 ++++++
5 files changed, 88 insertions(+), 1 deletion(-)
create mode 100644 grc/blocks/gr_copy.xml
(limited to 'grc/blocks')
diff --git a/grc/blocks/Makefile.am b/grc/blocks/Makefile.am
index 617a3bf60..df3479761 100644
--- a/grc/blocks/Makefile.am
+++ b/grc/blocks/Makefile.am
@@ -84,6 +84,7 @@ dist_ourdata_DATA = \
gr_complex_to_real.xml \
gr_conjugate_cc.xml \
gr_constellation_decoder_cb.xml \
+ gr_copy.xml \
gr_correlate_access_code_bb.xml \
gr_costas_loop_cc.xml \
gr_cpfsk_bc.xml \
diff --git a/grc/blocks/block_tree.xml b/grc/blocks/block_tree.xml
index 296f0ee91..6fec0be67 100644
--- a/grc/blocks/block_tree.xml
+++ b/grc/blocks/block_tree.xml
@@ -300,6 +300,7 @@
gr_skiphead
gr_kludge_copy
+ gr_copy
gr_nop
xmlrpc_server
diff --git a/grc/blocks/gr_copy.xml b/grc/blocks/gr_copy.xml
new file mode 100644
index 000000000..757f14303
--- /dev/null
+++ b/grc/blocks/gr_copy.xml
@@ -0,0 +1,67 @@
+
+
+
+ Copy
+ gr_copy
+ from gnuradio import gr
+ gr.copy($type.size*$vlen)
+self.$(id).set_enabled($enabled)
+ set_enabled($enabled)
+
+ Type
+ type
+ enum
+
+
+
+
+
+
+
+ Enabled
+ enabled
+ True
+ bool
+
+
+ Vec Length
+ vlen
+ 1
+ int
+
+ $vlen > 0
+
+ in
+ $type
+ $vlen
+
+
+
diff --git a/grc/blocks/gr_kludge_copy.xml b/grc/blocks/gr_kludge_copy.xml
index 3c817c572..8058b082d 100644
--- a/grc/blocks/gr_kludge_copy.xml
+++ b/grc/blocks/gr_kludge_copy.xml
@@ -5,7 +5,7 @@
###################################################
-->
- Copy
+ Kludge Copy
gr_kludge_copy
from gnuradio import gr
gr.kludge_copy($type.size*$vlen)
@@ -39,21 +39,30 @@
size:gr.sizeof_char
+
+ Num Ports
+ num_ports
+ 1
+ int
+
Vec Length
vlen
1
int
+ $num_ports > 0
$vlen > 0
in
$type
$vlen
+ $num_ports
diff --git a/grc/blocks/gr_nop.xml b/grc/blocks/gr_nop.xml
index 127a78a55..bd884d6b8 100644
--- a/grc/blocks/gr_nop.xml
+++ b/grc/blocks/gr_nop.xml
@@ -39,21 +39,30 @@
size:gr.sizeof_char
+
+ Num Ports
+ num_ports
+ 1
+ int
+
Vec Length
vlen
1
int
+ $num_ports > 0
$vlen > 0
in
$type
$vlen
+ $num_ports
--
cgit