00001 #ifndef IdVg_h
00002 #define IdVg_h
00003
00004 #include <string>
00005 #include <HP4156A.h>
00006 #include <Characterization.h>
00007 #include <HCStress.h>
00008 #include <MOSConnection.h>
00009 #include "LibGPIB.h"
00010
00011 extern "C++" {
00012 namespace LibGPIB {
00013 class IdVg : public Characterization {
00014 public:
00015 IdVg(HP4156A& hp4156a, MOSConnection& connection) ;
00016 virtual void operator() () ;
00017 protected:
00018 private:
00022 const static string ID_INAME ;
00023 const static string VG_VNAME ;
00024
00028 char mMsgBuffer[1024] ;
00029
00030 HP4156A& mHP4156A ;
00031 MOSConnection& mConnection ;
00032
00036 float mVD ;
00037
00041 float mVS ;
00042
00046 float mVB ;
00047
00051 float mVGStart ;
00052
00056 float mVGStop ;
00057
00061 int mNumOfSteps ;
00062
00063 } ;
00064
00065 inline
00066 IdVg::IdVg(HP4156A& hp4156a, MOSConnection& connection) :
00067 mHP4156A(hp4156a), mConnection(connection),
00068 mVD(0.1), mVB(0.0), mVS(0.0), mVGStart(0.0),
00069 mVGStop(5.0), mNumOfSteps(51) {
00070
00071 }
00072
00073 }
00074 }
00075
00076 #endif