3 ###################################################
5 ###################################################
8 <name>USRP Dual Source</name>
9 <key>usrp_dual_source_x</key>
10 <import>from grc_gnuradio import usrp as grc_usrp</import>
11 <make>grc_usrp.dual_source_$(type.fcn)(which=$which, rx_ant_a=$rx_ant_a, rx_ant_b=$rx_ant_b)
13 self.$(id).set_format(width=$format.width, shift=$format.shift)
15 self.$(id).set_decim_rate($decimation)
16 self.$(id).set_frequency_a($frequency_a, verbose=True)
17 self.$(id).set_frequency_b($frequency_b, verbose=True)
18 self.$(id).set_gain_a($gain_a)
19 self.$(id).set_gain_b($gain_b)
20 #if $lo_offset_a() != float('inf')
21 self.$(id).set_lo_offset_a($lo_offset_a)
23 #if $lo_offset_b() != float('inf')
24 self.$(id).set_lo_offset_b($lo_offset_b)
26 <callback>set_decim_rate($decimation)</callback>
27 <callback>set_frequency_a($frequency_a)</callback>
28 <callback>set_frequency_b($frequency_b)</callback>
29 <callback>set_gain_a($gain_a)</callback>
30 <callback>set_gain_b($gain_b)</callback>
32 <name>Output Type</name>
51 <hide>#if $format() then '' else 'part'#</hide>
53 <name>16 Bits (Default)</name>
59 <name>8 Bits, Shift 8</name>
66 <name>Unit Number</name>
72 <name>Decimation</name>
77 <name>Frequency A (Hz)</name>
78 <key>frequency_a</key>
82 <name>Frequency B (Hz)</name>
83 <key>frequency_b</key>
87 <name>LO Offset A (Hz)</name>
88 <key>lo_offset_a</key>
89 <value>float('inf')</value>
91 <hide>#if $lo_offset_a() == float('inf') then 'part' else 'none'#</hide>
94 <key>float('inf')</key>
98 <name>LO Offset B (Hz)</name>
99 <key>lo_offset_b</key>
100 <value>float('inf')</value>
102 <hide>#if $lo_offset_b() == float('inf') then 'part' else 'none'#</hide>
105 <key>float('inf')</key>
109 <name>Gain A (dB)</name>
115 <name>Gain B (dB)</name>
121 ###################################################
123 ###################################################
126 <name>RX Antenna A</name>
152 ###################################################
154 ###################################################
157 <name>RX Antenna B</name>
191 The USRP source outputs 64 Megasamples per second / decimation.
193 The "Receive Antenna Setting" selects one of the SMA connectors as the data source. \
194 Flex RF boards use the "TX/RX" and "RX2" settings. \
195 Basic RX and LFRX use the "RXA", "RXB", and "RXAB" settings. \
196 All other boards use the "RXA" setting.