11 #ifndef CARMA_ANTENNA_OVRO_GUNNPLL_H
12 #define CARMA_ANTENNA_OVRO_GUNNPLL_H
26 class StateMonitorPointEnum;
47 carma::monitor::OvroSubsystem & subsys );
159 void setTuner(
unsigned long pos)
const;
177 void jogTuner(
short microsteps)
const;
225 ::carma::monitor::StateMonitorPointEnum * state_;
226 ::carma::monitor::GunnPll * mon_;
227 ::carma::monitor::Xac * xacMon_;
228 ::log4cpp::Category & log_;
void jogAttenuator(short microsteps) const
Move the attenuator by a given number of microsteps.
void setTuner(unsigned long pos) const
Move the Gunn tunder to a given position.
carma::canbus::Message simulateMsg(carma::canbus::msgType mid)
Produce a simulated CAN message for a given msgType.
void toggleSweep(bool on) const
Turn phase-lock loop sweep on or off.
::std::map< ::carma::canbus::msgType,::std::string > MsgIdInfoMap
Alias for an ::std::map containing a string description of a message id, keyed by the described carma...
void processMsg(::carma::canbus::msgType mid,::carma::canbus::DataVector &data, bool sim)
Process a CAN message addressed to this module.
Class to encapsulate a CAN message.
carma::canbus::MsgIdInfoMap getHalfSecMonitors() const
Retrieve a map of this devices half second monitor points.
void setAttenuator(unsigned long pos) const
Move the LO attenuator to a given position.
XacDevice canbus::device class implementation.
void setBackshort(unsigned long pos) const
Move the Gunn backshort to a given position.
void disableAllGunns() const
Disable all Gunn modules.
virtual ~GunnPll()
Destructor.
unsigned short nodeType
Carma Node Type id type.
void jogTuner(short microsteps) const
Move the tuner by a given number of microsteps.
::std::vector< ::carma::canbus::byteType > DataVector
Alias for CAN data.
void setLoFrequency(double freq) const
Set the LO frequency and start the lock sequence.
void enableIfMonitorOutput(bool on) const
Turn phase-lock IF monitor output on or off.
void jogBackshort(short microsteps) const
Move the backshort by a given number of microsteps.
carma::canbus::devices::XacDevice class declaration.
GunnPll CAN device class.
unsigned short msgType
Carma Message id type.
void setGunnOperatingVoltage(float voltage) const
Set nominal bias voltage for the Gunn.
GunnPll(carma::canbus::nodeType node, carma::canbus::CanOutput &co, carma::monitor::OvroSubsystem &subsys)
Constructor.
carma::canbus::MsgIdInfoMap getSlowMonitors() const
Retrieve a map of this devices sow (5 second) monitor points.
void enableGunn(bool on) const
Turn Gunn on or off.
void updateFrameData()
Update Frame Data.
void setLoopGain(float gain) const
Set the loop gain for the phase-lock loop.