Commit e57d9e6e authored by Andrea Orlat's avatar Andrea Orlat
Browse files

added some debugging information in order to track down the schedule problem related to noData Fits

parent 4397b1ea
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -385,6 +385,10 @@ bool CDataCollection::setSubScanSetup(const Management::TSubScanSetup& setup,boo
	if (m_start && m_running) {
		recording=true;
		inconsistent=false;
		/////*****************************************
		ACS_LOG(LM_FULL_INFO,"CDataCollection::setSubScanSetup()",(LM_WARNING,"RECORD_WHILE_RECORDING_REQUEST %d %d",m_start,m_running));
		ACS_LOG(LM_FULL_INFO,"CDataCollection::setSubScanSetup()",(LM_WARNING,"REQUESTED_START_TIME WAS %ld",setup.startUt));
		///**************************** DEBUGGING, Inserted to track the Problem with roach and nodata
		return false;
	}
	else {
@@ -407,6 +411,10 @@ bool CDataCollection::setSubScanSetup(const Management::TSubScanSetup& setup,boo
		else {
			recording=false;
			inconsistent=true;
			/////*****************************************
			ACS_LOG(LM_FULL_INFO,"CDataCollection::setSubScanSetup()",(LM_WARNING,"INCONSISTENT_REQUEST %d %d",m_start,m_running,m_scanHeader,m_subScanHeader));
			ACS_LOG(LM_FULL_INFO,"CDataCollection::setSubScanSetup()",(LM_WARNING,"REQUESTED_START_TIME WAS %ld",setup.startUt));
			///**************************** DEBUGGING, Inserted to track the Problem with roach and nodata
			return false;
		}
	}
+8 −0
Original line number Diff line number Diff line
@@ -529,6 +529,9 @@ void CEngineThread::runLoop()
					m_file<< (const char *) out;
				}
#else
				//*****************************************************************************************
				ACS_LOG(LM_FULL_INFO,"CEngineThread::runLoop()",(LM_NOTICE,"OUTPUT_FILE_CREATED_NOW"));
				//************************* ADDDED FOR DEBUGGING NoData/Roach Could be deleted ****************
				//get data from receivers boss
				if (m_summaryOpened) {
					collectReceiversData(m_summary->getFilePointer());
@@ -551,6 +554,11 @@ void CEngineThread::runLoop()
				}
				//get the data from the minor servo boss...if subsystem is enabled
				collectMinorServoData();

				//*****************************************************************************************
				ACS_LOG(LM_FULL_INFO,"CEngineThread::runLoop()",(LM_NOTICE,"DATA_COLLECTION_COMPLETED"));
				//************************* ADDDED FOR DEBUGGING NoData/Roach Could be deleted ****************

				// now creates the file, the tables and the headers
				Backends::TMainHeader mH=m_data->getMainHeader();
				Backends::TSectionHeader const *cH=m_data->getSectionHeader();