Unverified Commit 9796f3db authored by Andrea Orlati's avatar Andrea Orlati Committed by GitHub
Browse files

fix issue #716: the noise diode is now fired by calmux also for CHC and CC...

fix issue #716: the noise diode is now fired by calmux also for CHC and CC receivers in Medicina. Also some small fixes (#717)

to disable, for the moment, subreflector control.
parent 5cbd0a53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -351,7 +351,7 @@ private:
	ACS::Time m_feedsEpoch;
	ACS::Time m_IFsEpoch;
	ACS::Time m_modeEpoch;
	Backends::CalMux_proxy m_xalMux_proxy;
	Backends::CalMux_proxy m_calMux_proxy;

#elif COMPILE_TARGET_NT

+3 −1
Original line number Diff line number Diff line
@@ -59,7 +59,9 @@ ifeq ($(STATION),Noto)
				      bulkDataCallback bulkDataSenderStubs DiscosVersion
else
	ReceiversBossImpl_LIBS      = IRALibrary ComponentErrors CommonReceiverInterfaceStubs ReceiversBossStubs ReceiversDefinitionsStubs AntennaDefinitionsStubs GenericReceiverStubs \
				      DewarPositionerStubs ManagmentDefinitionsStubs DewarPositionerDefinitionsStubs ManagementErrors ParserErrors ReceiversErrors acsnc DiscosVersion
				      DewarPositionerStubs ManagmentDefinitionsStubs DewarPositionerDefinitionsStubs ManagementErrors ParserErrors ReceiversErrors acsnc DiscosVersion \
				      CalDiodeControllerStubs CalMuxStubs

endif

#
+6 −6
Original line number Diff line number Diff line
@@ -101,15 +101,15 @@ void CRecvBossCore::calOn() throw (ComponentErrors::ValidationErrorExImpl,Compon
			throw impl;
		}
	}
	else if ((m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")){
/*	else if ((m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")){
		char buffer [14] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','n','\n' };
		if (!sendToRecvControl((const void *)buffer,14)) {
			_EXCPT(ComponentErrors::SocketErrorExImpl,impl,"CRecvBossCore::calOn()");
			m_status=Management::MNG_FAILURE;
			throw impl;
		}
	}
	else if (m_currentRecvCode=="XXP") {
	}*/
	else if ((m_currentRecvCode=="XXP") || (m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")) {
		m_calMux_proxy->calOn();
		// turn the marca on through the FS
		/*IRA::CString fsBuffer("calon\n");
@@ -166,15 +166,15 @@ void CRecvBossCore::calOff() throw (ComponentErrors::ValidationErrorExImpl,Compo
			throw impl;
		}
	}
	else if ((m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")) {
	/*else if ((m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")) {
		char buffer [15] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','f','f','\n' };
		if (!sendToRecvControl((const void *)buffer,15)) {
			_EXCPT(ComponentErrors::SocketErrorExImpl,impl,"CRecvBossCore::calOff()");
			m_status=Management::MNG_FAILURE;
			throw impl;
		}
	}
	else if (m_currentRecvCode=="XXP") {
	}*/
	else if ((m_currentRecvCode=="XXP") || (m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")) {
		// turn the marca on through thr FS
		/*IRA::CString fsBuffer("caloff\n");
		if (!sendToFS((const void *)fsBuffer,fsBuffer.GetLength())) {
+1 −1
Original line number Diff line number Diff line
@@ -15,5 +15,5 @@
    Container="PyCalmuxContainer"
    ImplLang="py"
    KeepAliveTime="-1"
    Default="false"
    Default="true"
/>
+1 −1
Original line number Diff line number Diff line
@@ -15,5 +15,5 @@
    Container="PyCalmuxContainer"
    ImplLang="py"
    KeepAliveTime="-1"
    Default="false"
    Default="true"
/>
Loading