3 ###################################################
5 ###################################################
8 <name>USRP Source</name>
9 <key>usrp_simple_source_x</key>
10 <import>from grc_gnuradio import usrp as grc_usrp</import>
11 <make>grc_usrp.simple_source_$(type.fcn)(number=$number, side='$side', rx_ant='$rx_ant')
12 self.$(id).set_decim_rate($decimation)
13 self.$(id).set_frequency($frequency, verbose=True)
14 self.$(id).set_gain($gain)
15 #if $auto_tr.eval and $rx_ant.flex
16 self.$(id).set_auto_tr($auto_tr)
18 <callback>set_decim_rate($decimation)</callback>
19 <callback>set_frequency($frequency)</callback>
20 <callback>set_gain($gain)</callback>
22 <name>Output Type</name>
37 <name>Unit Number</name>
43 <name>Decimation</name>
48 <name>Frequency</name>
72 <name>RX Antenna</name>
102 <hide>#if $rx_ant.flex then 'none' else 'all'#</hide>
121 The USRP source outputs 64 Megasamples per second / decimation.
123 The "Receive Antenna Setting" selects one of the SMA connectors as the data source. \
124 Flex RF boards use the "TX/RX" and "RX2" settings. \
125 Basic RX and LFRX use the "RXA" and "RXB" settings. \
126 All other boards use the "RXA" setting.
128 Flex RF boards only: If enabled, "Auto Transmit/Receive Switching" handles the preference for transmit packets vs receive packets. \
129 By default, "Auto TR" is disabled.