Commit 6f4d0c75 authored by SRT Operator's avatar SRT Operator
Browse files

debugged XARCOS configurations

parent d34ac17d
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -29,26 +29,31 @@
			so in order to add a configuration a piece of code in the component shoud reflect the addition.
		</xs:documentation></xs:annotation>
		<xs:restriction base="xs:string">
	    	<xs:enumeration value="XK7">
	    	<xs:enumeration value="XK77">
				<xs:annotation><xs:documentation>
					the backend is connected to the 14 inputs of the secondary focus 22Ghz 7 feeds receiver 
				</xs:documentation></xs:annotation>	
	      	</xs:enumeration>
	    	<xs:enumeration value="XKR">
	    	<xs:enumeration value="XK06">
				<xs:annotation><xs:documentation>
					the backend is connected to the central beam and to the right lateral one 
				</xs:documentation></xs:annotation>	
	      	</xs:enumeration>
	    	<xs:enumeration value="XKL">
	    	<xs:enumeration value="XK03">
				<xs:annotation><xs:documentation>
					the backend is connected to the central beam and to the left lateral one
				</xs:documentation></xs:annotation>	
	      	</xs:enumeration>
	    	<xs:enumeration value="XC1">
	    	<xs:enumeration value="XC00">
				<xs:annotation><xs:documentation>
					the backend is connected to the 2 inputs of the monobeam C band receiver, LCP and RCP are reported respectively 
				</xs:documentation></xs:annotation>	
	      	</xs:enumeration>	      	
	    	<xs:enumeration value="NNNN">
				<xs:annotation><xs:documentation>
					dummy configuration
				</xs:documentation></xs:annotation>	
	      	</xs:enumeration>	      	
		</xs:restriction>
	</xs:simpleType>	
	
+22 −2
Original line number Diff line number Diff line
@@ -83,6 +83,11 @@ public:
	 */
	void getFrequency(ACS::doubleSeq& freq) const;
	
	/**
	 * Call this function in order to get the start frequency value for each input. 
	 */
	void getFrequencyAttr(ACS::doubleSeq& freq) const;
	
	/**
	 * Call this function in order to get the sample rate for each input. 
	 */	
@@ -102,11 +107,20 @@ public:
	 * Call this function in order to get the number of bins for each input. 
	 */	
	void getBins(ACS::longSeq& bins) const;

	/**
	 * Call this function in order to get the number of bins for each input. 
	 * Call this function in order to get the feed number for each input. 
	 */	
	void getFeed(ACS::longSeq& feed) const;	

	/**
	 * Call this function in order to get the feed number attribute for each input. 
	 */	
	void getFeedAttr(ACS::longSeq& feed) const;	
    
    void setFeedZero();
    void setFeedZeroUno();

	/**
	 * Call this function in order to get the polarization for each input. 
	 */	
@@ -163,6 +177,12 @@ public:
	 */
	void getBandWidth(ACS::doubleSeq& bw) const;
	
	/**
	 * Call this function in order to get the current band width of each input.
	 * @param bw this is a sequence of double values that correspond to the bandwidth of each analog input.
	 */
	void getBandWidthAttr(ACS::doubleSeq& bw) const;
	
	/**
	 * Call this function in order to get the time clock reported by the backend. 
	 * @param tt backend time, as numebr of 100 ns from 1582-10-15 00:00:00
@@ -579,7 +599,6 @@ private:
	*/
	void setStatus(TLineStatus sta);

    bool start;

	/**
	 * @return the current line status
@@ -613,6 +632,7 @@ public:
	bool m_XarcosC;
	bool m_XarcosK00;
	bool m_XarcosK77;
    bool start;
};

#endif /*_COMMANDLINE_H_*/
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ public:
		// get the CommandLine .......
		CSecAreaResourceWrapper<CCommandLine> line=m_pLink->Get();
		try {
			line->getBandWidth(m_val);
			line->getBandWidthAttr(m_val);
		}
		catch (ACSErr::ACSbaseExImpl& E) {
			_ADD_BACKTRACE(ComponentErrors::PropertyErrorExImpl,dummy,E,"DevIOBandWidth::read()");
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ public:
		// get the CommandLine .......
		CSecAreaResourceWrapper<CCommandLine> line=m_pLink->Get();
		try {
			line->getFeed(m_val);
			line->getFeedAttr(m_val);
		}
		catch (ACSErr::ACSbaseExImpl& E) {
			_ADD_BACKTRACE(ComponentErrors::PropertyErrorExImpl,dummy,E,"DevIOFeed::read()");
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public:
		// get the CommandLine .......
		CSecAreaResourceWrapper<CCommandLine> line=m_pLink->Get();
		try {
			line->getFrequency(m_val);
			line->getFrequencyAttr(m_val);
		}
		catch (ACSErr::ACSbaseExImpl& E) {
			_ADD_BACKTRACE(ComponentErrors::PropertyErrorExImpl,dummy,E,"DevIOFrequency::read()");
Loading