Commit 14247a7c authored by LorenzoMonti's avatar LorenzoMonti
Browse files

SRTWBandReceiver beta component

parent 8ef8208b
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
<?xml version='1.0' encoding='ISO-8859-1'?>
<!--
   - Author: Lorenzo Monti
-->
<Component xmlns="urn:schemas-cosylab-com:Component:1.0" 
           xmlns:baci="urn:schemas-cosylab-com:BACI:1.0"
           xmlns:cdb="urn:schemas-cosylab-com:CDB:1.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              
	Name="WBandReceiver"
	Code="SRTWBandReceiverImpl"
	Type="IDL:alma/Receivers/SRTWBand:1.0"
	Container="SRTWBandContainer"
	KeepAliveTime="-1"
	Default="false"
    ImplLang="cpp"
/>
+35 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!-- 
 *  Author
 *  =================
 *  Name: Lorenzo Monti
-->
<Container xmlns="urn:schemas-cosylab-com:Container:1.0"
           xmlns:cdb="urn:schemas-cosylab-com:CDB:1.0" 
           xmlns:baci="urn:schemas-cosylab-com:BACI:1.0" 
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
           xmlns:log="urn:schemas-cosylab-com:LoggingConfig:1.0" 
           Timeout="30.0"
           UseIFR="true"
           ManagerRetry="10"
           ImplLang="cpp"
           Recovery="false">

    <Autoload>
        <cdb:e string="baci" />
    </Autoload>

    <LoggingConfig 
		centralizedLogger="Log"
		minLogLevel="5"
		minLogLevelLocal="5"
		dispatchPacketSize="0"
		immediateDispatchLevel="8"
		flushPeriodSeconds="1"
	>
    </LoggingConfig>

</Container>


+46 −0
Original line number Diff line number Diff line
<?xml version='1.0' encoding='ISO-8859-1'?>
<!-- 
 *  Authors Info
 *  ============
 *  Name:         Lorenzo Monti
 *  E-mail:       lorenzo.monti@inaf.it
-->

<SRTWBandReceiver
    xmlns="urn:schemas-cosylab-com:SRTWBandReceiver:1.0" 
    xmlns:baci="urn:schemas-cosylab-com:BACI:1.0" 
    xmlns:cdb="urn:schemas-cosylab-com:CDB:1.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    actionThreadStackSize="2048"
    monitoringThreadStackSize="4096"
    WLOAddress="127.0.0.1"
    WLOPort="12703"
    WSwitchMatrixAddress="127.0.0.1"
    SwitchMatrixPort="13200"      
    WCALAddress="127.0.0.1"
    WCALPort="13100"
    ControlSocketResponseTime="1000000"
    WatchDogResponseTime="10000000"
    WatchDogSleepTime="10000000"
    RepetitionCacheTime="7000000"
    RepetitionExpireTime="10000000"
    ReceiverName="SRTWBand"
>

    <WLOAddress description="IP Address of Local Oscillator" />
    <WLOPort description="Port of Local Oscillator" />

    <WSwitchMatrixAddress description="IP Address of Switch Matrix" />
    <SwitchMatrixPort description="Port of Switch Matrix" />

    <WCALAddress description="IP Address of Solar Attenuator" />
    <WCALPort description="Port of Solar Attenuator" />

    <ControlSocketResponseTime description="This time is the maximum allowed time to the control socket to respond" />
    <WatchDogResponseTime description="Overall status of the receiver"/>
    <WatchDogSleepTime description="Overall status of the receiver"/>
    <RepetitionCacheTime description="Overall status of the receiver"/>
    <RepetitionExpireTime description="Overall status of the receiver"/>
    <receiverName description="ReceiverName"/>

</SRTWBandReceiver>
+78 −0
Original line number Diff line number Diff line
#ifndef ___SRTWBAND_IDL__
#define ___SRTWBAND_IDL__


#include <baci.idl>
#include <ComponentErrors.idl>
#include "GenericReceiver.idl"
#include <ManagmentDefinitions.idl>

#pragma prefix "alma"

module Receivers {

    /**
    * This module defines the interface of the W bands receiver installed in the SRT.
    * @author <a href=mailto:lorenzo.monti@inaf.it>Lorenzo Monti</a>
    * <br>
    * @copybrief Receivers::Receiver::status
    * the single bits of the status word assumed the following meaning:
    * @arg \c 0 LOCAL, set if the receiver is in remote and can be controlled remotely, error
    * @arg \c 1 VACUUMSENSOR, set if the vacuum sensor is turned on, status
    * @arg \c 2 VACUUMPUMPSTATUS, set if the vacuum pump is on, status
    * @arg \c 3 VACUUMPUMPFAULT, set if the vacuum pump is in fault state, warning
    * @arg \c 4 VACUUMVALVEOPEN, set if the vacuum valve i sopen, status
    * @arg \c 5 COOLHEADON, set if the cool head is turned on, status
    * @arg \c 6 COMPRESSORFAULT, set if the compressor is in fault state is turned on, error
    * @arg \c 7 NOISEMARK, set is the calibration diode is on, status
    * @arg \c 8 NOISEMARKERROR, set if the calibration mark should be and it is not, or viceversa, error
    * @arg \c 9 EXTNOISEMARK, set if the control of the calibration diode from external source is enabled, status
    * @arg \c 10 CONNECTIONERROR, set if an error was found during the comunication from/to the receiver, error
    * @arg \c 11 UNLOCKED, set if at least one of the local oscillator is not locked, error
    * @copybrief Receivers::CommonReceiverInterface::setLO 
    */
    interface SRTWBand : ACS::CharacteristicComponent, Receiver {

        /***************************************************\
         *           COMMON_RECEIVER_INTERFACE             *
        \***************************************************/
        // void setMode(in string mode) raises (ReceiversErrors::ConfigurationEx);
        // readonly attribute ACS::ROdoubleSeq LO;
        // readonly attribute ACS::ROlong feeds;
        // readonly attribute ACS::ROlong IFs;
        // readonly attribute ACS::ROlongSeq polarization;
        // readonly attribute ACS::ROdoubleSeq initialFrequency;
        // readonly attribute ACS::ROdoubleSeq bandWidth;
        // readonly attribute ACS::ROstring mode;     
        // void calOn();
        // void calOff();
        // void setLO(in ACS::doubleSeq lo1);
        // ACS::doubleSeq getCalibrationMark(...)
        // long getFeeds(out ACS::doubleSeq X,out ACS::doubleSeq Y,out ACS::doubleSeq power);
        // double getTaper(in double freq,in double bandWidth,in long feed,in long ifNumber,out double waveLen)
        
        // readonly attribute ACS::ROstring WLOAddress;
        // readonly attribute ACS::ROlong WLOPort;
        // readonly attribute ACS::ROstring WSwitchMatrixAddress;
        // readonly attribute ACS::ROlong SwitchMatrixPort;
        // readonly attribute ACS::ROstring WCALAddress;
        // readonly attribute ACS::ROlong WCALPort;
        // readonly attribute ACS::ROlong ControlSocketResponseTime;


        /***************************************************\
         *           GENERIC_RECEIVER_INTERFACE            *
        \***************************************************/
        // readonly attribute ACS::ROdouble vacuum;
        // readonly attribute ACS::ROpattern status;
        // readonly attribute Management::ROTSystemStatus receiverStatus;
        // void turnLNAsOn();
        // void turnLNAsOff();
        // void activate();

         
    };

};

#endif
+1 −0
Original line number Diff line number Diff line
"@(#) $Id$"
Loading