libm2k
Public Member Functions | List of all members
libm2k::analog::M2kPowerSupply Class Referenceabstract

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...
 

Detailed Description

Controls the power supply.


The documentation for this class was generated from the following file: