00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128 #ifndef CCDDATABASE_H
00129 #define CCDDATABASE_H
00130
00131
00132
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
00161
00162
00163
00164 #define ccdDB_CON_FITSLOGMASK ".logMask"
00165
00166
00167 #define ccdDB_STA_INITDONE ".initDone"
00168
00169
00170
00171
00172
00173
00174 #define ccdDB_CON_BITSPIX "readout.bitsPixel"
00175
00176
00177 #define ccdDB_CON_FRAMETRAN "detector.frameTransfer"
00178
00179
00180 #define ccdDB_CON_SKIPPER "detector.skipper"
00181
00182
00183 #define ccdDB_CON_MPP "detector.mpp"
00184
00185
00186 #define ccdDB_CON_XPIX "detector.xPixels"
00187
00188
00189 #define ccdDB_CON_YPIX "detector.yPixels"
00190
00191
00192
00193
00194
00195 #define ccdDB_CON_CLOCKDES "description"
00196
00197
00198 #define ccdDB_CON_SPEED "speed"
00199
00200
00201 #define ccdDB_CON_OUTPUT "outEnab"
00202
00203
00204 #define ccdDB_CON_OUTFIRST "firstOutput"
00205
00206
00207 #define ccdDB_CON_GAINIDX "gainIndex"
00208
00209
00210 #define ccdDB_CON_NWIN "nWindows"
00211
00212
00213 #define ccdDB_CON_ADCTIME "adcTime"
00214
00215
00216 #define ccdDB_CON_ELADU "elAdu"
00217
00218
00219 #define ccdDB_CON_CHIPAVAIL "available"
00220
00221
00222 #define ccdDB_CON_CHIPXLOC "xLocation"
00223
00224
00225 #define ccdDB_CON_CHIPYLOC "yLocation"
00226
00227
00228 #define ccdDB_CON_OUTPAVAIL "available"
00229
00230
00231 #define ccdDB_CON_OUTPCHIP "chipIndex"
00232
00233
00234 #define ccdDB_CON_OUTPXLOC "xLocation"
00235
00236
00237 #define ccdDB_CON_OUTPYLOC "yLocation"
00238
00239
00240 #define ccdDB_CON_OUTPHDIR "leftToRight"
00241
00242
00243 #define ccdDB_CON_OUTPVDIR "downToUp"
00244
00245
00246 #define ccdDB_CON_OUTPXPRE "xPrescan"
00247
00248
00249 #define ccdDB_CON_OUTPYPRE "yPrescan"
00250
00251
00252 #define ccdDB_CON_OUTPXPIX "xPix"
00253
00254
00255 #define ccdDB_CON_OUTPYPIX "yPix"
00256
00257
00258 #define ccdDB_CON_OUTPXOVE "xOverscan"
00259
00260
00261 #define ccdDB_CON_OUTPYOVE "yOverscan"
00262
00263
00264 #define ccdDB_CON_NWIPES "readout.nWipes"
00265
00266
00267 #define ccdDB_CON_WINT "readout.wipePeriod"
00268
00269
00270 #define ccdDB_CON_WXBIN "readout.wipeXBin"
00271
00272
00273 #define ccdDB_CON_WYBIN "readout.wipeYBin"
00274
00275
00276 #define ccdDB_CON_PREFIX "readout.hwDescription"
00277
00278
00279
00280
00281
00282
00283 #define ccdDB_EXP_FILECOM "transfer.fileNameComp"
00284
00285
00286 #define ccdDB_CON_TRANSF "images:transfer.transferMethod"
00287
00288
00289 #define ccdDB_CON_DXFSIZE "images:transfer.itPacketSize"
00290
00291
00292 #define ccdDB_CON_FITSSIZE "images:transfer.itHeaderSize"
00293
00294
00295 #define ccdMONITOR_PERIOD 60
00296
00297
00298
00299
00300
00301
00302 #define ccdDB_CON_TELAVAIL "telemetry.available"
00303
00304
00305
00306
00307
00308
00309 #define ccdDB_CON_TMPAVAIL "temperature.available"
00310
00311
00312
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
00333
00334
00335
00336 #define ccdDB_CON_DCLDEV "ace.devName"
00337
00338
00339 #define ccdDB_CON_DCLTOUT "ace.devTimeout"
00340
00341
00342
00343
00344
00345
00346
00347
00348
00349
00350
00351 #define ccdDB_SET_EXPTYPE "exposures:exposure_next.expType"
00352
00353
00354 #define ccdDB_SET_STEPDEF "exposures:exposure_next.expStepsDef"
00355
00356
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
00362 #define ccdDB_SET_TIMESTART "exposures:exposure_next.timeStart"
00363
00364
00365 #define ccdDB_SET_TIMEREP "exposures:exposure_next.timeRepeat"
00366
00367
00368 #define ccdDB_SET_TIMEABS "exposures:exposure_next.timeAbsolute"
00369
00370
00371 #define ccdDB_SET_EXPREPS "exposures:exposure_next.expRepeatDef"
00372
00373
00374 #define ccdDB_SET_FRMTYPE "exposures:exposure_next.frameType"
00375
00376
00377 #define ccdDB_SET_WIPETIME "exposures:exposure_next.expWipeTime"
00378
00379
00380
00381
00382
00383
00384
00385 #define ccdDB_SET_XFERSYNC "exposures:exposure_next:transfer.itSync"
00386
00387
00388 #define ccdDB_SET_DISKSAVE "exposures:exposure_next:transfer.diskSaveMethod"
00389
00390
00391 #define ccdDB_SET_FILEUNC "exposures:exposure_next:transfer.fileNameUnComp"
00392
00393
00394 #define ccdDB_SET_FILECOM "exposures:exposure_next:transfer.fileNameComp"
00395
00396
00397 #define ccdDB_SET_PIXREPR "exposures:exposure_next:transfer.itPixRepr"
00398
00399
00400 #define ccdDB_SET_BITSHIFT "exposures:exposure_next:transfer.itBitShift"
00401
00402
00403 #define ccdDB_SET_COMPRESS "exposures:exposure_next:transfer.itCompression"
00404
00405
00406 #define ccdDB_SET_SAMPLING "exposures:exposure_next:transfer.itSampling"
00407
00408
00409
00410
00411
00412
00413 #define ccdDB_SET_DISPLAY "exposures:exposure_next:display.frameId"
00414
00415
00416
00417
00418
00419
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
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
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
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
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
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
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
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
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
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
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
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
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
00479
00480
00481
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
00489 #define ccdDB_SET_READPIX "exposures:exposure_next:readout.readPixelN"
00490
00491
00492 #define ccdDB_SET_MPPMODE "exposures:exposure_next:readout.mpp"
00493
00494
00495 #define ccdDB_SET_CLOCK "exposures:exposure_next:readout.clockIndex"
00496
00497
00498 #define ccdDB_SET_GAIN "exposures:exposure_next:readout.gainIndex"
00499
00500
00501 #define ccdDB_SET_SIMIMG "exposures:exposure_next:readout.fileNameSimu"
00502
00503
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
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
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
00524 #define ccdDB_SET_OUTPUTEN "readout.readOutputEn"
00525
00526
00527
00528
00529
00530
00531
00532
00533
00534
00535
00536
00537
00538
00539
00540 #define ccdDB_STA_LASTEXPID "exposures.lastExpId"
00541
00542
00543 #define ccdDB_STA_WS ".opStateWs"
00544
00545
00546 #define ccdDB_STA_LCU ".opStateLcu"
00547
00548
00549 #define ccdDB_STA_EXPTYPE "expType"
00550
00551
00552 #define ccdDB_STA_SINGLEEXP "singleExpStatus"
00553
00554
00555 #define ccdDB_STA_TIMEELA "timeEla"
00556
00557
00558 #define ccdDB_STA_TIMEELAMULTI "timeElaMulti"
00559
00560
00561 #define ccdDB_STA_TIMEDARK "timeDark"
00562
00563
00564 #define ccdDB_STA_TIMESTART "timeStarted"
00565
00566
00567 #define ccdDB_STA_TIMEENDED "timeEnded"
00568
00569
00570 #define ccdDB_STA_EXPREPS "expRepeatCur"
00571
00572
00573
00574
00575
00576
00577 #define ccdDB_STA_WIPESTART "readout.wipeStarted"
00578
00579
00580 #define ccdDB_STA_WIPEEND "readout.wipeTime"
00581
00582
00583 #define ccdDB_STA_MSTA "readout.opState"
00584
00585
00586 #define ccdDB_STA_CSTA "readout.status"
00587
00588
00589 #define ccdDB_STA_PERCENT "readout.percent"
00590
00591
00592 #define ccdDB_STA_GAIN "readout.gainIndex"
00593
00594
00595 #define ccdDB_STA_ADCTIME "readout.readAdcTime"
00596
00597
00598 #define ccdDB_STA_ELEADU "readout.readElAdu"
00599
00600
00601 #define ccdDB_STA_CLOCK "readout.clockIndex"
00602
00603
00604 #define ccdDB_STA_READPIX "readout.readPixelN"
00605
00606
00607 #define ccdDB_STA_MPPMODE "readout.mpp"
00608
00609
00610 #define ccdDB_STA_OUTPUT "readout.outEnab"
00611
00612
00613 #define ccdDB_STA_LINE "readout.last"
00614
00615
00616 #define ccdDB_STA_START "readout.started"
00617
00618
00619 #define ccdDB_STA_TIME "readout.time"
00620
00621
00622 #define ccdDB_STA_REPR "frameRepr"
00623
00624
00625 #define ccdDB_STA_ENAB "enabled"
00626
00627
00628 #define ccdDB_STA_XBIN "xBinning"
00629 #define ccdDB_STA_YBIN "yBinning"
00630
00631
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
00639
00640
00641
00642 #define ccdDB_IT_STA_TSTA "images:transfer.opState"
00643
00644
00645 #define ccdDB_IT_STA_CSTA "images:transfer.status"
00646
00647
00648 #define ccdDB_IT_RTD "images:display.frame"
00649
00650
00651 #define ccdDB_IT_STA_START "images:transfer.started"
00652
00653
00654 #define ccdDB_IT_STA_TIME "images:transfer.time"
00655
00656
00657 #define ccdDB_STA_IMAGELST "images.frame"
00658
00659
00660
00661
00662
00663
00664 #define ccdDB_STA_OPENSTART "shutter.openStarted"
00665
00666
00667 #define ccdDB_STA_OPENTIME "shutter.openTime"
00668
00669
00670 #define ccdDB_STA_CLOSESTART "shutter.closeStarted"
00671
00672
00673 #define ccdDB_STA_CLOSETIME "shutter.closeTime"
00674
00675
00676
00677
00678
00679
00680 #define ccdDB_OBS_UNKNOWN ""
00681
00682
00683 #define ccdDB_OBS_STP_DIR "observations.setupDirectory"
00684
00685
00686 #define ccdDB_NEW_DATA_POINT "<alias>newData"
00687 #define ccdDB_NEW_DATA_FILE_UNC "newDataFileName"
00688
00689
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