Commit c16183b1 authored by SRT Operator's avatar SRT Operator
Browse files

new noData flag inside TMainHeader Backend structure

parent dc8b35ac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,9 +13,9 @@ log_component = client.getComponent(comp_name = "MANAGEMENT/CustomLogger",
                                    comp_idl_type = "IDL:alma/Management/CustomLogger:1.0",
                                    container_name = "LoggerContainer")
try:
    log_component.emitLog(MALFORMED_XML_STRING, Management.C_INFO)
    log_component.emitLog(MALFORMED_XML_STRING, Management.C_NOTICE)
except KeyboardInterrupt:
    log_component.emitLog("malformed logging ends", Management.C_INFO)
    log_component.emitLog("malformed logging ends", Management.C_NOTICE)
finally:
    client.releaseComponent("MANAGEMENT/CustomLogger")
+1 −0
Original line number Diff line number Diff line
@@ -1244,6 +1244,7 @@ void CCommandLine::fillMainHeader(Backends::TMainHeader& bkd)
	bkd.integration=intTime;
	//bkd.integration=m_integration;
	bkd.sampleSize=m_sampleSize;
	bkd.noData=true;
}

void CCommandLine::fillChannelHeader(Backends::TSectionHeader *chHr,const long& size)
+1 −1
Original line number Diff line number Diff line
@@ -1239,7 +1239,7 @@ void CCommandLine::fillMainHeader(Backends::TMainHeader& bkd)
	bkd.integration=intTime;
	//bkd.integration=m_integration;
	bkd.sampleSize=m_sampleSize;
	bkd.noData=true;
	bkd.noData=false;
}

void CCommandLine::fillChannelHeader(Backends::TSectionHeader *chHr,const long& size)
+2 −1
Original line number Diff line number Diff line
@@ -889,6 +889,7 @@ void CCommandLine::fillMainHeader(Backends::TMainHeader& bkd)
	//bkd.integration=groupSpec->Xspec.GetTempoIntegrazione();
	bkd.integration=(groupSpec->Xspec.GetTempoIntegrazione())*1000; //integration time value in msec into the fits header
	bkd.sampleSize=SAMPLESIZE;
	bkd.noData=false;
	ACS_LOG(LM_FULL_INFO,"CCommandLine::fillMainHeader",(LM_INFO,"Main_OK"));
}