22 #ifndef M2KPOWERSUPPLY_HPP 23 #define M2KPOWERSUPPLY_HPP 25 #include <libm2k/m2kglobal.hpp> 53 virtual void reset() = 0;
62 virtual void enableChannel(
unsigned int chn,
bool en) = 0;
70 virtual void enableAll(
bool en) = 0;
82 virtual double readChannel(
unsigned int chn,
bool calibrated =
true) = 0;
94 virtual void pushChannel(
unsigned int chn,
double value,
bool calibrated =
true) = 0;
100 virtual void powerDownDacs(
bool powerdown) = 0;
109 virtual bool anyChannelEnabled() = 0;
116 #endif //M2KPOWERSUPPLY_HPP Controls the power supply.
Definition: m2kpowersupply.hpp:42