Commit 346bbde9 authored by TheDebbio's avatar TheDebbio
Browse files

fix core bandwith

parent 103d5dba
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -304,11 +304,10 @@ void CComponentCore::setLO(const ACS::doubleSeq& lo)
        return;
    }
    try{        
        for (WORD i=0; i < l_setup.m_IFs; i++) {
            m_bandwidth[i]= l_setup.m_RFMax[i]-( m_startFreq[i] + l_lo_value );
        m_bandwidth[0]= l_setup.m_RFMax[0]-( m_startFreq[0] + l_lo_value );
        // the if bandwidth could never be larger than the max IF bandwidth:
            if (m_bandwidth[i] > l_setup.m_IFBandwidth[i])
                m_bandwidth[i]= l_setup.m_IFBandwidth[i];
        if (m_bandwidth[0] > l_setup.m_IFBandwidth[0])
            m_bandwidth[0]= l_setup.m_IFBandwidth[0];
        }
    }catch(...){
        ACS_LOG(LM_FULL_INFO,"CComponentCore::setLO()",(LM_NOTICE,"Catch 4 !"));    
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ void MedicinaCBandImpl::execute() throw (ACSErr::ACSbaseExImpl)
	_IRA_LOGFILTER_ACTIVATE(config->getRepetitionCacheTime(),config->getRepetitionExpireTime());

	try {
		//m_plocalOscillator=new baci::ROdoubleSeq(getContainerServices()->getName()+":LO",getComponent(),new DevIOLocalOscillator(&m_core),true);
		m_plocalOscillator=new baci::ROdoubleSeq(getContainerServices()->getName()+":LO",getComponent(),new DevIOLocalOscillator(&m_core),true);
		m_ppolarization=new baci::ROlongSeq(getContainerServices()->getName()+":polarization",getComponent(),new DevIOPolarization(&m_core),true);
		m_pmode=new baci::ROstring(getContainerServices()->getName()+":mode",getComponent(),new DevIOMode(&m_core),true);
		m_pinitialFrequency=new baci::ROdoubleSeq(getContainerServices()->getName()+":initialFrequency",getComponent(),new DevIOInitialFrequency(&m_core),true);
+1 −1

File changed.

Contains only whitespace changes.