blob: fa9e19be76905bc13ebc8943700c0ebb36233cc2 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<?xml version="1.0"?>
<!--
###################################################
## UHD Simple Sink
###################################################
-->
<block>
<name>UHD Simple Sink</name>
<key>uhd_simple_sink</key>
<category>UHD</category>
<import>from gnuradio import uhd</import>
<make>uhd.simple_sink($args, uhd.io_type_t.$type.type)
self.$(id).set_samp_rate($samp_rate)
self.$(id).set_center_freq($center_freq)</make>
<callback>set_samp_rate($samp_rate)</callback>
<callback>set_center_freq($center_freq)</callback>
<param>
<name>Input Type</name>
<key>type</key>
<type>enum</type>
<option>
<name>Complex</name>
<key>complex</key>
<opt>type:COMPLEX_FLOAT32</opt>
<opt>vlen:1</opt>
</option>
<option>
<name>Short</name>
<key>short</key>
<opt>type:COMPLEX_INT16</opt>
<opt>vlen:2</opt>
</option>
</param>
<param>
<name>Args</name>
<key>args</key>
<value></value>
<type>string</type>
</param>
<param>
<name>Samp Rate (Sps)</name>
<key>samp_rate</key>
<value>samp_rate</value>
<type>real</type>
</param>
<param>
<name>Center Freq (Hz)</name>
<key>center_freq</key>
<type>real</type>
</param>
<sink>
<name>out</name>
<type>$type</type>
<vlen>$type.vlen</vlen>
</sink>
<doc>
</doc>
</block>
|