GNU Radio's M2K Package
gr::m2k::analog_out_sink Class Referenceabstract

Sink for ADALM2000 with buffered input channels. More...

#include <analog_out_sink.h>

Inheritance diagram for gr::m2k::analog_out_sink:
gr::m2k::analog_out_sink_impl

Public Types

typedef std::shared_ptr< analog_out_sinksptr

Public Member Functions

virtual void set_params (std::vector< double > sampling_frequency, std::vector< int > oversampling_ratio)=0

Static Public Member Functions

static sptr make (const std::string &uri, const int buffer_size, std::vector< double > sampling_frequency, std::vector< int > oversampling_ratio, const std::vector< int > &kernel_buffers, const std::vector< int > &cyclic, bool calibrate_DAC, bool input_voltage)
 Return a shared_ptr to a new instance of m2k::analog_out_sink.

Detailed Description

Sink for ADALM2000 with buffered input channels.

This block allows for streaming data to ADALM2000

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

sptr gr::m2k::analog_out_sink::make ( const std::string & uri,
const int buffer_size,
std::vector< double > sampling_frequency,
std::vector< int > oversampling_ratio,
const std::vector< int > & kernel_buffers,
const std::vector< int > & cyclic,
bool calibrate_DAC,
bool input_voltage )
static

Return a shared_ptr to a new instance of m2k::analog_out_sink.

Parameters
uriString of the context uri
buffer_sizeInteger number of samples to be put into each buffered
sampling_frequencyList of frequency at which the hardware will output samples
oversampling_ratioList of integer numbers representing the oversampling factors
kernel_buffersList of integer values representing the number of the internal buffers
cyclicList of cyclic modes (1 = cyclic, 0 = non-cyclic)
calibrate_DACBoolean value for deciding if both DACs should be calibrated
input_voltageBoolean value for setting the input type: voltage/raw

◆ set_params()

virtual void gr::m2k::analog_out_sink::set_params ( std::vector< double > sampling_frequency,
std::vector< int > oversampling_ratio )
pure virtual

The documentation for this class was generated from the following file: