Commit db206938 authored by Carlo Migoni's avatar Carlo Migoni
Browse files

integration time is now in msec into the fits header and when is returned using DevIO property

parent 22ef6ebe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -65,7 +65,8 @@ public:
		try {
			long val;
			line->getIntegration(val);
			m_val=(CORBA::Long)val;
			//m_val=(CORBA::Long)val;
			m_val=((CORBA::Long)val)*1000; // msec
		}
		catch (ACSErr::ACSbaseExImpl& E) {
			_ADD_BACKTRACE(ComponentErrors::PropertyErrorExImpl,dummy,E,"DevIOIntegration::read()");
+2 −1
Original line number Diff line number Diff line
@@ -881,7 +881,8 @@ void CCommandLine::fillMainHeader(Backends::TMainHeader& bkd)
	bkd.sections=groupSpec->section;//m_sectionsNumber
	ACS_DEBUG_PARAM("CCommandLine::fillMainHeader()","section: %i",groupSpec->section);
	bkd.beams=m_beams;
	bkd.integration=groupSpec->Xspec.GetTempoIntegrazione();
	//bkd.integration=groupSpec->Xspec.GetTempoIntegrazione();
	bkd.integration=(groupSpec->Xspec.GetTempoIntegrazione())*1000; //integration time value in msec into the fits header
	bkd.sampleSize=SAMPLESIZE;	
	ACS_LOG(LM_FULL_INFO,"CCommandLine::fillMainHeader",(LM_INFO,"Main_OK"));
}