CARMA C++
HpDcPowerSupply.h
Go to the documentation of this file.
1 #ifndef SZA_UTIL_HPDCPOWERSUPPLY_H
2 #define SZA_UTIL_HPDCPOWERSUPPLY_H
3 
11 #include "carma/szautil/Frequency.h"
13 #include "carma/szautil/Power.h"
14 
15 namespace sza {
16  namespace util {
17 
18  class HpDcPowerSupply : public GpibUsbDevice {
19  public:
20 
24  HpDcPowerSupply(bool doSpawn=false);
25  HpDcPowerSupply(std::string port, bool doSpawn=false);
26 
30  virtual ~HpDcPowerSupply();
31 
32  //------------------------------------------------------------
33  // Device commands
34  //------------------------------------------------------------
35 
36  double setVoltage(double voltage);
37  double getVoltage();
38 
39  private:
40 
41  static GPIB_RESPONSE_HANDLER(checkVoltage);
42 
43  }; // End class HpDcPowerSupply
44 
45  } // End namespace util
46 } // End namespace sza
47 
48 
49 
50 #endif // End #ifndef SZA_UTIL_HPDCPOWERSUPPLY_H
Tagged: Thu Oct 18 17:42:37 PDT 2007.
Tagged: Tue Aug 11 14:04:19 PDT 2009.