USRP Source usrp_simple_source_x from grc_gnuradio import usrp as grc_usrp grc_usrp.simple_source_$(type.fcn)( number=$number, subdev_spec=$subdev_spec, frequency=$frequency, decimation=$decimation, gain=$gain, #if $mux.eval == hex(0) mux=None, #else mux=$mux, #end if auto_tr=$auto_tr, rx_ant=$rx_ant, ) set_decim_rate($decimation) set_frequency($frequency) set_gain($gain) Output Type type enum Unit Number number 0 int Subdev Spec subdev_spec auto enum Frequency frequency real Decimation decimation int Gain gain real Mux mux 0x0 hex Auto T/R auto_tr None enum RX Antenna rx_ant None enum out $type The USRP source outputs 64 Megasamples per second / decimation. --- Flex RF specific --- The "Auto TR" and "RX Antenna" 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 "Receive Antenna Setting" selects one of the SMA connectors as the data source. \ By default, 'TX/RX' is selected.