25 #include <libm2k/m2kglobal.hpp> 26 #include <libm2k/context.hpp> 73 virtual void reset() = 0;
79 virtual void deinitialize() = 0;
84 virtual bool calibrate() = 0;
93 virtual bool calibrateADC() = 0;
102 virtual bool calibrateDAC() = 0;
108 virtual bool resetCalibration() = 0;
117 virtual double calibrateFromContext() = 0;
169 virtual std::vector<libm2k::analog::M2kAnalogIn*> getAllAnalogIn() = 0;
175 virtual std::vector<libm2k::analog::M2kAnalogOut*> getAllAnalogOut() = 0;
182 virtual bool hasMixedSignal() = 0;
191 virtual void startMixedSignalAcquisition(
unsigned int nb_samples) = 0;
199 virtual void stopMixedSignalAcquisition() = 0;
208 virtual int getDacCalibrationOffset(
unsigned int chn) = 0;
217 virtual double getDacCalibrationGain(
unsigned int chn) = 0;
226 virtual int getAdcCalibrationOffset(
unsigned int chn) = 0;
235 virtual double getAdcCalibrationGain(
unsigned int chn) = 0;
245 virtual void setDacCalibrationOffset(
unsigned int chn,
int offset) = 0;
256 virtual void setDacCalibrationGain(
unsigned int chn,
double gain) = 0;
266 virtual void setAdcCalibrationOffset(
unsigned int chn,
int offset) = 0;
277 virtual void setAdcCalibrationGain(
unsigned int chn,
double gain) = 0;
284 virtual bool hasContextCalibration() = 0;
291 virtual std::map<double, std::shared_ptr<struct CALIBRATION_PARAMETERS>> &getLUT() = 0;
298 virtual bool isCalibrated() = 0;
308 virtual void setLed(
bool on) = 0;
317 virtual bool getLed() = 0;
Controls the power supply.
Definition: m2kpowersupply.hpp:42
Controls the analogical output compound.
Definition: m2kanalogout.hpp:52
Controls the ADALM2000.
Definition: m2k.hpp:54
Controls the analogical input compound.
Definition: m2kanalogin.hpp:46
Controls the IIO context.
Definition: context.hpp:52
Controls the digital input and output segment.
Definition: m2kdigital.hpp:44
Generic M2K enumerations.