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#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) ################################################## ## 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#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) 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.