CARMA C++
CorDataBase.idl
1 // $Id: CorDataBase.idl,v 1.41 2013/11/26 16:41:23 mpound Exp $
2 
4 #include "carma/util/SeqTypedefs.idl"
6 
7 module carma {
8  module correlator {
12  module obsRecord2 {
13 
17  typedef sequence<octet> DataSeq;
18 
33 
41 
49  };
50 
54  enum ModeType {
57  };
58 
62  enum SidebandType {
65  };
66 
68  enum FpgaModeType {
73  };
74 
85  struct CorData_s {
86  DataSeq correlatorData;
87  };
88 
89 
90  struct DelayTriplet {
91  long inputNumber;
92 
93  double delay0;
94  double timestamp0;
95 
96  double delay1;
97  double timestamp1;
98 
99  double delay2;
100  double timestamp2;
101  };
102 
103  typedef sequence< DelayTriplet > DelayTripletSeq;
104  typedef sequence< BandWidthType > BandWidthSeq;
105  typedef sequence< FpgaModeType > FpgaModeSeq;
106 
111 
120  void setBandwidth(in BandWidthType bandwidth,
121  in FpgaModeType fpgaMode,
122  in long seqNo ,
123  in long astroBandNo )
124  raises ( carma::util::UserException );
125 
135  void setBandwidthVector(in BandWidthSeq bandwidth,
136  in FpgaModeSeq fpgaMode,
137  in long seqNo ,
138  in carma::util::SeqLong astroBandNo )
139  raises ( carma::util::UserException );
140 
141 
150  void setNoiseSourceState(in boolean isOn)
151  raises ( carma::util::UserException );
152 
163  void setInputDelayTriplets( in DelayTripletSeq inputTriplets )
164  raises ( carma::util::UserException );
165 
177  void setWalshColumns(in carma::util::SeqLong cols90,
178  in carma::util::SeqLong cols180,
179  in long nStates90,
180  in long nStates180,
181  in boolean noiseEnabled)
182  raises ( carma::util::UserException );
183 
193  void setDownconverterSettings( in double freqInGHz,
194  in SidebandType sb,
195  in boolean bdcEnabled )
196  raises ( carma::util::UserException );
197 
198  // Sigh, can't overload IDL methods...
204  void setDownconverterSettingsVector( in carma::util::SeqFloat freq )
205  raises ( carma::util::UserException );
206 
212  void optimizeThresholds(in long seqNo )
213  raises ( carma::util::UserException );
214 
222  void flattenPhases( in long seqNo )
223  raises ( carma::util::UserException );
224 
234  void calibrateSpectra( in boolean enable,
235  in boolean cache,
236  in long count,
237  in long seqNo )
238  raises ( carma::util::UserException );
239 
240 
255  void enableCorrelation( in boolean enable )
256  raises ( carma::util::UserException );
257 
258 
259  };
260 
261  }; // obsRecord2
262  }; // correlator
263 }; // carma
7.8125 MHz bandwidth, 3Bit mode
Definition: CorDataBase.idl:39
1.953125 MHz bandwidth, 2Bit mode
Definition: CorDataBase.idl:32
500 MHz bandwidth, 2Bit mode
Definition: CorDataBase.idl:26
IDL structure holding all Correlator Data.
Definition: CorDataBase.idl:85
dual-polarization, LL and RR
Phaseswitching interface for passing a phaseswitching table into a subsystem.
default, single polarization mode, e.g. LL or RR
1.953125 MHz bandwidth, 4Bit mode
Definition: CorDataBase.idl:48
125 MHz bandwidth, 2Bit mode
Definition: CorDataBase.idl:28
31.25 MHz bandwidth, 3Bit mode
Definition: CorDataBase.idl:38
7.8125 MHz bandwidth, 2Bit mode
Definition: CorDataBase.idl:31
Full-stokes mode.
ModeType
Correlator operational modes.
Definition: CorDataBase.idl:54
sequence< float > SeqFloat
Sequence of CORBA::Float.
Definition: SeqTypedefs.idl:8
250 MHz bandwidth, 2Bit mode
Definition: CorDataBase.idl:27
Generic Carma variant of CORBA::UserException.
7.8125 MHz bandwidth, 4Bit mode
Definition: CorDataBase.idl:47
31.25 MHz bandwidth, 4Bit mode
Definition: CorDataBase.idl:46
62.5 MHz bandwidth, 2Bit mode
Definition: CorDataBase.idl:29
sequence< long > SeqLong
Sequence of CORBA::Long.
Definition: SeqTypedefs.idl:9
SidebandType
Downconverter sideband choice.
Definition: CorDataBase.idl:62
BandWidthType
Supported spectral correlator bandwidths.
Definition: CorDataBase.idl:25
CORBA User Exception for carma::util.
FpgaModeType
Astroband mode – The correlator FPGA configuration/polarization mode.
Definition: CorDataBase.idl:68
1.953125 MHz bandwidth, 3Bit mode
Definition: CorDataBase.idl:40
CORBA interface for controlling the correlator.
31.25 MHz bandwidth, 2Bit mode
Definition: CorDataBase.idl:30
Subsystem phaseswitching interface.
sequence< octet > DataSeq
Correlator Data to be transported via CORBA.
Definition: CorDataBase.idl:17