CARMA C++
FrontEndProxy.h
Go to the documentation of this file.
1 #ifndef SZA_ANTENNA_CORBA_FRONTENDPROXY_H
2 #define SZA_ANTENNA_CORBA_FRONTENDPROXY_H
3 
11 #include "carma/szautil/Amp.h"
12 
14 
15 #include "carma/antenna/common/FrontEndControl.h"
16 
17 namespace sza {
18  namespace antenna {
19  namespace corba {
20 
25  class FrontEndProxy : public Proxy {
26 
27  public:
28 
33 
38 
39  //-----------------------------------------------------------------------
40  // CORBA methods
41  //-----------------------------------------------------------------------
42 
43  virtual void setFrequency(double freq);
44 
45  virtual void setSISVj(float voltage);
46 
47  virtual void setSISIj(float current);
48 
49  virtual void doIVcurve();
50 
51  virtual void setVG(carma::antenna::common::FrontEndControl::
52  Amp amp,
54  Stage stage,
55  float voltage);
56 
57  virtual void setVD(carma::antenna::common::FrontEndControl::
58  Amp amp,
60  Stage stage,
61  float voltage);
62 
63  virtual void setID(carma::antenna::common::FrontEndControl::Amp amp,
65  float current);
66 
67  virtual void setMixer(float voltage);
68 
69  virtual void doIVcurve(float startVjInMv,
70  float stopVjInMv,
71  float stepVjInMv,
72  unsigned short deltaInMs,
73  bool doPower,
74  CORBA::ULong seqNo);
75 
76  virtual carma::antenna::common::IVCurve* getIVCurve();
77 
78 
79 
80  //-----------------------------------------------------------------------
81  // Local methods
82  //-----------------------------------------------------------------------
83 
84  // This is the main method by which we will set all biases
85 
86  void setBias(sza::util::Rx::Id rxId,
89  sza::util::Rx::Stage szaStage,
90  short bias,
91  unsigned long seq,
92  bool isDefault);
93 
94  // This is the main method by which we will set default values for biases
95 
96  void setDefaultBias(unsigned iBias, short bias);
97 
98  // Return the appropriate bias number for the requested gate
99  // voltage of this receiver.
100 
101  sza::util::Rx::Stage getVgStage(carma::antenna::common::FrontEndControl::Amp amp,
103 
104  // Return the appropriate bias number for the requested drain
105  // voltage of this receiver.
106 
107  sza::util::Rx::Stage getVdStage(carma::antenna::common::FrontEndControl::Amp amp,
109 
110  // Return the appropriate bias number for the requested drain
111  // current of this receiver.
112 
113  sza::util::Rx::Stage getIdStage(carma::antenna::common::FrontEndControl::Amp amp,
115 
116  }; // End class FrontEndProxy
117 
118  }; // End namespace corba
119  }; // End namespace antenna
120 }; // End namespace sza
121 
122 #endif
123 
124 
Amp
A receiver frontend amplifier enumerator.
Data returned by an IV curve method Be careful not to assume that the totPower contains the same numb...
Definition: IVCurve.idl:30
Tagged: Tue Mar 30 08:46:08 PST 2004.
Stage
A receiver frontend stage enumerator.
Tagged: Fri Jul 24 11:34:30 PDT 2009.
FrontEndProxy(sza::antenna::control::AntennaMaster *parent)
Constructor with a pointer to the parent AntennaMaster.
A class which will be served as the CORBA FrontEnd DO, whose methods will send messages to the Antenn...
Definition: FrontEndProxy.h:25
Define a class to encapsulate the entire Antenna control system.