GNU Radio 3.5.1 C++ API
comedi_source_s.h File Reference
#include <gr_sync_block.h>
#include <string>
#include <comedilib.h>
#include <stdexcept>
Include dependency graph for comedi_source_s.h:

Go to the source code of this file.

Classes

class  comedi_source_s
 source using COMEDI More...

Functions

comedi_source_s_sptr comedi_make_source_s (int sampling_freq, const std::string dev="/dev/comedi0")
 make a COMEDI source.

Function Documentation

comedi_source_s_sptr comedi_make_source_s ( int  sampling_freq,
const std::string  dev = "/dev/comedi0" 
)

make a COMEDI source.

Parameters:
sampling_freqsampling rate in Hz
devCOMEDI device name, e.g., "/dev/comedi0"