Loading Medicina/Servers/MedicinaCBand/include/MixerOperator.h +8 −2 Original line number Diff line number Diff line Loading @@ -81,11 +81,17 @@ class MixerOperator{ ReceiversErrors::LocalOscillatorErrorExImpl); /** * @brief Get the equivalent LO value * @return double LO value * @brief Get the LO1 value * @return double LO1 value */ double getValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl); /** * @brief Get Effective LO chain value * @return effective LO value */ double getEffectiveValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl); /** * @brief Resurce lock check * Loading Medicina/Servers/MedicinaCBand/src/ComponentCore.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -765,7 +765,7 @@ void CComponentCore::getIFOutput( freqs[i] = m_startFreq[ifs[i]]; bw[i] = m_bandwidth[ifs[i]]; pols[i] = m_polarization[ifs[i]]; LO[i] = m_mixer.getValue(); LO[i] = m_mixer.getEffectiveValue(); } } Loading Medicina/Servers/MedicinaCBand/src/MixerOperator.cpp +24 −3 Original line number Diff line number Diff line Loading @@ -182,6 +182,27 @@ bool MixerOperator::setValue(const ACS::doubleSeq& p_values) } double MixerOperator::getValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl) { double l_power; double l_freq; if( CORBA::is_nil(m_loDev_1st)){ ACS_LOG(LM_FULL_INFO,"MixerOperator::getValue()",(LM_INFO,"LO is null!")); return 0.0; } try{ #ifndef EXCLUDE_MIXER m_loDev_1st->get(l_power, l_freq); #else return 0.0; #endif } catch (ReceiversErrors::ReceiversErrorsEx& ex) { _EXCPT(ReceiversErrors::LocalOscillatorErrorExImpl,impl,"MixerOperator::setLO()"); throw impl; } return l_freq; } double MixerOperator::getEffectiveValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl) { double l_power; double l_freq; Loading Loading
Medicina/Servers/MedicinaCBand/include/MixerOperator.h +8 −2 Original line number Diff line number Diff line Loading @@ -81,11 +81,17 @@ class MixerOperator{ ReceiversErrors::LocalOscillatorErrorExImpl); /** * @brief Get the equivalent LO value * @return double LO value * @brief Get the LO1 value * @return double LO1 value */ double getValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl); /** * @brief Get Effective LO chain value * @return effective LO value */ double getEffectiveValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl); /** * @brief Resurce lock check * Loading
Medicina/Servers/MedicinaCBand/src/ComponentCore.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -765,7 +765,7 @@ void CComponentCore::getIFOutput( freqs[i] = m_startFreq[ifs[i]]; bw[i] = m_bandwidth[ifs[i]]; pols[i] = m_polarization[ifs[i]]; LO[i] = m_mixer.getValue(); LO[i] = m_mixer.getEffectiveValue(); } } Loading
Medicina/Servers/MedicinaCBand/src/MixerOperator.cpp +24 −3 Original line number Diff line number Diff line Loading @@ -182,6 +182,27 @@ bool MixerOperator::setValue(const ACS::doubleSeq& p_values) } double MixerOperator::getValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl) { double l_power; double l_freq; if( CORBA::is_nil(m_loDev_1st)){ ACS_LOG(LM_FULL_INFO,"MixerOperator::getValue()",(LM_INFO,"LO is null!")); return 0.0; } try{ #ifndef EXCLUDE_MIXER m_loDev_1st->get(l_power, l_freq); #else return 0.0; #endif } catch (ReceiversErrors::ReceiversErrorsEx& ex) { _EXCPT(ReceiversErrors::LocalOscillatorErrorExImpl,impl,"MixerOperator::setLO()"); throw impl; } return l_freq; } double MixerOperator::getEffectiveValue() throw (ReceiversErrors::LocalOscillatorErrorExImpl) { double l_power; double l_freq; Loading