Commit f9202ea7 authored by TheDebbio's avatar TheDebbio
Browse files

vd ...

parent 01a6bc29
Loading
Loading
Loading
Loading
+79 −1
Original line number Diff line number Diff line
@@ -51,5 +51,83 @@
			        default_timer_trig="10"
			        min_timer_trig="1"
			/>	
			<Vd_1 description="drain voltage for IF1 LNA"
			      alarm_high_on="0.6"
			      alarm_low_on="0.4"
			      default_value="0.5"
			      alarm_high_off="0.55"
			      alarm_low_off="0.45"
			      alarm_timer_trig="10"
			      default_timer_trig="10"
			      min_timer_trig="1"
			      min_delta_trig="0.05"
			      units="Volts"
			      format="%5.2f"
			/>
			<Vd_2 description="drain voltage for IF2 LNA"
			      alarm_high_on="0.54"
			      alarm_low_on="0.36"
			      default_value="0.45"
			      alarm_high_off="0.495"
			      alarm_low_off="0.405"
			      alarm_timer_trig="10"
			      default_timer_trig="10"
			      min_timer_trig="1"
			      min_delta_trig="0.05"
			      units="Volts"
			      format="%5.2f"
			/>
			<Id_1 description="drain current for IF1 LNA"
			      alarm_high_on="6.36"
			      alarm_low_on="4.24"
			      default_value="5.3"
			      alarm_high_off="5.83"
			      alarm_low_off="4.77"
			      alarm_timer_trig="10"
			      default_timer_trig="10"
			      min_timer_trig="1"
			      min_delta_trig="0.1"
			      units="mA"
			      format="%5.1f"			
			/>
			<Id_2 description="drain current for IF2 LNA"
			      alarm_high_on="11.88"
			      alarm_low_on="7.92"
			      default_value="9.9"
			      alarm_high_off="10.89"
			      alarm_low_off="8.91"
			      alarm_timer_trig="10"
			      default_timer_trig="10"
			      min_timer_trig="1"
			      min_delta_trig="0.1"
			      units="mA"
			      format="%5.1f"						
			/>
			<Vg_1 description="gate voltage for IF1 LNA"
			      alarm_high_on="-1.664"
			      alarm_low_on="-2.496"
			      default_value="-2.08"
			      alarm_high_off="-1.872"
			      alarm_low_off="-2.288"
			      alarm_timer_trig="10"
			      default_timer_trig="10"
			      min_timer_trig="1"
			      min_delta_trig="0.01"
			      units="Volts"
			      format="%6.3f"			
			/>
			<Vg_2 description="gate voltage for IF2 LNA"
			      alarm_high_on="-1.488"
			      alarm_low_on="-2.232"
			      default_value="-1.86"
			      alarm_high_off="-1.624"
			      alarm_low_off="-2.046"
			      alarm_timer_trig="10"
			      default_timer_trig="10"
			      min_timer_trig="1"
			      min_delta_trig="0.01"
			      units="Volts"
			      format="%6.3f"						
			/>			
			<receiverStatus description="Overall status of the receiver"/>
</MedicinaCBand>
+12 −0
Original line number Diff line number Diff line
@@ -55,6 +55,18 @@
			<xs:element name="vacuum" type="baci:ROdouble"/>
			<!-- Subsystem status -->
			<xs:element name="status" type="MedicinaCBandStatusType" />	
			<!-- Drain voltage for IF1 (ROdouble) -->
			<xs:element name="Vd_1" type="baci:ROdouble"/>
			<!-- Drain voltage for IF2 (ROdouble) -->
			<xs:element name="Vd_2" type="baci:ROdouble"/>
			<!-- Drain current for IF1 (ROdouble) -->
			<xs:element name="Id_1" type="baci:ROdouble"/>
			<!-- Drain current for IF2 (ROdouble) -->
			<xs:element name="Id_2" type="baci:ROdouble"/>
			<!-- Gate voltage for IF1 (ROdouble) -->
			<xs:element name="Vg_1" type="baci:ROdouble"/>
			<!-- Gate voltage for IF2 (ROdouble) -->
			<xs:element name="Vg_2" type="baci:ROdouble"/>
			<xs:element name="receiverStatus" type="mng:SystemStatusType" />
		</xs:sequence>
		<xs:attribute name="DewarIPAddress" type="xs:string" use="required"/>
+6 −1
Original line number Diff line number Diff line
@@ -55,7 +55,12 @@ public:
	*/
	CORBA::Double read(ACS::Time& timestamp) throw (ACSErr::ACSbaseExImpl)
	{
		try{
			m_val=m_pCore->getFetValue(m_control,m_ifs);
		} catch (...) {
      timestamp=getTimeStamp();  //Completion time
      return -1.0;  
    }
		timestamp=getTimeStamp();  //Completion time
		return m_val;
	}
+9 −1
Original line number Diff line number Diff line
@@ -93,12 +93,14 @@ void MedicinaCBandImpl::execute() throw (ACSErr::ACSbaseExImpl)
		_EXCPT(ComponentErrors::MemoryAllocationExImpl,dummy,"MedicinaCBandImpl::initialize()");
		throw dummy;
	}

	MED_TRACE();
	// write some fixed values
	m_pfeeds->getDevIO()->write(m_core.getFeeds(),timestamp);
	m_pIFs->getDevIO()->write(m_core.getIFs(),timestamp);
	m_core.setVacuumDefault(m_pvacuum->default_value());
	
	MED_TRACE();

	CComponentCore *temp=&m_core;
	try {
		m_monitor=getContainerServices()->getThreadManager()->create<CMonitorThread,CComponentCore*> (
@@ -110,9 +112,15 @@ void MedicinaCBandImpl::execute() throw (ACSErr::ACSbaseExImpl)
	}
	catch (...) {
		_THROW_EXCPT(ComponentErrors::UnexpectedExImpl,"MedicinaCBandImpl::execute()");

	}
	MED_TRACE();
	
	m_monitor->setLNASamplingTime(config->getLNASamplingTime());
	m_monitor->resume();

	MED_TRACE();

	ACS_LOG(LM_FULL_INFO,"MedicinaCBandImpl::execute()",(LM_INFO,"WATCH_DOG_SPAWNED"));
	try {
		startPropertiesMonitoring();