libm2k
|
Controls the power supply. More...
#include <libm2k/analog/m2kpowersupply.hpp>
Public Member Functions | |
virtual void | enableChannel (unsigned int chn, bool en)=0 |
Enable or disable the given channel. More... | |
virtual void | enableAll (bool en)=0 |
Enable or disable all channels. More... | |
virtual double | readChannel (unsigned int chn, bool calibrated=true)=0 |
Retrieve the value of a given channel. More... | |
virtual void | pushChannel (unsigned int chn, double value, bool calibrated=true)=0 |
Set the voltage for the given channel. More... | |
virtual bool | anyChannelEnabled ()=0 |
Check if there is at least one enabled channel. More... | |
Controls the power supply.