From 7d0955ef7bc7a41855ca3301976c6616981fa27e Mon Sep 17 00:00:00 2001
From: jblum
Date: Sat, 14 Mar 2009 05:54:43 +0000
Subject: Add vlen to subtract, divide, and float2complex. Takes care of #302
and #303
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10598 221aa14e-8319-0410-a670-987f0aec2ac5
---
grc/data/platforms/python/blocks/gr_divide_xx.xml | 11 ++++++++++-
grc/data/platforms/python/blocks/gr_float_to_complex.xml | 12 +++++++++++-
grc/data/platforms/python/blocks/gr_sub_xx.xml | 11 ++++++++++-
3 files changed, 31 insertions(+), 3 deletions(-)
(limited to 'grc/data/platforms/python')
diff --git a/grc/data/platforms/python/blocks/gr_divide_xx.xml b/grc/data/platforms/python/blocks/gr_divide_xx.xml
index 7f8752919..04667bc2a 100644
--- a/grc/data/platforms/python/blocks/gr_divide_xx.xml
+++ b/grc/data/platforms/python/blocks/gr_divide_xx.xml
@@ -9,7 +9,7 @@
Divide
gr_divide_xx
from gnuradio import gr
- gr.divide_$(type.fcn)()
+ gr.divide_$(type.fcn)($vlen)
IO Type
type
@@ -35,20 +35,29 @@
fcn:ss
+
+ Vec Length
+ vlen
+ 1
+ int
+
Num Inputs
num_inputs
2
int
+ $vlen > 0
$num_inputs >= 2
in
$type
+ $vlen
$num_inputs
diff --git a/grc/data/platforms/python/blocks/gr_float_to_complex.xml b/grc/data/platforms/python/blocks/gr_float_to_complex.xml
index e8734fc6a..a1644efd7 100644
--- a/grc/data/platforms/python/blocks/gr_float_to_complex.xml
+++ b/grc/data/platforms/python/blocks/gr_float_to_complex.xml
@@ -9,18 +9,28 @@
Float To Complex
gr_float_to_complex
from gnuradio import gr
- gr.float_to_complex()
+ gr.float_to_complex($vlen)
+
+ Vec Length
+ vlen
+ 1
+ int
+
+ $vlen > 0
in
float
+ $vlen
in
float
+ $vlen
1
diff --git a/grc/data/platforms/python/blocks/gr_sub_xx.xml b/grc/data/platforms/python/blocks/gr_sub_xx.xml
index 488e6c364..f1f4797e0 100644
--- a/grc/data/platforms/python/blocks/gr_sub_xx.xml
+++ b/grc/data/platforms/python/blocks/gr_sub_xx.xml
@@ -9,7 +9,7 @@
Subtract
gr_sub_xx
from gnuradio import gr
- gr.sub_$(type.fcn)()
+ gr.sub_$(type.fcn)($vlen)
IO Type
type
@@ -35,20 +35,29 @@
fcn:ss
+
+ Vec Length
+ vlen
+ 1
+ int
+
Num Inputs
num_inputs
2
int
+ $vlen > 0
$num_inputs >= 2
in
$type
+ $vlen
$num_inputs
--
cgit