9#ifndef INCLUDED_GR_UHD_RFNOC_SIGGEN_H
10#define INCLUDED_GR_UHD_RFNOC_SIGGEN_H
25 typedef std::shared_ptr<rfnoc_siggen>
sptr;
36 const ::uhd::device_addr_t& block_args,
37 const int device_select,
45 virtual void set_amplitude(
const double amplitude,
const size_t chan) = 0;
59 virtual void set_constant(
const std::complex<double> constant,
const size_t chan) = 0;
73 virtual void set_enable(
const bool enable,
const size_t chan) = 0;
90 const size_t chan) = 0;
118 virtual void set_waveform(
const std::string& type,
const size_t chan) = 0;
Definition: rfnoc_block.h:26
std::shared_ptr< rfnoc_block > sptr
Definition: rfnoc_block.h:34
std::shared_ptr< rfnoc_graph > sptr
Definition: rfnoc_graph.h:32
Definition: rfnoc_siggen.h:23
virtual std::string get_waveform_string(const size_t chan)=0
virtual void set_samples_per_packet(const size_t spp, const size_t chan)=0
virtual double get_amplitude(const size_t chan)=0
virtual void set_constant(const std::complex< double > constant, const size_t chan)=0
static sptr make(rfnoc_graph::sptr graph, const ::uhd::device_addr_t &block_args, const int device_select, const int instance)
virtual void set_sine_phase_increment(const double phase_inc, const size_t chan)=0
virtual size_t get_samples_per_packet(const size_t chan)=0
virtual void set_waveform(const std::string &type, const size_t chan)=0
std::shared_ptr< rfnoc_siggen > sptr
Definition: rfnoc_siggen.h:25
siggen_waveform
Definition: rfnoc_siggen.h:27
virtual siggen_waveform get_waveform(const size_t chan)=0
virtual void set_waveform(const siggen_waveform type, const size_t chan)=0
virtual std::complex< double > get_constant(const size_t chan)=0
virtual void set_enable(const bool enable, const size_t chan)=0
virtual double get_sine_phase_increment(const size_t chan)=0
virtual void set_amplitude(const double amplitude, const size_t chan)=0
virtual void set_sine_frequency(const double frequency, const double sample_rate, const size_t chan)=0
virtual bool get_enable(const size_t chan)=0
#define GR_UHD_API
Definition: gr-uhd/include/gnuradio/uhd/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29