CARMA C++
carma::antenna::ovro::LOControlImpl Class Reference

LOControlImpl Corba control class. More...

#include <carma/antenna/ovro/control/LOControlImpl.h>

Public Member Functions

void extractTuneTable ()
 
void jogAttenuator (::CORBA::Short microsteps)
 
void jogBackshort (::CORBA::Short microsteps)
 
void jogTuner (::CORBA::Short microsteps)
 
 LOControlImpl (YigPll &yig, GunnPll &gunn, carma::antenna::common::Varactor &varactor, carma::antenna::common::LOReferenceMonitor &loref, carma::antenna::common::RxControl::Type type)
 Constructor. More...
 
bool loFreqOutOfRange (::CORBA::Double loFreq)
 Verify that lo frequency is in range. More...
 
void resetGunn ()
 
void resetYigPll ()
 
void setAttenuator (::CORBA::ULong position)
 
void setBackshort (::CORBA::ULong position)
 
void setDampingResistance (::CORBA::UShort resistance)
 
void setGunnLoopGain (::CORBA::Float percent)
 
void setGunnVoltage (::CORBA::Float volts)
 
void setLoFrequency (::CORBA::Double Frequency)
 Set the gunn LO frequency independent of the YIG. More...
 
void setLoTerminatorAttenuation (::CORBA::UShort atten)
 
void setLoTerminatorPowerLevel (::CORBA::Double power)
 Set the LO terminator power level to requested value. More...
 
void setLoTerminatorPowerToPreset ()
 Set the LO terminator power level to preset value. More...
 
void setTuner (::CORBA::ULong position)
 
void setYigFrequency (::CORBA::Double yigFreq)
 Set the yig frequency and lock. More...
 
YigPll::LockResultType setYigFrequencyAndWaitForLockOrTimeout (::CORBA::Double yigFreq)
 Set Yig frequency and wait for either lock or timeout. More...
 
void setYigOutputFrequency (::CORBA::Double freq)
 
void toggleSweep (::CORBA::Boolean on)
 
void toggleYigSweep (::CORBA::Boolean on)
 
void turnGunn (carma::antenna::common::SwitchState state)
 
void turnIfMonitor (carma::antenna::common::SwitchState state)
 

Static Public Member Functions

static bool yigFreqOutOfRange (::CORBA::Double yigFreq)
 Verify that yig frequency is in range. More...
 

Detailed Description

LOControlImpl Corba control class.

This class delegates Corba control commands to Ovro antenna CANbus device classes. The delegation allows for a level of indirection which will make changing the underlying communications mechanism much easier if and when we determine it is necessary.

Definition at line 44 of file LOControlImpl.h.

Constructor & Destructor Documentation

carma::antenna::ovro::LOControlImpl::LOControlImpl ( YigPll yig,
GunnPll gunn,
carma::antenna::common::Varactor varactor,
carma::antenna::common::LOReferenceMonitor loref,
carma::antenna::common::RxControl::Type  type 
)

Constructor.

Parameters
yigReference to YigPll CAN Device class.
gunnReference to GunnPll CAN Device class.
typeReceiver type we are instantiating.

Member Function Documentation

bool carma::antenna::ovro::LOControlImpl::loFreqOutOfRange ( ::CORBA::Double  loFreq)

Verify that lo frequency is in range.

Parameters
loFreqFrequency to verify.
Returns
true if valid, false if out of range.
void carma::antenna::ovro::LOControlImpl::setLoFrequency ( ::CORBA::Double  Frequency)

Set the gunn LO frequency independent of the YIG.

Parameters
FrequencyLO frequency in GHz.
Exceptions
carma::util::UserException
void carma::antenna::ovro::LOControlImpl::setLoTerminatorPowerLevel ( ::CORBA::Double  power)

Set the LO terminator power level to requested value.

void carma::antenna::ovro::LOControlImpl::setLoTerminatorPowerToPreset ( )

Set the LO terminator power level to preset value.

void carma::antenna::ovro::LOControlImpl::setYigFrequency ( ::CORBA::Double  yigFreq)

Set the yig frequency and lock.

This method does NOT block while waiting for lock.

Parameters
yigFreqFrequency in GHz.
Exceptions
carma::util::UserException
YigPll::LockResultType carma::antenna::ovro::LOControlImpl::setYigFrequencyAndWaitForLockOrTimeout ( ::CORBA::Double  yigFreq)

Set Yig frequency and wait for either lock or timeout.

Parameters
yigFreqRequested YIG frequency in GHz.
Returns
Lock result.
static bool carma::antenna::ovro::LOControlImpl::yigFreqOutOfRange ( ::CORBA::Double  yigFreq)
static

Verify that yig frequency is in range.

Parameters
yigFreqFrequency to verify.
Returns
true if valid, false if out of range.

The documentation for this class was generated from the following file: