UHD Simple Sink (DEPRECATED) uhd_simple_sink UHD from gnuradio import uhd uhd.simple_sink($args, uhd.io_type_t.$type.type) self.$(id).set_subdev_spec($sd_spec) self.$(id).set_samp_rate($samp_rate) self.$(id).set_center_freq($center_freq) self.$(id).set_gain($gain) #if $ant() self.$(id).set_antenna($ant) #end if set_samp_rate($samp_rate) set_center_freq($center_freq) set_gain($gain) set_antenna($ant) Input Type type enum Args args string Subdev Spec sd_spec string #if $sd_spec() then 'none' else 'part'# Samp Rate (Sps) samp_rate samp_rate real Center Freq (Hz) center_freq 0 real Gain (dB) gain 0 real Antenna ant string #if $ant() == '' then 'part' else 'none'# in $type $type.vlen The UHD Sink Block: Args: Args is a delimited string used to locate UHD devices on your system. \ If left blank, the first UHD device found will be used. \ Used args to specify a specfic device. \ USRP2 Example: addr=192.168.10.2 Sample rate: The sample rate is the number of samples per second input by this block. \ The UHD device driver will try its best to match the requested sample rate. \ If the requested rate is not possible, the UHD block will print an error at runtime. Antenna: For subdevices/daughterboards with only one antenna, this may be left blank. \ Otherwise, the user should specify one of the possible antenna choices. \ See the daughterboard application notes for the possible antenna choices.