summaryrefslogtreecommitdiff
path: root/gr-input/grc/Calculation_Calculator.xml
diff options
context:
space:
mode:
authorAmbikeshwar Srivastava2015-02-05 21:23:40 +0530
committerAmbikeshwar Srivastava2015-02-05 21:23:40 +0530
commit77bc807996c988742d2633e42c90e3611aca6d0a (patch)
tree0a9d4cc3c6e5293ee25316a2c0981a129da02f2b /gr-input/grc/Calculation_Calculator.xml
parent760b0acda722de34e830dc9b02cf78a695d001c5 (diff)
parent1ced0ce3964dadc46940491fe95c60b21de12976 (diff)
downloadgnuradio-77bc807996c988742d2633e42c90e3611aca6d0a.tar.gz
gnuradio-77bc807996c988742d2633e42c90e3611aca6d0a.tar.bz2
gnuradio-77bc807996c988742d2633e42c90e3611aca6d0a.zip
Merge pull request #1 from ambikeshwar1991/master
Python Blocks for system response has been added
Diffstat (limited to 'gr-input/grc/Calculation_Calculator.xml')
-rw-r--r--gr-input/grc/Calculation_Calculator.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/gr-input/grc/Calculation_Calculator.xml b/gr-input/grc/Calculation_Calculator.xml
new file mode 100644
index 000000000..4a29b896e
--- /dev/null
+++ b/gr-input/grc/Calculation_Calculator.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<block>
+ <name>Calculator</name>
+ <key>Calculation_Calculator</key>
+ <category>Calculation</category>
+ <import>import gnuradio.input.Calculator</import>
+ <make>gnuradio.input.Calculator.Calculator($num_inputs)
+self.$(id).set_parameters($Exp,$num_inputs)</make>
+
+<param>
+<name>Expression</name>
+<key>Exp</key>
+<type>string</type>
+</param>
+
+<param>
+<name>Num inputs</name>
+<key>num_inputs</key>
+<value>1</value>
+<type>int</type>
+</param>
+
+ <sink>
+ <name>in0</name>
+ <type>float</type>
+ <nports>$num_inputs</nports>
+ </sink>
+<!--
+ <sink>
+ <name>in1</name>
+ <type>float</type>
+ <nports>4</nports>
+ </sink> -->
+
+
+ <source>
+ <name>out</name>
+ <type>float</type>
+ </source>
+</block>