userdcsource.h
1 /***************************************************************************
2  Copyright (C) 2002-2015 Kentaro Kitagawa
3  kitagawa@phys.s.u-tokyo.ac.jp
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  You should have received a copy of the GNU Library General
11  Public License and a list of authors along with this program;
12  see the files COPYING and AUTHORS.
13 ***************************************************************************/
14 
15 #ifndef userdcsourceH
16 #define userdcsourceH
17 
18 #include "chardevicedriver.h"
19 #include "dcsource.h"
20 
21 //!YOKOGAWA 7551 DC V/DC A source
22 class XYK7651:public XCharDeviceDriver<XDCSource> {
23 public:
24  XYK7651(const char *name, bool runtime,
25  Transaction &tr_meas, const shared_ptr<XMeasure> &meas);
26  virtual void changeFunction(int ch, int x);
27  virtual void changeOutput(int ch, bool x);
28  virtual void changeValue(int ch, double x, bool autorange);
29  virtual void changeRange(int, int);
30  virtual double max(int ch, bool autorange) const;
31  virtual void queryStatus(Transaction &, int) {}
32 protected:
33  virtual void open() throw (XKameError &);
34 };
35 
36 //!ADVANTEST TR6142/R6142/R6144 DC V/DC A source
37 class XADVR6142:public XCharDeviceDriver<XDCSource> {
38 public:
39  XADVR6142(const char *name, bool runtime,
40  Transaction &tr_meas, const shared_ptr<XMeasure> &meas);
41  virtual void changeFunction(int ch, int x);
42  virtual void changeOutput(int ch, bool x);
43  virtual void changeValue(int ch, double x, bool autorange);
44  virtual void changeRange(int, int);
45  virtual double max(int ch, bool autorange) const;
46  virtual void queryStatus(Transaction &, int) {}
47 protected:
48  virtual void open() throw (XKameError &);
49 };
50 
51 //!MicroTask/Leiden Triple Current Source.
52 class XMicroTaskTCS:public XCharDeviceDriver<XDCSource> {
53 public:
54  XMicroTaskTCS(const char *name, bool runtime,
55  Transaction &tr_meas, const shared_ptr<XMeasure> &meas);
56  virtual void changeFunction(int, int) {}
57  virtual void changeOutput(int ch, bool x);
58  virtual void changeValue(int ch, double x, bool autorange);
59  virtual void changeRange(int ch, int x);
60  virtual double max(int ch, bool autorange) const;
61  virtual void queryStatus(Transaction &tr, int ch);
62 protected:
63  virtual void open() throw (XKameError &);
64 };
65 #endif
66 

Generated for KAME4 by  doxygen 1.8.3