1 #ifndef SZA_ANTENNA_CANBUS_SETBIASCOMMAND_H
2 #define SZA_ANTENNA_CANBUS_SETBIASCOMMAND_H
12 #include "carma/szautil/Directives.h"
13 #include "carma/szautil/Rx.h"
28 class CanMonitorPoint;
30 class SetBiasCommand :
public CanCommand {
39 sza::util::Rx::Id rxId,
unsigned seq=0);
44 virtual ~SetBiasCommand();
46 void compile(sza::util::Rx::Id rxId,
unsigned seq);
48 sza::util::Rx::Id rxId,
unsigned seq);
50 sza::util::Rx::Id rxId,
unsigned seq);
53 sza::antenna::canbus::Receiver::Amp amp,
58 static const short biasLimit_ = 50;
60 static const unsigned nBias_ = 8;
62 static sza::antenna::canbus::Receiver::Amp biasTypes30GHz_[nBias_];
64 static short biasVals30GHz_[nBias_][sza::util::AntNum::NANT];
66 static Receiver::Amp biasTypes90GHz_[nBias_];
68 static short biasVals90GHz_[nBias_][sza::util::AntNum::NANT];
74 CanMonitorPoint* drainCurrent30GHz_;
75 CanMonitorPoint* gateVoltage30GHz_;
76 CanMonitorPoint* gateCurrent30GHz_;
77 CanMonitorPoint* ifAmpVoltage30GHz_;
78 CanMonitorPoint* ifAmpCurrent30GHz_;
79 CanMonitorPoint* mixerCurrent30GHz_;
80 CanMonitorPoint* ledCurrent30GHz_;
84 CanMonitorPoint* gateCurrent90GHz_;
85 CanMonitorPoint* drainCurrent90GHz_;
86 CanMonitorPoint* ifAmpDrainCurrent90GHz_;
87 CanMonitorPoint* ifAmpGateCurrent90GHz_;
98 Receiver::Amp biasTypeOf(sza::util::Rx::Id rxId,
unsigned iBias);
99 short biasValOf(sza::util::Rx::Id rxId,
unsigned iBias);
100 short biasLimitOf(sza::util::Rx::Id rxId,
unsigned iBias);
101 CanMonitorPoint* monitorPointOf(sza::util::Rx::Id rxId,
105 void compile(sza::util::Rx::Id rxId);
112 #endif // End #ifndef SZA_ANTENNA_CANBUS_SETBIASCOMMAND_H
AntennaRx class will handle all receiver functions.
Tagged: Mon Mar 29 11:46:02 PST 2004.
Tagged: Fri Nov 14 12:39:31 UTC 2003.
Tagged: Sat Oct 23 13:35:14 PDT 2004.
Id
Enumerate known receivers.