USRP1 Sourceusrp_simple_source_xUSRPfrom grc_gnuradio import usrp as grc_usrpgrc_usrp.simple_source_$(type.fcn)(which=$which, side=$side, rx_ant=$rx_ant#if $hb_filters() then ', no_hb=True' else ''#)
#if $format()
self.$(id).set_format(width=$format.width, shift=$format.shift)
#end if
self.$(id).set_decim_rate($decimation)
self.$(id).set_frequency($frequency, verbose=True#slurp
#if $lo_offset() != float('inf')
, lo_offset=$lo_offset#slurp
#end if
)
self.$(id).set_gain($gain)set_decim_rate($decimation)set_frequency($frequency#slurp
#if $lo_offset() != float('inf')
, lo_offset=$lo_offset#slurp
#end if
)set_gain($gain)Output TypetypeenumFormatformatenum#if $format() then '' else 'part'#Unit Numberwhich0intDecimationdecimationintFrequency (Hz)frequencyrealLO Offset (Hz)lo_offsetfloat('inf')real#if $lo_offset() == float('inf') then 'part' else 'none'#Gain (dB)gain0realSidesideAstringRX Antennarx_antRXAstringHalfband Filtershb_filtersenum#if $hb_filters() then 'none' else 'part'#
The USRP source outputs 64 Megasamples per second / decimation.
The "Receive Antenna Setting" selects one of the SMA connectors as the data source. \
Flex RF boards use the "TX/RX" and "RX2" settings. \
Basic RX and LFRX use the "RXA", "RXB", and "RXAB" settings. \
All other boards use the "RXA" setting.
With the format set to 8 bits and the halfband filters disabled, the USRP can acheive a decimation rate of 4. \
Disabling the halfband filters requires a special USRP firmware without halfband filters or TX paths. \
For this reason, the USRP cannot transmit with the halfband filters disabled.