diff options
Diffstat (limited to 'gr-input/grc/Calculation_Calculator.xml')
-rw-r--r-- | gr-input/grc/Calculation_Calculator.xml | 40 |
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> |