USRP1 Dual Sourceusrp_dual_source_xUSRPfrom grc_gnuradio import usrp as grc_usrpgrc_usrp.dual_source_$(type.fcn)(
which=$which,
rx_ant_a=$rx_ant_a, rx_ant_b=$rx_ant_b,
rx_source_a=$rx_source_a, rx_source_b=$rx_source_b,
)
#if $format()
self.$(id).set_format(width=$format.width, shift=$format.shift)
#end if
self.$(id).set_decim_rate($decimation)
self.$(id).set_frequency_a($frequency_a, verbose=True#slurp
#if $lo_offset_a() != float('inf')
, lo_offset=$lo_offset_a#slurp
#end if
)
self.$(id).set_frequency_b($frequency_b, verbose=True#slurp
#if $lo_offset_b() != float('inf')
, lo_offset=$lo_offset_b#slurp
#end if
)
self.$(id).set_gain_a($gain_a)
self.$(id).set_gain_b($gain_b)set_decim_rate($decimation)set_frequency_a($frequency_a#slurp
#if $lo_offset_a() != float('inf')
, lo_offset=$lo_offset_a#slurp
#end if
)set_frequency_b($frequency_b#slurp
#if $lo_offset_b() != float('inf')
, lo_offset=$lo_offset_b#slurp
#end if
)set_gain_a($gain_a)set_gain_b($gain_b)Output TypetypeenumFormatformatenum#if $format() then '' else 'part'#Unit Numberwhich0intDecimationdecimationintFrequency A (Hz)frequency_arealFrequency B (Hz)frequency_brealLO Offset A (Hz)lo_offset_afloat('inf')real#if $lo_offset_a() == float('inf') then 'part' else 'none'#LO Offset B (Hz)lo_offset_bfloat('inf')real#if $lo_offset_b() == float('inf') then 'part' else 'none'#Gain A (dB)gain_a0realGain B (dB)gain_b0realRX Antenna Arx_ant_aRXAstringRX Antenna Brx_ant_bRXAstringRX Source Arx_source_aAstring#if $rx_source_a() == 'A' then 'part' else 'none'#RX Source Brx_source_bBstring#if $rx_source_b() == 'B' then 'part' else 'none'#
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.