Sink for ADALM2000 with buffered input channels.
More...
#include <analog_out_sink.h>
|
| virtual void | set_params (std::vector< double > sampling_frequency, std::vector< int > oversampling_ratio)=0 |
|
| 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.
|
Sink for ADALM2000 with buffered input channels.
This block allows for streaming data to ADALM2000
◆ sptr
◆ 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
-
| uri | String of the context uri |
| buffer_size | Integer number of samples to be put into each buffered |
| sampling_frequency | List of frequency at which the hardware will output samples |
| oversampling_ratio | List of integer numbers representing the oversampling factors |
| kernel_buffers | List of integer values representing the number of the internal buffers |
| cyclic | List of cyclic modes (1 = cyclic, 0 = non-cyclic) |
| calibrate_DAC | Boolean value for deciding if both DACs should be calibrated |
| input_voltage | Boolean 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: