Loading Medicina/Servers/MedicinaCBand/src/ComponentCore.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,14 @@ void CComponentCore::activate(const char *mode) throw (ReceiversErrors::ModeErro MED_TRACE_FMT("Polar. len %d\n",l_setup.m_polarizations.size()); MED_TRACE_FMT("Default LO len %d\n",l_setup.m_defaultLO.size()); if( l_setup.m_defaultLO.size() != 0){ MED_TRACE_FMT("Default LO[0] %f\n",l_setup.m_defaultLO[0]); } if( l_setup.m_fixedLO2.size() != 0){ MED_TRACE_FMT("Fixed LO2[0] %f\n",l_setup.m_fixedLO2[0]); } try{ for (WORD i=0; i < l_setup.m_IFs; i++) { MED_TRACE_MSG(" SET PARAMS IF "); Loading Medicina/Servers/MedicinaCBand/src/MixerOperator.cpp +3 −8 Original line number Diff line number Diff line Loading @@ -154,14 +154,9 @@ bool MixerOperator::setValue(double p_value) MED_TRACE_MSG(" calculate value "); // LO2 specs fiex freq, get the freq, get the power size_lo2= m_configuration->getSynthesizerTable("LO2", freq_lo2, power_lo2); if (size_lo2 != 1){ if (size_lo2 < 1 ){ _EXCPT(ComponentErrors::ValueOutofRangeExImpl,impl,"MixerOperator::setLO"); impl.setValueName("local oscillator 2 expecting only one configuration for freq/power value"); throw impl; } if (l_setup.m_fixedLO2[0] != power_lo2[0]){ _EXCPT(ComponentErrors::ValueOutofRangeExImpl,impl,"MixerOperator::setLO"); impl.setValueName("local oscillator 2 conf table freq not matching expencting fixed frequency (2300MHz)"); impl.setValueName("local oscillator 2 expecting at least one configuration for freq/power value"); throw impl; } amp_lo2= power_lo2[0]; Loading Medicina/Servers/MedicinaCBand/src/Configuration.cpp +1 −1 File changed.Contains only whitespace changes. Show changes Loading
Medicina/Servers/MedicinaCBand/src/ComponentCore.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,14 @@ void CComponentCore::activate(const char *mode) throw (ReceiversErrors::ModeErro MED_TRACE_FMT("Polar. len %d\n",l_setup.m_polarizations.size()); MED_TRACE_FMT("Default LO len %d\n",l_setup.m_defaultLO.size()); if( l_setup.m_defaultLO.size() != 0){ MED_TRACE_FMT("Default LO[0] %f\n",l_setup.m_defaultLO[0]); } if( l_setup.m_fixedLO2.size() != 0){ MED_TRACE_FMT("Fixed LO2[0] %f\n",l_setup.m_fixedLO2[0]); } try{ for (WORD i=0; i < l_setup.m_IFs; i++) { MED_TRACE_MSG(" SET PARAMS IF "); Loading
Medicina/Servers/MedicinaCBand/src/MixerOperator.cpp +3 −8 Original line number Diff line number Diff line Loading @@ -154,14 +154,9 @@ bool MixerOperator::setValue(double p_value) MED_TRACE_MSG(" calculate value "); // LO2 specs fiex freq, get the freq, get the power size_lo2= m_configuration->getSynthesizerTable("LO2", freq_lo2, power_lo2); if (size_lo2 != 1){ if (size_lo2 < 1 ){ _EXCPT(ComponentErrors::ValueOutofRangeExImpl,impl,"MixerOperator::setLO"); impl.setValueName("local oscillator 2 expecting only one configuration for freq/power value"); throw impl; } if (l_setup.m_fixedLO2[0] != power_lo2[0]){ _EXCPT(ComponentErrors::ValueOutofRangeExImpl,impl,"MixerOperator::setLO"); impl.setValueName("local oscillator 2 conf table freq not matching expencting fixed frequency (2300MHz)"); impl.setValueName("local oscillator 2 expecting at least one configuration for freq/power value"); throw impl; } amp_lo2= power_lo2[0]; Loading
Medicina/Servers/MedicinaCBand/src/Configuration.cpp +1 −1 File changed.Contains only whitespace changes. Show changes