USRP Dual Sink usrp_dual_sink_x from grc_gnuradio import usrp as grc_usrp grc_usrp.dual_sink_$(type.fcn)(which=$which) self.$(id).set_interp_rate($interpolation) 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 ################################################## ## Flex RF A ################################################## #if $transmit_a.tx_enb self.$(id).set_enable_a(True) #end if #if $transmit_a.auto_tr self.$(id).set_auto_tr_a(True) #end if ################################################## ## Flex RF B ################################################## #if $transmit_b.tx_enb self.$(id).set_enable_b(True) #end if #if $transmit_b.auto_tr self.$(id).set_auto_tr_b(True) #end if set_interp_rate($interpolation) set_frequency_a($frequency_a) set_frequency_b($frequency_b) set_gain_a($gain_a) set_gain_b($gain_b) Input Type type enum Unit Number which 0 int Interpolation interpolation 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 Transmit A transmit_a enum #if $transmit_a.tx_enb then 'none' else 'part'# Transmit B transmit_b enum #if $transmit_b.tx_enb then 'none' else 'part'# Ain $type Bin $type The USRP sink inputs 128 Megasamples per second / interpolation. Input amplitude should be between 0 and 32767. Flex RF boards only: The "Transmit Setting" must be configured. \ When set to "Enable" the transmitter is always on. \ When set to "Auto Transmit/Receive", the transmitter is disabled while receiving.