USRP2 Sink usrp2_sink_xxxx from gnuradio import usrp2 #if not $interface.eval and not $mac_addr.eval usrp2.sink_$(type.fcn)() #elif not $mac_addr.eval usrp2.sink_$(type.fcn)($interface) #else usrp2.sink_$(type.fcn)($interface, $mac_addr) #end if self.$(id).set_interp($interpolation) self.$(id).set_center_freq($frequency) self.$(id).set_gain($gain) #if $auto_tr.eval self.$(id).set_auto_tr($auto_tr) #end if #if $tx_enb.eval self.$(id).set_enable($tx_enb) #end if set_interp($interpolation) set_center_freq($frequency) set_gain($gain) Output Type type enum Interface interface string MAC Addr mac_addr string Frequency frequency real Interpolation interpolation int Gain gain real Auto T/R auto_tr enum $auto_tr.hide TX Enable tx_enb enum $tx_enb.hide in $type The USRP2 sink inputs 100 Megasamples per second / interpolation. To use the default ethernet device, leave interface blank. \ For systems with only 1 USRP2, you may leave the mac address blank. \ For multi-USRP2 systems, specify the mac address in the form 00:50:C2:85:3x:xx. --- Flex RF specific --- The "Auto TR" and "TX Enable" settings are flex rf specific and should be left at "Ignore" unless this is a flex rf board. If enabled, "Auto Transmit/Receive Switching" handles the preference for transmit packets vs receive packets. \ By default, "Auto TR" is disabled. The "Transmit Enable" configures the transmitter to be on or off. \ Do not leave this unconfigured.