blob: 4a29b896e182b7bfdfe028c886ddfb9a5b10d54e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>
|