QPowerSupply Class Reference

Inheritance diagram for QPowerSupply:

QBaseInstrument List of all members.

Detailed Description

Power Supply controller.

Author:
Andrea Giachero (Andrea.Giachero@lngs.infn.it)


Public Member Functions

 QPowerSupply (GPIBBaseInterface *iFace)
 ctor
virtual ~QPowerSupply ()
 dtor
virtual const QErrorGetDouble (std::string cmd, double &value, size_t channel)
 get a double value from the power supply at the specified channel
virtual const QErrorSetDouble (std::string what, double value, size_t channel)
 set a double value on the power supply at the specified channel
virtual const QErrorGetBool (std::string what, bool &value, size_t channel)
 get a bool value from the power supply at the specified channel
virtual const QErrorSetBool (std::string what, bool value, size_t channel)
 set a bool value on the power supply at the specified channel
virtual const QErrorGetString (std::string what, std::string &text, size_t channel)
 get a string value from to the power supply at the specified channel

Protected Member Functions

PowerSupplyGetInstrument () const
 Get Used GPIB Interface.

Private Attributes

PowerSupplyf_power


Constructor & Destructor Documentation

QPowerSupply::QPowerSupply ( GPIBBaseInterface iFace  ) 

ctor

Parameters:
primary_add GPIB primary address
secondary_add GPIB secondary address


Member Function Documentation

const QError & QPowerSupply::GetDouble ( std::string  cmd,
double &  value,
size_t  channel 
) [virtual]

get a double value from the power supply at the specified channel

Parameters:
what parameter to get
value power supply response value
channel specified output channel
Returns:
a QError containing the error status

Implements QBaseInstrument.

const QError & QPowerSupply::SetDouble ( std::string  what,
double  value,
size_t  channel 
) [virtual]

set a double value on the power supply at the specified channel

Parameters:
what parameter to set
value value to set
channel specified output channel
Returns:
a QError containing the error status

Implements QBaseInstrument.

const QError & QPowerSupply::GetBool ( std::string  what,
bool &  value,
size_t  channel 
) [virtual]

get a bool value from the power supply at the specified channel

Parameters:
what parameter to get
value power supply response value
channel specified output channel
Returns:
a QError containing the error status

Implements QBaseInstrument.

const QError & QPowerSupply::SetBool ( std::string  what,
bool  value,
size_t  channel 
) [virtual]

set a bool value on the power supply at the specified channel

Parameters:
what parameter to set
value value to set
channel specified output channel
Returns:
a QError containing the error status

Implements QBaseInstrument.

const QError & QPowerSupply::GetString ( std::string  what,
std::string &  text,
size_t  channel 
) [virtual]

get a string value from to the power supply at the specified channel

Parameters:
what parameter to get
text power supply response string
channel specified output channel
Returns:
a QError containing the error status

Implements QBaseInstrument.


Member Data Documentation

PowerSupply* QPowerSupply::f_power [private]

Power Supply Instrument


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:44 2009 for CUORE Software by  doxygen 1.5.1