Loading Common/Servers/XBackend/src/CommandLine.cpp +21 −7 Original line number Diff line number Diff line Loading @@ -130,6 +130,9 @@ void CCommandLine::resumeDataAcquisition(const ACS::Time& startT) impl.setReason("transfer job cannot be resumed in present configuration"); throw impl; } m_pcontrolLoop->Init();//Configuro Specifiche nell'HW - TEST 10 aprile 2015 // check that the backend latency in preparing the data transfer is respected...... if (!checkConnection()) { _THROW_EXCPT(BackendsErrors::ConnectionExImpl,"CCommandLine::resumeDataAcquisition()"); Loading Loading @@ -1362,10 +1365,17 @@ AUTO_TRACE("CCommandLine::setMode8bit()"); void CCommandLine::setSection(const long& input,const double& freq,const double& bw, const long& feed,const long& pol, const double& sr,const long& bins) { setConfiguration(input,freq-ANALOG_FREQUENCY,bw,feed,pol,sr,bins);//Ricezione Specificha Nuova long fd; if (m_XarcosC == true) fd = 1; else fd = feed; setConfiguration(input,freq-ANALOG_FREQUENCY,bw,fd,pol,sr,bins);//Ricezione Specificha Nuova setAttenuation(input,-1); Init();//Configurazione nell'HW getConfiguration(); if (m_XarcosC == true) setFeedC(); } void CCommandLine::getTsys(ACS::doubleSeq& tsys) const Loading Loading @@ -1534,18 +1544,21 @@ void CCommandLine::setMode8bit(bool mode) } else return; if (mode){ m_mode8bit=true;/* m_mode8bit=true; #ifdef DOPPIO for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; m_adc[0]=m_adc[1]=m_adc[8]=m_adc[9]=false; #else for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; m_adc[0]=m_adc[1]=false; #endif */ #endif } else { m_mode8bit=false; //for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; } /* if(oldMode==false){//Check ChIn and Feed Loading @@ -1561,7 +1574,8 @@ void CCommandLine::setMode8bit(bool mode) m_feedNumber[i]=searchFeed(j); } } }*/ } */ //setDefaultConfiguration();//Aggiorno la configurazione nell'HW } Loading Loading
Common/Servers/XBackend/src/CommandLine.cpp +21 −7 Original line number Diff line number Diff line Loading @@ -130,6 +130,9 @@ void CCommandLine::resumeDataAcquisition(const ACS::Time& startT) impl.setReason("transfer job cannot be resumed in present configuration"); throw impl; } m_pcontrolLoop->Init();//Configuro Specifiche nell'HW - TEST 10 aprile 2015 // check that the backend latency in preparing the data transfer is respected...... if (!checkConnection()) { _THROW_EXCPT(BackendsErrors::ConnectionExImpl,"CCommandLine::resumeDataAcquisition()"); Loading Loading @@ -1362,10 +1365,17 @@ AUTO_TRACE("CCommandLine::setMode8bit()"); void CCommandLine::setSection(const long& input,const double& freq,const double& bw, const long& feed,const long& pol, const double& sr,const long& bins) { setConfiguration(input,freq-ANALOG_FREQUENCY,bw,feed,pol,sr,bins);//Ricezione Specificha Nuova long fd; if (m_XarcosC == true) fd = 1; else fd = feed; setConfiguration(input,freq-ANALOG_FREQUENCY,bw,fd,pol,sr,bins);//Ricezione Specificha Nuova setAttenuation(input,-1); Init();//Configurazione nell'HW getConfiguration(); if (m_XarcosC == true) setFeedC(); } void CCommandLine::getTsys(ACS::doubleSeq& tsys) const Loading Loading @@ -1534,18 +1544,21 @@ void CCommandLine::setMode8bit(bool mode) } else return; if (mode){ m_mode8bit=true;/* m_mode8bit=true; #ifdef DOPPIO for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; m_adc[0]=m_adc[1]=m_adc[8]=m_adc[9]=false; #else for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; m_adc[0]=m_adc[1]=false; #endif */ #endif } else { m_mode8bit=false; //for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; for( i=0;i<MAX_ADC_NUMBER;i++) m_adc[i]=true; } /* if(oldMode==false){//Check ChIn and Feed Loading @@ -1561,7 +1574,8 @@ void CCommandLine::setMode8bit(bool mode) m_feedNumber[i]=searchFeed(j); } } }*/ } */ //setDefaultConfiguration();//Aggiorno la configurazione nell'HW } Loading