Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ccdDatabase.h

Go to the documentation of this file.
00001 /*************************************************************************
00002 * E.S.O. - VLT project
00003 *
00004 * "@(#) $Id: ccdDatabase.h,v 4.1 2003/10/30 15:32:46 vltsccm Exp $"
00005 *
00006 * who          when      what
00007 * --------     --------  ----------------------------------------------
00008 * N.Fiebig     31/08/94  created
00009 * A.Longinotti 24/11/94  moved to ws directory (used both by ws and lcu)
00010 * A.Longinotti 22/05/95  updated after reordering of DB for dbLoader
00011 * C.Cumani     10/07/95  updated after reordering of DB
00012 *                        ccdrdtDB_CON_OPMODE deleted
00013 *                        ccdDB_CON_RDTHWOPM deleted
00014 *                        ccdDB_CON_SHTOPMODE deleted
00015 *                        ccdDB_IT_STA_WS_LINE deleted
00016 * C.Cumani     14/07/95  ccdDB_EXP_POINT definition added
00017 *                        ccdDB_CLK_POINT definition added
00018 * C.Cumani     17/07/95  ccdDB_SET_XFIR_WIN1 definition added
00019 *                        ccdDB_SET_XLST_WIN1 definition added
00020 *                        ccdDB_SET_YFIR_WIN1 definition added
00021 *                        ccdDB_SET_YLST_WIN1 definition added
00022 *                        ccdDB_SET_XFIR_WIN2 definition added
00023 *                        ccdDB_SET_XLST_WIN2 definition added
00024 *                        ccdDB_SET_YFIR_WIN2 definition added
00025 *                        ccdDB_SET_YLST_WIN2 definition added
00026 * C.Cumani     18/07/95  ccdDB_STA_EXPTYPE definition added
00027 *                        ccdDB_NEX_POINT definition added
00028 * A.Longinotti 19/07/95  changes for Data Interface Dictionary (M.Albrecht)
00029 *                        ccdDB_SET_XLST_WIN1 replaced with ccdDB_SET_XDIM_WIN1
00030 *                        ccdDB_SET_YLST_WIN1 replaced with ccdDB_SET_YDIM_WIN1
00031 *                        ccdDB_SET_XLST_WIN2 replaced with ccdDB_SET_XDIM_WIN2
00032 *                        ccdDB_SET_YLST_WIN2 replaced with ccdDB_SET_YDIM_WIN2
00033 * C.Cumani     19/07/95  ccdrdtDB_STA_MSTA -> ccdDB_STA_MSTA
00034 *                        ccdrdtDB_STA_CSTA -> ccdDB_STA_CSTA
00035 *                        ccdrdtDB_STA_PERCENT -> ccdDB_STA_PERCENT
00036 *                        ccdrdtDB_STA_GAIN -> ccdDB_STA_GAIN
00037 *                        ccdrdtDB_STA_ADCTIME -> ccdDB_STA_ADCTIME
00038 *                        ccdrdtDB_CON_NWIPES -> ccdDB_CON_NWIPES
00039 *                        ccdrdtDB_CON_WINT -> ccdDB_CON_WINT
00040 *                        ccdrdtDB_CON_WXBIN -> ccdDB_CON_WXBIN
00041 *                        ccdrdtDB_CON_WYBIN -> ccdDB_CON_WYBIN
00042 *                        ccdrdtDB_CON_PREFIX -> ccdDB_CON_PREFIX
00043 *                        ccdrdtDB_STA_OUTPUT -> ccdDB_STA_ELEADU
00044 *                        ccdrdtDB_STA_LINE -> ccdDB_STA_LINE
00045 *                        ccdrdtDB_STA_START -> ccdDB_STA_START
00046 *                        ccdrdtDB_STA_TIME -> ccdDB_STA_TIME
00047 *                        ccdrdtDB_STA_REPR -> ccdDB_STA_REPR
00048 *                        ccdDB_CON_NOUTPUTS deleted
00049 *                        ccdDB_CON_CHIPOUT deleted
00050 *                        ccdDB_CHP_POINT definition added
00051 *                        ccdDB_OUT_POINT definition added
00052 *                        ccdDB_CON_CHIPAVAIL definition added
00053 *                        ccdDB_CON_OUTPAVAIL definition added
00054 * C.Cumani     20/07/95  ccdDB_STA_CLOCK definition added
00055 *                        ccdDB_STA_READPIX definition added
00056 *                        ccdDB_STA_MPPMODE definition added
00057 * C.Cumani     21/07/95  ccdDB_STA_OUTPUT definition added
00058 *                        ccdDB_WIN_SUBPOINT definition added
00059 *                        ccdDB_STA_ENAB definition added
00060 *                        ccdDB_STA_XBIN definition added
00061 *                        ccdDB_STA_YBIN definition added
00062 *                        ccdDB_STA_XFIR definition added
00063 *                        ccdDB_STA_XDIM definition added
00064 *                        ccdDB_STA_YFIR definition added
00065 *                        ccdDB_STA_YDIM definition added
00066 * A.Longinotti 24/07/95  ccdDB_OBS_POINT updated to new database
00067 *                        ccdDB_OBS_READ_SPEED --> ccdDB_OBS_READ_CLOCK
00068 *                        ccdDB_STA_WS added
00069 *                        ccdDB_STA_LCU added
00070 * C.Cumani     02/08/95  ccdDB_CON_TRANSF definition added
00071 * A.Longinotti 08/08/95  added a "." before root point attributes names
00072 *                        ccdDB_OBS_xxx deleted. Obsolete with setup editor
00073 * C.Cumani     08/08/95  IMPORTANT caution added
00074 * A.Longinotti 11/08/95  ccdDB_STA_LASTEXPID definition added
00075 * A.Longinotti 16/08/95  ccdDB_STA_SHTSTATUS definition added
00076 * A.Longinotti 17/08/95  ccdDB_CON_FRAMETRAN definition added
00077 *                        ccdDB_CON_SKIPPER definition added
00078 *                        ccdDB_CON_MPP definition added
00079 *                        ccdDB_CON_CHIPXLOC definition added
00080 *                        ccdDB_CON_CHIPYLOC definition added
00081 *                        ccdDB_CON_OUTPCHIP definition added
00082 *                        ccdDB_CON_OUTPXLOC definition added
00083 *                        ccdDB_CON_OUTPYLOC definition added
00084 *                        ccdDB_CON_OUTPXPRE definition added
00085 *                        ccdDB_CON_OUTPYPRE definition added
00086 *                        ccdDB_CON_OUTPXPIX definition added
00087 *                        ccdDB_CON_OUTPYPIX definition added
00088 *                        ccdDB_CON_OUTPXOVE definition added
00089 *                        ccdDB_CON_OUTPYOVE definition added
00090 *                        ccdDB_CON_OUTFIRST definition added
00091 *                        ccdDB_CON_NWIN definition added
00092 *                        ccdDB_CON_ADCTIME definition added
00093 * A.Longinotti 29/08/95  ccdDB_CON_CLOCKDES definition added
00094 * A.Longinotti 09/09/95  ccdDB_EXP_FILEUNC definition added
00095 * A.Longinotti 29/09/95  public attributes moved to ccdDbPublic.h
00096 * P.Duhoux     06/02/96  added ccdDB_CON_OUTPHDIR and ccdDB_CON_OUTPVDIR
00097 * P.Duhoux     11/04/96  added ccdDB_SET_USER_FUNC & ccdDB_SET_USER_BUFF
00098 * P.Duhoux     19/07/96  added ccdDB_STA_SINGLEEXP
00099 * P.Duhoux     29/08/96  added ccdDB_SET_FRMTYPE  (DET.FRAM.TYPE)
00100 * A.Longinotti 13/12/96  added ccdDB_NEW_DATA for stand-alone mode
00101 * P.Duhoux     21/01/97  added ccdDB_WCS_... for WorldCoord attributes
00102 * P.Duhoux     11/02/97  moved ccdDB_WCS_RA & ccdDB_WCS_DEC to ccdDbPublic.h
00103 *                        added macros ccdDB_WCS_XREFPIX / ccdDB_WCS_YREFPIX
00104 * P.Duhoux     27/02/97  added macros for images:process_2
00105 * P.Duhoux     04/03/97  Renamed point <process> into <process_1>
00106 * P.Duhoux     02/04/97  added macro ccdMONITOR_PERIOD for TEL/TMP sampling
00107 * P.Duhoux     16/04/97  ccdDB_CON_GAINIDX definition added
00108 * P.Duhoux     30/06/97  added ccdDB_SET_STEPDEF, 
00109 *                        added ccdDB_SET_LINESHIFTTYPE, ccdDB_SET_LINESHIFTMULTI 
00110 *                        added ccdDB_SET_TIMEDEFIDEM, ccdDB_SET_TIMEDEFMULTI
00111 *                        added ccdDB_CON_ELADU
00112 * P.Duhoux     26/07/97  added ccdDB_SET_SIMIMG
00113 * P.Duhoux     14/10/97  set ccdMONITOR_PERIOD = 60 for TEL/TMP sampling
00114 * A.Longinotti 12/05/98  added ccdDB_SET_WIPETIME ccdDB_SET_XFERSYNC
00115 * P.Duhoux     24/11/99  added ccdDB_WCS_FLAGS    "wcs.flags"
00116 */
00117 
00118 /*************************************************************************
00119 *  This file contains all DB definitions used by WS AND LCU CCD sw modules.
00120 *************************************************************************/
00121 
00122 /*************************************************************************
00123 *
00124 *  IMPORTANT : Root Point Attribute Macros MUST begin with a "."
00125 *
00126 *************************************************************************/
00127 
00128 #ifndef CCDDATABASE_H
00129 #define CCDDATABASE_H
00130 
00131 /*
00132  * Database points
00133  */
00134 
00135 #define ccdDB_NXT_POINT      "exposures:exposure_next"
00136 #define ccdDB_CLK_POINT      "readout:clock"
00137 #define ccdDB_OBS_POINT      "observations:observation_1"
00138 #define ccdDB_CHP_POINT      "detector:chip"
00139 #define ccdDB_OUT_POINT      "detector:output"
00140 
00141 #define ccdDB_POINT_DET      "detector"
00142 #define ccdDB_POINT_DET_OUTi "detector:output_%i"
00143 #define ccdDB_POINT_DET_CHPi "detector:chip_%i"
00144 #define ccdDB_POINT_PRC      "process"
00145 #define ccdDB_POINT_PRC_WINi "process:window_%i"
00146 #define ccdDB_POINT_XFR      "transfer"
00147 #define ccdDB_POINT_IMG      "images"
00148 #define ccdDB_POINT_RTD      "display"
00149 #define ccdDB_POINT_RDT      "readout"
00150 #define ccdDB_POINT_RDT_CLKi "readout:clock_%i"
00151 #define ccdDB_POINT_RDT_WINi "readout:window_%i"
00152 #define ccdDB_POINT_EXP      "exposures"
00153 #define ccdDB_POINT_EXP_NEXT "exposures:exposure_next"
00154 #define ccdDB_POINT_EXP_EXPi "exposures:exposure_%i"
00155 #define ccdDB_POINT_SHT      "shutter"
00156 #define ccdDB_POINT_TEL      "telemetry"
00157 #define ccdDB_POINT_TMP      "temperature"
00158 
00159 /*
00160  * Configuration Attributes
00161  */
00162  
00163 /* FITS log mask */
00164 #define ccdDB_CON_FITSLOGMASK ".logMask"
00165 
00166 /* system state */
00167 #define ccdDB_STA_INITDONE    ".initDone"
00168 
00169 /* 
00170  * exposure coordination 
00171  */
00172 
00173 /* bits per pixel */
00174 #define ccdDB_CON_BITSPIX    "readout.bitsPixel"
00175 
00176 /* frame transfer CCD */
00177 #define ccdDB_CON_FRAMETRAN  "detector.frameTransfer"
00178 
00179 /* skipper CCD */
00180 #define ccdDB_CON_SKIPPER    "detector.skipper"
00181 
00182 /* CCD supporting mpp mode */
00183 #define ccdDB_CON_MPP        "detector.mpp"
00184 
00185 /* number of columns on chip */
00186 #define ccdDB_CON_XPIX       "detector.xPixels"
00187 
00188 /* number of rows on chip */
00189 #define ccdDB_CON_YPIX       "detector.yPixels"
00190 
00191 /* 
00192  * readout and wiping 
00193  */
00194 /* name of file containing DSP program - under ccdDB_CLK_POINT_<clockIndex> */
00195 #define ccdDB_CON_CLOCKDES     "description"
00196 
00197 /* readout speeds - under ccdDB_CLK_POINT_<clockIndex> */
00198 #define ccdDB_CON_SPEED     "speed"
00199 
00200 /* output enable - under ccdDB_CLK_POINT_<clockIndex> */
00201 #define ccdDB_CON_OUTPUT    "outEnab"
00202 
00203 /* output generating first pixel - under ccdDB_CLK_POINT_<clockIndex> */
00204 #define ccdDB_CON_OUTFIRST  "firstOutput"
00205 
00206 /* default gain index for clock - under ccdDB_CLK_POINT_<clockIndex> */
00207 #define ccdDB_CON_GAINIDX   "gainIndex"
00208 
00209 /* maximum number of windows supported - under ccdDB_CLK_POINT_<clockIndex> */
00210 #define ccdDB_CON_NWIN      "nWindows"
00211 
00212 /* usec to convert one pixel value - under ccdDB_CLK_POINT_<clockIndex> */
00213 #define ccdDB_CON_ADCTIME   "adcTime"
00214 
00215 /* electron per ADU value - under ccdDB_CLK_POINT_<clockIndex> */
00216 #define ccdDB_CON_ELADU     "elAdu"
00217 
00218 /* chip availabilty - under ccdDB_CHP_POINT_<chipIndex> */
00219 #define ccdDB_CON_CHIPAVAIL   "available"
00220 
00221 /* chip x location - under ccdDB_CHP_POINT_<chipIndex> */
00222 #define ccdDB_CON_CHIPXLOC   "xLocation"
00223 
00224 /* chip y location - under ccdDB_CHP_POINT_<chipIndex> */
00225 #define ccdDB_CON_CHIPYLOC   "yLocation"
00226 
00227 /* output availabilty - under ccdDB_OUT_POINT_<outputIndex> */
00228 #define ccdDB_CON_OUTPAVAIL   "available"
00229 
00230 /* index of chip where output is - under ccdDB_OUT_POINT_<outputIndex> */
00231 #define ccdDB_CON_OUTPCHIP   "chipIndex"
00232 
00233 /* output x location - under ccdDB_OUT_POINT_<outputIndex> */
00234 #define ccdDB_CON_OUTPXLOC   "xLocation"
00235 
00236 /* output y location - under ccdDB_OUT_POINT_<outputIndex> */
00237 #define ccdDB_CON_OUTPYLOC   "yLocation"
00238 
00239 /* output hor direction - under ccdDB_OUT_POINT_<outputIndex> */
00240 #define ccdDB_CON_OUTPHDIR   "leftToRight"
00241 
00242 /* output ver direction - under ccdDB_OUT_POINT_<outputIndex> */
00243 #define ccdDB_CON_OUTPVDIR   "downToUp"
00244 
00245 /* output x prescan - under ccdDB_OUT_POINT_<outputIndex> */
00246 #define ccdDB_CON_OUTPXPRE   "xPrescan"
00247 
00248 /* output y prescan - under ccdDB_OUT_POINT_<outputIndex> */
00249 #define ccdDB_CON_OUTPYPRE   "yPrescan"
00250 
00251 /* output x active pixels - under ccdDB_OUT_POINT_<outputIndex> */
00252 #define ccdDB_CON_OUTPXPIX   "xPix"
00253 
00254 /* output y active pixels - under ccdDB_OUT_POINT_<outputIndex> */
00255 #define ccdDB_CON_OUTPYPIX   "yPix"
00256 
00257 /* output x overscan - under ccdDB_OUT_POINT_<outputIndex> */
00258 #define ccdDB_CON_OUTPXOVE   "xOverscan"
00259 
00260 /* output y overscan - under ccdDB_OUT_POINT_<outputIndex> */
00261 #define ccdDB_CON_OUTPYOVE   "yOverscan"
00262 
00263 /* wipe count */
00264 #define ccdDB_CON_NWIPES "readout.nWipes"
00265 
00266 /* wipe periode */
00267 #define ccdDB_CON_WINT   "readout.wipePeriod"
00268 
00269 /* wipe hor. binning */
00270 #define ccdDB_CON_WXBIN  "readout.wipeXBin"
00271 
00272 /* wipe ver. binning */
00273 #define ccdDB_CON_WYBIN  "readout.wipeYBin"
00274 
00275 /* DCL prefix */
00276 #define ccdDB_CON_PREFIX "readout.hwDescription"
00277 
00278 
00279 /* 
00280  * image transfer 
00281  */
00282 /* name of compressed FITS file */
00283 #define ccdDB_EXP_FILECOM     "transfer.fileNameComp"
00284 
00285 /* transfer method  */
00286 #define ccdDB_CON_TRANSF    "images:transfer.transferMethod"
00287 
00288 /* dxf packet Size  */
00289 #define ccdDB_CON_DXFSIZE   "images:transfer.itPacketSize"
00290 
00291 /* Size of FITS image header (in FITS blocks) */
00292 #define ccdDB_CON_FITSSIZE   "images:transfer.itHeaderSize"
00293 
00294 /* default sampling period for TEL/TMP */
00295 #define ccdMONITOR_PERIOD    60           
00296 
00297 /* 
00298  *  telemetry
00299  */
00300 
00301 /*  */
00302 #define ccdDB_CON_TELAVAIL  "telemetry.available"
00303 
00304 /* 
00305  * temperature 
00306  */
00307 
00308 /*  */
00309 #define ccdDB_CON_TMPAVAIL  "temperature.available"
00310 
00311 /* 
00312  * shutter 
00313  */
00314 
00315 /*  */
00316 #define ccdDB_CON_SHTAVAIL  "shutter.available"
00317 
00318 /*  */
00319 #define ccdDB_CON_SHTTYPE   "shutter.type"
00320 
00321 /*  */
00322 #define ccdDB_CON_SHTDESCR  "shutter.description"
00323 
00324 /*  */
00325 #define ccdDB_CON_SHTHWDESC "shutter.hwDescription"
00326 
00327 /*  */
00328 #define ccdDB_CON_SHTTIMOUT "shutter.timeout"
00329 
00330 
00331 /* 
00332  * DCL's 
00333  */
00334 
00335 /* DCL device name */
00336 #define ccdDB_CON_DCLDEV    "ace.devName"
00337 
00338 /* DCL device timeout */
00339 #define ccdDB_CON_DCLTOUT   "ace.devTimeout"
00340 
00341 
00342 /*
00343  * Setup Attributes
00344  */
00345  
00346 /* 
00347  * EXPOSURE COORDINATION 
00348  */
00349 
00350 /* exposure type */
00351 #define ccdDB_SET_EXPTYPE   "exposures:exposure_next.expType"
00352 
00353 /* number of steps for Multi step exposure */
00354 #define ccdDB_SET_STEPDEF   "exposures:exposure_next.expStepsDef"
00355 
00356 /* defined exposure time */
00357 #define ccdDB_SET_TIMEDEFIDEM  "exposures:exposure_next.timeDefIdem"
00358 #define ccdDB_SET_TIMEDEF      "exposures:exposure_next.timeDef"
00359 #define ccdDB_SET_TIMEDEFMULTI "exposures:exposure_next.timeDefMulti"
00360 
00361 /* defined exposure time start */
00362 #define ccdDB_SET_TIMESTART "exposures:exposure_next.timeStart"
00363 
00364 /* defined exposure time repeat */
00365 #define ccdDB_SET_TIMEREP   "exposures:exposure_next.timeRepeat"
00366 
00367 /* times are absolute/relative */
00368 #define ccdDB_SET_TIMEABS   "exposures:exposure_next.timeAbsolute"
00369 
00370 /* defined exposure repetitions */
00371 #define ccdDB_SET_EXPREPS   "exposures:exposure_next.expRepeatDef"
00372 
00373 /* type of frame it has to be */
00374 #define ccdDB_SET_FRMTYPE   "exposures:exposure_next.frameType"
00375 
00376 /* perform wipe before each exposure in a loop or not */
00377 #define ccdDB_SET_WIPETIME   "exposures:exposure_next.expWipeTime"
00378 
00379 
00380 /* 
00381  * IMAGE TRANSFER 
00382  */
00383 
00384 /* transfer synchronous or not */
00385 #define ccdDB_SET_XFERSYNC  "exposures:exposure_next:transfer.itSync"
00386 
00387 /* disk save method */
00388 #define ccdDB_SET_DISKSAVE  "exposures:exposure_next:transfer.diskSaveMethod"
00389 
00390 /* name of uncompressed FITS file */
00391 #define ccdDB_SET_FILEUNC   "exposures:exposure_next:transfer.fileNameUnComp"
00392 
00393 /* name of compressed FITS file */
00394 #define ccdDB_SET_FILECOM   "exposures:exposure_next:transfer.fileNameComp"
00395 
00396 /* pixel representation */
00397 #define ccdDB_SET_PIXREPR   "exposures:exposure_next:transfer.itPixRepr"
00398 
00399 /* bit shift */
00400 #define ccdDB_SET_BITSHIFT  "exposures:exposure_next:transfer.itBitShift"
00401 
00402 /* compression mode */
00403 #define ccdDB_SET_COMPRESS  "exposures:exposure_next:transfer.itCompression"
00404 
00405 /* transfer sampling */
00406 #define ccdDB_SET_SAMPLING  "exposures:exposure_next:transfer.itSampling"
00407 
00408 /* 
00409  * REAL TIME DISPLAY 
00410  */
00411 
00412 /* real-time display flag */
00413 #define ccdDB_SET_DISPLAY   "exposures:exposure_next:display.frameId"
00414 
00415 /* 
00416  * IMAGE PROCESSING
00417  */
00418 
00419 /* Search for extrema */
00420 #define ccdDB_SET_WIN1_MINMAX    "exposures:exposure_next:process:window_1.ipMinMax"
00421 #define ccdDB_SET_WIN2_MINMAX    "exposures:exposure_next:process:window_2.ipMinMax"
00422 
00423 /* Average over N frames */
00424 #define ccdDB_SET_WIN1_AVERAGE   "exposures:exposure_next:process:window_1.ipAverageN"
00425 #define ccdDB_SET_WIN2_AVERAGE   "exposures:exposure_next:process:window_2.ipAverageN"
00426 
00427 /* Bias correction */
00428 #define ccdDB_SET_WIN1_BIAS      "exposures:exposure_next:process:window_1.ipBias"
00429 #define ccdDB_SET_WIN2_BIAS      "exposures:exposure_next:process:window_2.ipBias"
00430 
00431 /* Flat Field correction */
00432 #define ccdDB_SET_WIN1_FLAT      "exposures:exposure_next:process:window_1.ipFlatField"
00433 #define ccdDB_SET_WIN2_FLAT      "exposures:exposure_next:process:window_2.ipFlatField"
00434 
00435 /* Compute Image Centroid */
00436 #define ccdDB_SET_WIN1_CENTROID  "exposures:exposure_next:process:window_1.ipCentroiding"
00437 #define ccdDB_SET_WIN2_CENTROID  "exposures:exposure_next:process:window_2.ipCentroiding"
00438 
00439 /* User Function */
00440 #define ccdDB_SET_WIN1_USERFUNC  "exposures:exposure_next:process:window_1.ipUserFuncName"
00441 #define ccdDB_SET_WIN2_USERFUNC  "exposures:exposure_next:process:window_2.ipUserFuncName"
00442 
00443 /* User Buffer */
00444 #define ccdDB_SET_WIN1_USERBUFF  "exposures:exposure_next:process:window_1.ipUserBuffName"
00445 #define ccdDB_SET_WIN2_USERBUFF  "exposures:exposure_next:process:window_2.ipUserBuffName"
00446 
00447 /* Reference point X */
00448 #define ccdDB_SET_WIN1_REFX      "exposures:exposure_next:process:window_1.ipCentrRefX"
00449 #define ccdDB_SET_WIN2_REFX      "exposures:exposure_next:process:window_2.ipCentrRefX"
00450 
00451 /* Reference point X */
00452 #define ccdDB_SET_WIN1_REFY      "exposures:exposure_next:process:window_1.ipCentrRefY"
00453 #define ccdDB_SET_WIN2_REFY      "exposures:exposure_next:process:window_2.ipCentrRefY"
00454 
00455 /* Threshold Min */
00456 #define ccdDB_SET_WIN1_THRMIN    "exposures:exposure_next:process:window_1.ipCentrThreshMin"
00457 #define ccdDB_SET_WIN2_THRMIN    "exposures:exposure_next:process:window_2.ipCentrThreshMin"
00458 
00459 /* Threshold Max */
00460 #define ccdDB_SET_WIN1_THRMAX    "exposures:exposure_next:process:window_1.ipCentrThreshMax"
00461 #define ccdDB_SET_WIN2_THRMAX    "exposures:exposure_next:process:window_2.ipCentrThreshMax"
00462 
00463 /* Sky BackGround */
00464 #define ccdDB_SET_WIN1_BACKGND   "exposures:exposure_next:process:window_1.ipBackGround"
00465 #define ccdDB_SET_WIN2_BACKGND   "exposures:exposure_next:process:window_2.ipBackGround"
00466 
00467 /* Processing sub-Window offsets */
00468 #define ccdDB_SET_WIN1_IPLLX     "exposures:exposure_next:process:window_1.ipLLX"
00469 #define ccdDB_SET_WIN2_IPLLX     "exposures:exposure_next:process:window_2.ipLLX"
00470 #define ccdDB_SET_WIN1_IPLLY     "exposures:exposure_next:process:window_1.ipLLY"
00471 #define ccdDB_SET_WIN2_IPLLY     "exposures:exposure_next:process:window_2.ipLLY"
00472 #define ccdDB_SET_WIN1_IPURX     "exposures:exposure_next:process:window_1.ipURX"
00473 #define ccdDB_SET_WIN2_IPURX     "exposures:exposure_next:process:window_2.ipURX"
00474 #define ccdDB_SET_WIN1_IPURY     "exposures:exposure_next:process:window_1.ipURY"
00475 #define ccdDB_SET_WIN2_IPURY     "exposures:exposure_next:process:window_2.ipURY"
00476 
00477 /* 
00478  * READOUT & WIPE
00479  */
00480  
00481 /* number of lines to shift */
00482 #define ccdDB_SET_LINESHIFTTYPE \
00483                             "exposures:exposure_next:readout.linesToShiftType"
00484 #define ccdDB_SET_LINESHIFT "exposures:exposure_next:readout.linesToShift"
00485 #define ccdDB_SET_LINESHIFTMULTI \
00486                             "exposures:exposure_next:readout.linesToShiftMulti"
00487 
00488 /* number of times the same pixel is read (skipper CCDs only) */
00489 #define ccdDB_SET_READPIX   "exposures:exposure_next:readout.readPixelN"
00490 
00491 /* MPP mode */
00492 #define ccdDB_SET_MPPMODE   "exposures:exposure_next:readout.mpp"
00493 
00494 /* read-out clock to use */
00495 #define ccdDB_SET_CLOCK     "exposures:exposure_next:readout.clockIndex"
00496 
00497 /* read-out gain index */
00498 #define ccdDB_SET_GAIN      "exposures:exposure_next:readout.gainIndex"
00499 
00500 /* read-out simulated image file name */
00501 #define ccdDB_SET_SIMIMG    "exposures:exposure_next:readout.fileNameSimu"
00502 
00503 /* readout windows */
00504 #define ccdDB_SET_WIN1_ENAB "exposures:exposure_next:readout:window_1.enabled"
00505 #define ccdDB_SET_WIN2_ENAB "exposures:exposure_next:readout:window_2.enabled"
00506 
00507 /* binning factors of readout windows */
00508 #define ccdDB_SET_WIN1_XBIN "exposures:exposure_next:readout:window_1.xBinning"
00509 #define ccdDB_SET_WIN1_YBIN "exposures:exposure_next:readout:window_1.yBinning"
00510 #define ccdDB_SET_WIN2_XBIN "exposures:exposure_next:readout:window_2.xBinning"
00511 #define ccdDB_SET_WIN2_YBIN "exposures:exposure_next:readout:window_2.yBinning"
00512 
00513 /* windows first and last pixels */
00514 #define ccdDB_SET_WIN1_XFIR "exposures:exposure_next:readout:window_1.xFirst"
00515 #define ccdDB_SET_WIN1_XDIM "exposures:exposure_next:readout:window_1.xDim"
00516 #define ccdDB_SET_WIN1_YFIR "exposures:exposure_next:readout:window_1.yFirst"
00517 #define ccdDB_SET_WIN1_YDIM "exposures:exposure_next:readout:window_1.yDim"
00518 #define ccdDB_SET_WIN2_XFIR "exposures:exposure_next:readout:window_2.xFirst"
00519 #define ccdDB_SET_WIN2_XDIM "exposures:exposure_next:readout:window_2.xDim"
00520 #define ccdDB_SET_WIN2_YFIR "exposures:exposure_next:readout:window_2.yFirst"
00521 #define ccdDB_SET_WIN2_YDIM "exposures:exposure_next:readout:window_2.yDim"
00522 
00523 /* output enabled flags - under ccdDB_EXP_POINT_<expIndex> */
00524 #define ccdDB_SET_OUTPUTEN  "readout.readOutputEn"
00525 
00526 /* 
00527  * shutter 
00528  */
00529 /* none */
00530 
00531 
00532 /*
00533  * Status Attributes
00534  */
00535 
00536 /* 
00537  * exposure coordination 
00538  */
00539 /* last exposure started ID */
00540 #define ccdDB_STA_LASTEXPID "exposures.lastExpId"          
00541 
00542 /* CCD sw WS state */
00543 #define ccdDB_STA_WS     ".opStateWs"
00544 
00545 /* CCD sw LCU state */
00546 #define ccdDB_STA_LCU     ".opStateLcu"
00547 
00548 /* exposure type - under ccdDB_EXP_POINT_<expIndex> */
00549 #define ccdDB_STA_EXPTYPE   "expType"
00550 
00551 /* single exposure status - under ccdDB_EXP_POINT_<expIndex> */
00552 #define ccdDB_STA_SINGLEEXP   "singleExpStatus"
00553 
00554 /* elapsed exposure time for each step - under ccdDB_EXP_POINT_<expIndex> */
00555 #define ccdDB_STA_TIMEELA    "timeEla"   
00556 
00557 /* elapsed exposure time for multi step - under ccdDB_EXP_POINT_<expIndex> */
00558 #define ccdDB_STA_TIMEELAMULTI    "timeElaMulti"   
00559 
00560 /* elapsed dark current time for each step - under ccdDB_EXP_POINT_<expIndex> */
00561 #define ccdDB_STA_TIMEDARK   "timeDark"
00562 
00563 /* start of first step integration start - under ccdDB_EXP_POINT_<expIndex> */
00564 #define ccdDB_STA_TIMESTART  "timeStarted"
00565 
00566 /* end of last step integration time - under ccdDB_EXP_POINT_<expIndex> */
00567 #define ccdDB_STA_TIMEENDED  "timeEnded" 
00568 
00569 /* exposure repetition count - under ccdDB_EXP_POINT_<expIndex> */
00570 #define ccdDB_STA_EXPREPS    "expRepeatCur" 
00571 
00572 /* 
00573  * readout and wiping 
00574  */
00575  
00576 /* wiping start time */
00577 #define ccdDB_STA_WIPESTART  "readout.wipeStarted"
00578 
00579 /* time needed for one wiping */
00580 #define ccdDB_STA_WIPEEND    "readout.wipeTime"
00581 
00582 /* readout module state */
00583 #define ccdDB_STA_MSTA    "readout.opState"
00584 
00585 /* completion status   */
00586 #define ccdDB_STA_CSTA    "readout.status"
00587 
00588 /* percentage of image read     */
00589 #define ccdDB_STA_PERCENT "readout.percent"
00590 
00591 /* gain factor for selected speed - under ccdDB_EXP_POINT_<expIndex> */
00592 #define ccdDB_STA_GAIN    "readout.gainIndex"
00593 
00594 /* ADC time for sel. speed - under ccdDB_EXP_POINT_<expIndex> */
00595 #define ccdDB_STA_ADCTIME "readout.readAdcTime" 
00596 
00597 /* information about outputs - under ccdDB_EXP_POINT_<expIndex> */
00598 #define ccdDB_STA_ELEADU  "readout.readElAdu" 
00599 
00600 /* readout clock index - under ccdDB_EXP_POINT_<expIndex> */
00601 #define ccdDB_STA_CLOCK   "readout.clockIndex"
00602 
00603 /* number of times the same pixel is read - under ccdDB_EXP_POINT_<expIndex> */
00604 #define ccdDB_STA_READPIX    "readout.readPixelN"
00605 
00606 /* MPP mode - under ccdDB_EXP_POINT_<expIndex> */
00607 #define ccdDB_STA_MPPMODE    "readout.mpp"
00608 
00609 /* output enable - under ccdDB_EXP_POINT_<clockIndex> */
00610 #define ccdDB_STA_OUTPUT    "readout.outEnab"
00611 
00612 /* last line read */ 
00613 #define ccdDB_STA_LINE    "readout.last"
00614 
00615 /* read-out start time (mjd) */ 
00616 #define ccdDB_STA_START   "readout.started"
00617 
00618 /* read-out duration */ 
00619 #define ccdDB_STA_TIME    "readout.time"
00620 
00621 /* frame representation - under ccdDB_EXP_POINT_<expIndex> */
00622 #define ccdDB_STA_REPR    "frameRepr"   
00623 
00624 /* readout windows */
00625 #define ccdDB_STA_ENAB "enabled"
00626 
00627 /* binning factors of readout windows */
00628 #define ccdDB_STA_XBIN "xBinning"
00629 #define ccdDB_STA_YBIN "yBinning"
00630 
00631 /* windows first and last pixels */
00632 #define ccdDB_STA_XFIR "xFirst"
00633 #define ccdDB_STA_XDIM "xDim"
00634 #define ccdDB_STA_YFIR "yFirst"
00635 #define ccdDB_STA_YDIM "yDim"
00636 
00637 /* 
00638  * image transfer 
00639  */
00640 
00641 /* transfer status */
00642 #define ccdDB_IT_STA_TSTA    "images:transfer.opState"
00643 
00644 /* transfer Compl Status */
00645 #define ccdDB_IT_STA_CSTA    "images:transfer.status"
00646 
00647 /* info for real time dis. */
00648 #define ccdDB_IT_RTD         "images:display.frame"
00649 
00650 /* transfer start time */
00651 #define ccdDB_IT_STA_START   "images:transfer.started"
00652 
00653 /* transfer duration */
00654 #define ccdDB_IT_STA_TIME    "images:transfer.time"
00655 
00656 /* image list */
00657 #define ccdDB_STA_IMAGELST   "images.frame"
00658 
00659 /* 
00660  * shutter 
00661  */
00662 
00663 /* time when open action started */
00664 #define ccdDB_STA_OPENSTART     "shutter.openStarted"
00665 
00666 /* time needed to open */
00667 #define ccdDB_STA_OPENTIME      "shutter.openTime"
00668 
00669 /* time when close action started */
00670 #define ccdDB_STA_CLOSESTART    "shutter.closeStarted"
00671 
00672 /* time needed to close */
00673 #define ccdDB_STA_CLOSETIME     "shutter.closeTime"
00674 
00675 /*
00676  * database paths for common attributes 
00677  */
00678 
00679 /* unknown attribute */
00680 #define ccdDB_OBS_UNKNOWN ""
00681 
00682 /* setup files dir. */
00683 #define ccdDB_OBS_STP_DIR "observations.setupDirectory"
00684 
00685 /* new data for Archive (used when in stand-alone) */
00686 #define ccdDB_NEW_DATA_POINT    "<alias>newData"
00687 #define ccdDB_NEW_DATA_FILE_UNC "newDataFileName"
00688 
00689 /* attributes for WCS handling */
00690 #define ccdDB_POINT_WCS    "wcs"
00691 #define ccdDB_WCS_XREFPIX  "wcs.xRefPix"
00692 #define ccdDB_WCS_YREFPIX  "wcs.yRefPix"
00693 #define ccdDB_WCS_SECPIX   "wcs.secPix"
00694 #define ccdDB_WCS_ROTATE   "wcs.rotate"
00695 #define ccdDB_WCS_EQUINOX  "wcs.equinox"
00696 #define ccdDB_WCS_EPOCH    "wcs.epoch"
00697 #define ccdDB_WCS_PROJ     "wcs.proj"
00698 #define ccdDB_WCS_FLAGS    "wcs.flags"
00699 
00700 #endif /* ! CCDDATABASE_H */

Generated on Wed Dec 3 14:52:11 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001