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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
<?xml version="1.0"?>
<!--
###################################################
##USRP Dual Sink
###################################################
-->
<block>
<name>USRP Dual Sink</name>
<key>usrp_dual_sink_x</key>
<import>from grc_gnuradio import usrp as grc_usrp</import>
<make>grc_usrp.dual_sink_$(type.fcn)(
number=$number,
frequency_a=$frequency_a,
frequency_b=$frequency_b,
interpolation=$interpolation,
gain_a=$gain_a,
gain_b=$gain_b,
mux=$mux,
auto_tr=$auto_tr,
tx_enb_a=$tx_enb_a,
tx_enb_b=$tx_enb_b,
)</make>
<callback>set_interp_rate($interpolation)</callback>
<callback>set_frequency_a($frequency_a)</callback>
<callback>set_gain_a($gain_a)</callback>
<callback>set_frequency_b($frequency_b)</callback>
<callback>set_gain_b($gain_b)</callback>
<param>
<name>Input Type</name>
<key>type</key>
<type>enum</type>
<option>
<name>Complex</name>
<key>complex</key>
<opt>fcn:c</opt>
</option>
<option>
<name>Short</name>
<key>short</key>
<opt>fcn:s</opt>
</option>
</param>
<param>
<name>Unit Number</name>
<key>number</key>
<value>0</value>
<type>int</type>
</param>
<param>
<name>Frequency A</name>
<key>frequency_a</key>
<type>real</type>
</param>
<param>
<name>Frequency B</name>
<key>frequency_b</key>
<type>real</type>
</param>
<param>
<name>Interpolation</name>
<key>interpolation</key>
<type>int</type>
</param>
<param>
<name>Gain A</name>
<key>gain_a</key>
<type>real</type>
</param>
<param>
<name>Gain B</name>
<key>gain_b</key>
<type>real</type>
</param>
<param>
<name>Mux</name>
<key>mux</key>
<value>0xba98</value>
<type>hex</type>
</param>
<param>
<name>Auto T/R</name>
<key>auto_tr</key>
<value>None</value>
<type>enum</type>
<option>
<name>Ignore</name>
<key>None</key>
</option>
<option>
<name>Enable</name>
<key>True</key>
</option>
<option>
<name>Disable</name>
<key>False</key>
</option>
</param>
<param>
<name>TX Enable A</name>
<key>tx_enb_a</key>
<value>None</value>
<type>enum</type>
<option>
<name>Ignore</name>
<key>None</key>
</option>
<option>
<name>Enable</name>
<key>True</key>
</option>
<option>
<name>Disable</name>
<key>False</key>
</option>
</param>
<param>
<name>TX Enable B</name>
<key>tx_enb_b</key>
<value>None</value>
<type>enum</type>
<option>
<name>Ignore</name>
<key>None</key>
</option>
<option>
<name>Enable</name>
<key>True</key>
</option>
<option>
<name>Disable</name>
<key>False</key>
</option>
</param>
<sink>
<name>Ain</name>
<type>$type</type>
</sink>
<sink>
<name>Bin</name>
<type>$type</type>
</sink>
<doc>
The USRP sink inputs 128 Megasamples per second / interpolation.
--- Flex RF specific ---
The "Auto TR" and "TX Enable" settings are flex rf specific and should be left at "Ignore" unless this is a flex rf board.
If enabled, "Auto Transmit/Receive Switching" handles the preference for transmit packets vs receive packets. \
By default, "Auto TR" is disabled.
The "Transmit Enable" configures the transmitter to be on or off. \
Do not leave this unconfigured.
</doc>
</block>
|