11#ifndef INCLUDED_GR_UHD_USRP_SINK_H
12#define INCLUDED_GR_UHD_USRP_SINK_H
92 typedef std::shared_ptr<usrp_sink>
sptr;
100 static sptr make(const ::uhd::device_addr_t& device_addr,
101 const ::uhd::stream_args_t& stream_args,
102 const std::string& tsb_tag_name =
"");
105 static sptr make(
const std::string& device_addr_str,
106 const ::uhd::stream_args_t& stream_args,
107 const std::string& tsb_tag_name =
"")
109 return make(::uhd::device_addr_t(device_addr_str), stream_args, tsb_tag_name);
142 set_lo_source(
const std::string& src,
const std::string& name,
size_t chan = 0) = 0;
150 virtual const std::string
get_lo_source(
const std::string& name,
size_t chan = 0) = 0;
159 size_t chan = 0) = 0;
186 virtual double set_lo_freq(
double freq,
const std::string& name,
size_t chan = 0) = 0;
194 virtual double get_lo_freq(
const std::string& name,
size_t chan = 0) = 0;
203 size_t chan = 0) = 0;
211 virtual void set_dc_offset(
const std::complex<double>& offset,
size_t chan = 0) = 0;
221 size_t chan = 0) = 0;
Definition: usrp_block.h:53
Definition: usrp_sink.h:89
virtual void set_lo_source(const std::string &src, const std::string &name, size_t chan=0)=0
virtual void set_lo_export_enabled(bool enabled, const std::string &name, size_t chan=0)=0
virtual void set_start_time(const ::uhd::time_spec_t &time)=0
virtual ::uhd::freq_range_t get_lo_freq_range(const std::string &name, size_t chan=0)=0
virtual bool get_lo_export_enabled(const std::string &name, size_t chan=0)=0
virtual std::vector< std::string > get_lo_names(size_t chan=0)=0
virtual double set_lo_freq(double freq, const std::string &name, size_t chan=0)=0
virtual std::vector< std::string > get_lo_sources(const std::string &name, size_t chan=0)=0
virtual void set_iq_balance(const std::complex< double > &correction, size_t chan=0)=0
virtual const std::string get_lo_source(const std::string &name, size_t chan=0)=0
static sptr make(const std::string &device_addr_str, const ::uhd::stream_args_t &stream_args, const std::string &tsb_tag_name="")
Definition: usrp_sink.h:105
std::shared_ptr< usrp_sink > sptr
Definition: usrp_sink.h:92
virtual void set_dc_offset(const std::complex< double > &offset, size_t chan=0)=0
virtual double get_lo_freq(const std::string &name, size_t chan=0)=0
static sptr make(const ::uhd::device_addr_t &device_addr, const ::uhd::stream_args_t &stream_args, const std::string &tsb_tag_name="")
#define GR_UHD_API
Definition: gr-uhd/include/gnuradio/uhd/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29