QPowerSupply.hh Go to the documentation of this file. 00001
00011 #ifndef _Q_POWER_SUPPLY_HH_
00012 #define _Q_POWER_SUPPLY_HH_
00013
00014
00015 #include "QBaseInstrument.hh "
00016 #include "QError.hh "
00017 #include "PowerSupply.hh "
00018
00019
00020 class QPowerSupply : public QBaseInstrument
00021 {
00022 public :
00023
00030 QPowerSupply (GPIBBaseInterface * iFace);
00031
00032
00036 virtual ~QPowerSupply ();
00037
00038
00047 virtual const QError & GetDouble (std::string cmd, double & value,size_t channel);
00048
00057 virtual const QError & SetDouble (std::string what, double value,size_t channel);
00058
00067 virtual const QError & GetBool (std::string what, bool & value,size_t channel);
00068
00077 virtual const QError & SetBool (std::string what, bool value,size_t channel);
00078
00087 virtual const QError & GetString (std::string what, std::string& text,size_t channel);
00088
00089
00090 protected :
00091
00095 inline PowerSupply * GetInstrument () const {return f_power ;}
00096
00097
00098 private :
00099
00100
00101 PowerSupply * f_power ;
00103 };
00104
00105 #endif // _Q_POWER_SUPPLY_HH_
In questo sito non sono utilizzati cookie per la profilazione degli utenti. Utilizza cookie di sessione, necessari per il corretto funzionamento dello stesso e per gestire l'autenticazione ai servizi on-line, alla intranet e alle aree riservate...
leggi tutto Più info OK