1 #ifndef CARMA_CONTROL_SUBARRAYCONTROL_IDL
2 #define CARMA_CONTROL_SUBARRAYCONTROL_IDL
18 #include "carma/antenna/common/CalibratorControl.idl"
20 #include "carma/antenna/common/PolarizationControl.idl"
22 #include "carma/antenna/common/SwitchState.idl"
28 #include "carma/control/SequenceTypedefs.idl"
41 const string SUBARRAY_CONTROL_NAME =
"carma.subarrayControl";
126 carma::monitor::TransportMonitorValue value;
130 typedef sequence<MonitorPointValue> SeqMonitorPointValue;
220 struct ComponentReady {
225 typedef ComponentReady AntennaReady;
226 typedef ComponentReady BandReady;
228 struct AddAntennaResult {
229 SeqShort actuallyAdded;
230 SeqShort alreadyInSubarray;
231 SeqShort ownedByOtherSubarrays;
234 struct RemoveAntennaResult {
303 string queryString(in
string monitorPointName)
318 double queryDouble(in
string monitorPointName)
333 long queryInt(in
string monitorPointName)
348 SeqFloat queryComplex(in
string monitorPointName)
363 boolean queryBool(in
string monitorPointName)
377 SeqMonitorPointValue queryMonitorPoint(in
SeqString monitorComponent)
388 void setMonitorPointReal(in
string name, in
double value)
397 void setMonitorPointInvalid(in
string name)
436 float queryMag(in
string starName)
446 void projectOscriptAdd( in
string project,
448 in
string subobsblock,
449 in
string scriptFile,
450 in
string catalogFile )
454 boolean projectEdit( in
string project,
456 in
string subobsblock,
463 short projectRun(in
string projectID, in
string obsblock,
464 in
string subObsblock, in
boolean isCommissioning,
465 in
boolean isDualCorr, in
string arrayConfig1,
466 in
string arrayConfig2,
467 in
string scriptFile, in
string catalogFile)
490 void pad(in
short padNo, in
short carmaAntNo)
504 void padOffset(in
float east, in
float north, in
float up,
521 void antennaOffset(in
float east, in
float north, in
float up,
545 PadOffsets convertBaseline(in
double x, in
double y, in
double z,
556 void setAntPosFilename( in
string filename )
568 void axisNonintersection(in
float offset,
578 void noiseSource(in
boolean state, in
boolean isReference)
593 void noiseAtten(in
unsigned short atten)
600 void quadmodAtten(in
unsigned short atten)
610 void delay(in
float offset, in
short carmaAntNo)
619 void adjustableDelay(in
float offset,
632 void delayDifference(in
float diff, in
short carmaAntNo,
648 double doppler(in
string source)
659 void antennaIFatten(in
double power, in
short ifNum,
661 in
boolean invalidateTsys )
670 void antennaIFpower(in
double power, in
SeqShort carmaAntNoSeq)
679 void antennaIFpresetPower(in
SeqShort carmaAntNoSeq)
688 void storeAntennaIFattenAmbient(in
SeqShort carmaAntNoSeq)
698 void psysPreset(in
SeqShort carmaAntNoSeq, in
short astroBandNo)
705 void psysLevel(in
double level)
735 void ifoutLevel(in
double level)
745 void rfPower(in
boolean state)
752 void setInitializationFlag(in
boolean state)
759 boolean getInitializationFlag()
770 void antennaInitialized(in
boolean state, in
SeqShort carmaAntNoSeq)
778 void recordPoint(in
short carmaAntNo)
786 AntennaAssignmentSeq getAntennaAssignments( )
803 AddAntennaResult addAntenna( in
SeqShort carmaAntNoSeq,
804 in
boolean skipAntsOwnedByOthers )
822 RemoveAntennaResult removeAntenna( in
SeqShort carmaAntNoSeq,
823 in
boolean skipAntsNotOwnedByMe )
832 void tilt(in
SeqShort carmaAntNoSeq)
840 void assignLO(in
long loRefNo)
885 void freq(in
double frest, in
SidebandType sb, in
double fif,
886 in
string doppler, in
string transition)
894 void qfreq(in
double frest, in
SidebandType sb, in
double fif,
895 in
string doppler, in
string transition)
907 void refreq(in
SeqShort carmaAntNoSeq, in
boolean retune)
915 void refAtten(in
unsigned short atten, in
short carmaAntNo)
931 void setConfigName(in
string name)
941 void setObsblock(in
string project, in
string obsblock,
942 in
string subObsblock, in
long trial)
956 void setAllObsblocks(in
string project1, in
string obsblock1,
957 in
string subObsblock1, in
long trial1,
958 in
string project2, in
string obsblock2,
959 in
string subObsblock2, in
long trial2 )
969 void project(in
string project)
981 void obsblock(in
string obsblock)
994 void subObsblock(in
string subObsblock)
1001 void trial(in
long number)
1008 void resetProjectAndObsblock( )
1047 void setConstraints (
1050 in
float calMaxTime,
1053 in
float maxRmsPathLength,
1056 in
float requiredRms
1063 void setDefaultConstraints ( )
1081 void setIntent(in
string sourceName, in
string purpose,
1082 in
boolean selfcal, in
boolean fastSwitch)
1094 boolean isCommissioning( in
string project )
1120 void elevLimit(in
float limit)
1134 string info(in
string sourceName)
1147 RaDecSeq getRaDec(in
string sourceName)
1160 AzElSeq azel(in
string sourceName, in
double minutes)
1170 boolean isUp(in
string sourceName)
1183 float whenDown(in
string sourceName)
1197 float whenUp(in
string sourceName)
1211 float whenTransit(in
string sourceName)
1238 string whazUpOptical()
1259 void integrate(in
double intTime, in
long numInts,
1260 in
double gap, in
boolean science)
1281 void fringeTracking(in
boolean on)
1291 void phaseSwitching(in
boolean on, in
short chanNo)
1301 void lrPhaseOffsetMode(in
boolean on)
1309 void lrPhase(in
float phaseOffset, in
short carmaAntNo)
1317 void lrRate(in
float phaseRate, in
short carmaAntNo)
1336 void tiltZeros(in
float aftForward, in
float leftRight, in
short carmaAntNo)
1352 void aperturePointingConstants(in
Aperture ap,
1353 in
float az, in
float el, in
float sag, in
short carmaAntNo)
1364 void phaseOffset(in
float phase, in
short bandNo,
1365 in
short antenna1No, in
short antenna2No)
1373 void applyTsys(in
boolean on)
1382 void applyFlux(in
boolean on)
1389 void applyFocus(in
boolean on)
1405 void setDecimationMode(in DecimationMode mode,
1406 in
unsigned short astrobandNo)
1425 in carma::antenna::common::RxControl::Pol_Type pol,
1426 in
float startVjInMv,
1427 in
float stopVjInMv,
1428 in
float stepVjInMv,
1429 in
unsigned short deltaInMs,
1430 in
boolean doTotalPower,
1492 void focusZ(in
float position, in
short carmaAntNo)
1500 void focusX(in
float position, in
short carmaAntNo)
1508 void focusY(in
float position, in
short carmaAntNo)
1537 void equatOffset( in
double dra,
1540 in
boolean affectPhaseCenter,
1541 in
boolean whileIntegrating)
1563 void phaseCenterOffset(in
double dra, in
double ddec)
1573 void passiveLO(in
double freq)
1662 void configAstroBand( in
short astrobandNo,
1663 in
string astroBandConf,
1668 in
double imagefrest,
1670 in
string transition, in
string imageTransition,
1679 void assertCorrelatorConfiguration()
1686 void clearAstroBand(in
short astrobandNo)
1696 void enableCorrelation( in
SeqShort bandNoSeq ,
1697 in
boolean correlationsEnabled )
1705 void astroBandOnline(in
short astrobandNo, in
boolean online)
1714 void optimizeThresholds( in
SeqShort bandNoSeq )
1723 void flattenPhases( in
SeqShort bandNoSeq )
1745 void calibrateSpectra( in
SeqShort bandNoSeq ,
1746 in
boolean noiseEnabled,
1761 boolean checkConfig(in
boolean quiet)
1773 in
boolean includeOfflineBands )
1787 double mjd(in
double seconds)
1834 void useAdjustableDelay( in
boolean useIt, in
SeqShort carmaAntNoSeq )
1847 void useIonosphericDelay( in
boolean useIt, in
SeqShort carmaAntNoSeq )
1861 void useGeometricDelay( in
boolean useIt, in
SeqShort carmaAntNoSeq )
1875 void useHeightDelay( in
boolean useIt, in
SeqShort carmaAntNoSeq)
1889 void useTroposphericDelay( in
boolean useIt, in
SeqShort carmaAntNoSeq )
1902 void useThermalDelay( in
boolean useIt, in
SeqShort carmaAntNoSeq )
1914 void sbratio(in
float ratio, in
SeqShort carmaAntNoSeq )
1927 void radioAperture(in
boolean useRadio, in
SeqShort carmaAntNoSeq)
1941 void jyperk(in
float gain, in
short carmaAntNo)
1961 void vj( in carma::antenna::common::RxControl::Pol_Type pol,
1963 in
short carmaAntNo )
1973 void ij( in carma::antenna::common::RxControl::Pol_Type pol,
1975 in
short carmaAntNo )
1982 AntennaReady bogus(in
float numSeconds)
1988 void testAntHandles( in
double aSeconds,
1991 in
double lateAfterSeconds,
2002 void setTraceLevel( in
short traceLevel )
2014 double lineFreq(in
string line)
2029 double transitionFreq(in
string molecule, in
string transition)
2039 void alarm(in
boolean state, in
string alarmName)
2048 void alarmEnable(in
boolean state)
2064 void alarm1mm(in
boolean state)
2075 void comment(in
string obsComment)
2081 void log(in
string entry)
2088 void logError(in
string entry)
2097 boolean getScriptBool(in
short index)
2107 void setScriptBool(in
short index, in
boolean value)
2116 double getScriptDouble(in
short index)
2126 void setScriptDouble(in
short index, in
double value)
2135 long getScriptInt(in
short index)
2145 void setScriptInt(in
short index, in
long value)
2154 string getScriptString(in
short index)
2164 void setScriptString(in
short index, in
string value)
2174 void appendScriptString(in
short index, in
string value)
2181 void addScriptHistory(in
string value)
2187 string getScriptHistory()
2193 boolean getScriptHistoryFull()
2206 void clearScriptAll()
2214 void setScriptName(in
string name)
2222 string getScriptName()
2244 void setFaultSystemDriveErrorPreference( in carma::fault::EffectPreference inPref )
2251 void disableFaultSystemAlarms( in
SeqString inMonitorPointNames )
2259 void restoreFaultSystemAlarms( in
SeqString inMonitorPointNames )
2266 void setFaultSystemAlarmEnableState( in
boolean inStateIsOn )
2274 void resetTimeSinceLastIntegration()
2285 void saveControlSubsystemState( in
string filename )
2300 void restoreControlSubsystemFromFile( in
string filename )
2312 void restorationInProgress( in
boolean restoring )
2321 void signalControlSubsystemRestored( )
2374 NearestInfoSeq getNearest( in
string source,
2375 in
float elMin, in
float elMax,
2379 in
boolean ignoreNorthSouth,
2383 in
float frequency )
2406 in
unsigned long type,
2407 in
unsigned short band,
2408 in
unsigned short input1,
2409 in
unsigned short input2)
2413 in
unsigned long type,
2414 in
unsigned short band,
2415 in
unsigned short input1,
2416 in
unsigned short input2)
2420 in
unsigned long type)
2426 void addCorrelator(in
unsigned long type)
2432 void removeCorrelator(in
unsigned long type)
2438 boolean subarrayOwnsCorrelator(in
long subarrayNo, in
unsigned long type)
2441 boolean subarrayOwnsSingleCorrelator(in
long subarrayNo)
2444 boolean subarrayOwnsNoCorrelator(in
long subarrayNo)
2447 string astrobandCorrelator(in
long astrobandNo)
2450 string ownedCorrelator(in
long subarrayNo)
2456 SeqShort getAstroBandsForConfiguration(in
string confName)
2459 void setInvalidationForMosaics( in
boolean invalidate )
2465 boolean isShadowedNow(in
short carmaAntennaNo, in
ShadowingType type, in
double diameterFraction)
2468 boolean isShadowedHaDec(in
short carmaAntennaNo, in
double hourAngleHours, in
double decDegrees, in
ShadowingType type, in
double diameterFraction)
2471 boolean isShadowedSource(in
short carmaAntennaNo, in
string sourceName, in
double lstHours, in
ShadowingType type, in
double diameterFraction)
2482 void setRepTaskName(in
long taskIndex, in
string taskName)
2489 void setRepTaskInterval(in
long taskIndex, in
double interval)
2496 void setRepTaskRemind(in
long taskIndex, in
double remind)
2503 void setRepTaskAuto(in
long taskIndex, in
double auto)
2510 void setRepTaskCompleted(in
long taskIndex, in
double mjd)
2515 string testMessageSize(in
unsigned long size)
2525 #endif // end of conditional include
float flux
Flux in Janskys.
Tracking and drive related portions of the subarray control interface.
Pad offset data structure definition.
sequence< double > RaDecSeq
Sequence of ra & dec in degrees.
SidebandType
Downconverter sideband choice.
Interface for the drive related portions of the Subarray controller.
Exclude the input source list.
Correlator-related enumerations and constants.
Antenna assignment for a subarray.
carma::util::SeqShort SeqShort
Sequence of CORBA::Short.
string carmaAntennaName
Physical carma name of the antenna.
sequence< AntennaAssignment > AntennaAssignmentSeq
Sequence of antenna assignments for a subarray.
Position is off-source reference.
Wait for completion on all antennas.
Wait for completion on any single antenna.
PointStatusType
ON or OFF source indicator (Singledish observations)
ScriptStateType
Current state of the script.
Phaseswitching interface for passing a phaseswitching table into a subsystem.
Data returned by an SubarrayControl::convertBaseline method.
float daysback
Number of days since the flux was measured at given frequency.
Structure representing a flux measurement.
WaitCondition
Valid conditions to satisfy a wait.
State
Enumerate valid polarization states.
This is the IDL file for the monitorframe structures.
CorrelatorBitType
Correlator number of bits.
Receiver tuning, IVcurve complete.
IVcurve data structure definition.
An exception for a timeout Will throw your msg plus file and line number.
Variant used specificaly for cancelling.
Maximize Signal to Noise.
Flag for all faults except missing monitor point data.
Aperture
Enumerate apertures to use for selecting pointing models.
Signal path mapping control portion of SubarrayControl interface The interface is split into several ...
Wait for completion of a specific number of antennas.
carma::util::SeqFloat SeqFloat
Sequence of CORBA::Float.
BlockDCPolarizationType
Block Downconverter polarization input selector choice.
Type
Enumerate valid Receiver types.
NearestInfo data structure definition.
Position
A calibrator position enumerator.
Focus, polarizer, or beam selector complete.
Correlator command change complete.
Data returned by an IV curve method Be careful not to assume that the totPower contains the same numb...
float rms
The Rms error on the flux, in Jy.
Monitor point value from a query.
carma::util::SeqDouble SeqDouble
Sequence of CORBA::Double.
string typedAntennaName
Physical typed name of the antenna.
Interface for the fault system.
string source
Source name.
Generic Carma variant of CORBA::UserException.
Interface and data structure definitions for the CARMA Project Database Manager.
Blank if no explicit setting for fault in dag.
Include (use) the input source list.
carma::util::SeqString SeqString
Sequence of CORBA::String.
Interface for the CARMA Control System Optical Telescope.
The interface to the CARMA subarray controller.
An exception when a monitor point is not found.
ImagingType
Imaging type describing how the track is being observed.
NearestActionType
Use or exclude the input source list when searching for nearest neighbors.
Interface for the SignalPathMapper related portions of the Subarray controller.
short carmaAntennaNo
Carma antenna number.
string date
String representation of date flux was measured.
CORBA User Exception for carma::util.
SwitchState
Generic switch state enumerator.
CorrelatorBandWidthType
Supported spectral correlator bandwidths.
An exception when a monitor point is not valid.
IDL for the carma::antenna::common::RxControl (Receiver) interface.
sequence< float > AzElSeq
Sequence of azimuth and elevation in degrees.
ShadowingType
Query internal or swept-volume shadowing.
Maximize Imaging Fidelity.
BlankFlagPref
Fault system blank/flag preference.
float freq
Frequency at which flux was measured, GHz.
WaitItem
Valid items on which to wait.
Flag if no explicit setting for fault in dag.
Subsystem phaseswitching interface.
Blank for all faults except missing monitor point data.