USRP Dual Source usrp_dual_source_x from grc_gnuradio import usrp as grc_usrp grc_usrp.dual_source_$(type.fcn)(which=$which, rx_ant_a=$rx_ant_a, rx_ant_b=$rx_ant_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) self.$(id).set_frequency_b($frequency_b, verbose=True) self.$(id).set_gain_a($gain_a) self.$(id).set_gain_b($gain_b) #if $lo_offset_a() != float('inf') self.$(id).set_lo_offset_a($lo_offset_a) #end if #if $lo_offset_b() != float('inf') self.$(id).set_lo_offset_b($lo_offset_b) #end if set_decim_rate($decimation) set_frequency_a($frequency_a) set_frequency_b($frequency_b) set_gain_a($gain_a) set_gain_b($gain_b) Output Type type enum Format format enum #if $format() then '' else 'part'# Unit Number which 0 int Decimation decimation int Frequency A (Hz) frequency_a real Frequency B (Hz) frequency_b real LO Offset A (Hz) lo_offset_a float('inf') real #if $lo_offset_a() == float('inf') then 'part' else 'none'# LO Offset B (Hz) lo_offset_b float('inf') real #if $lo_offset_b() == float('inf') then 'part' else 'none'# Gain A (dB) gain_a 0 real Gain B (dB) gain_b 0 real RX Antenna A rx_ant_a RXA string RX Antenna B rx_ant_b RXA string Aout $type Bout $type 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.