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)(which=$which, side='$side', rx_ant='$rx_ant'#if $hb_filters.eval then ', no_hb=True' else ''#)
13 self.$(id).set_format(width=$format.width, shift=$format.shift)
15 self.$(id).set_decim_rate($decimation)
16 self.$(id).set_frequency($frequency, verbose=True)
17 self.$(id).set_gain($gain)</make>
18 <callback>set_decim_rate($decimation)</callback>
19 <callback>set_frequency($frequency)</callback>
20 <callback>set_gain($gain)</callback>
22 <name>Output Type</name>
41 <hide>#if $format.eval then '' else 'part'#</hide>
43 <name>16 Bits (Default)</name>
49 <name>8 Bits, Shift 8</name>
56 <name>Unit Number</name>
62 <name>Decimation</name>
67 <name>Frequency</name>
91 <name>RX Antenna</name>
117 <name>Halfband Filters</name>
118 <key>hb_filters</key>
121 <hide>#if $hb_filters.eval then 'none' else 'part'#</hide>
136 The USRP source outputs 64 Megasamples per second / decimation.
138 The "Receive Antenna Setting" selects one of the SMA connectors as the data source. \
139 Flex RF boards use the "TX/RX" and "RX2" settings. \
140 Basic RX and LFRX use the "RXA", "RXB", and "RXAB" settings. \
141 All other boards use the "RXA" setting.
143 With the format set to 8 bits and the halfband filters disabled, the USRP can acheive a decimation rate of 4. \
144 Disabling the halfband filters requires a special USRP firmware without halfband filters or TX paths. \
145 For this reason, the USRP cannot transmit with the halfband filters disabled.