00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CCDCON_DEFINES_H
00016 #define CCDCON_DEFINES_H
00017
00018 #define ccdconMAX_SETUP_ATTR 80
00019
00020 #define ccdconREAD_TIMEOUT_FACTOR 5
00021
00022 #define ccdconEXP_INTE (ccdEXP_PENDING | ccdEXP_INTEGRATING | ccdEXP_PAUSED)
00023 #define ccdconEXP_LOOP (ccdEXP_LOOP_FINITE | ccdEXP_LOOP_INFINITE)
00024
00025
00026 #define ccdconEXP_NUM_ATTR 64
00027 #define ccdconEXP_NUM_PTS (ccdMAXEXP+1)
00028
00029 #define ccdconEXP_SET_GEN_expType 0
00030 #define ccdconEXP_SET_GEN_expStepsDef 1
00031 #define ccdconEXP_SET_GEN_expRepeatDef 2
00032 #define ccdconEXP_SET_GEN_expWipeTime 3
00033 #define ccdconEXP_SET_GEN_frameType 4
00034 #define ccdconEXP_SET_GEN_timeDefIdem 5
00035 #define ccdconEXP_SET_GEN_timeDef 6
00036 #define ccdconEXP_SET_GEN_timeDefMulti 7
00037 #define ccdconEXP_SET_GEN_timeRepeat 8
00038 #define ccdconEXP_SET_GEN_fitsInfoCollect 9
00039 #define ccdconEXP_SET_GEN_N 10
00040
00041 #define ccdconEXP_SET_XFR_diskSaveMethod (ccdconEXP_SET_GEN_N+0)
00042 #define ccdconEXP_SET_XFR_fileNameUnComp (ccdconEXP_SET_GEN_N+1)
00043 #define ccdconEXP_SET_XFR_fileNameComp (ccdconEXP_SET_GEN_N+2)
00044 #define ccdconEXP_SET_XFR_itPixRepr (ccdconEXP_SET_GEN_N+3)
00045 #define ccdconEXP_SET_XFR_itBitShift (ccdconEXP_SET_GEN_N+4)
00046 #define ccdconEXP_SET_XFR_itCompression (ccdconEXP_SET_GEN_N+5)
00047 #define ccdconEXP_SET_XFR_itSampling (ccdconEXP_SET_GEN_N+6)
00048 #define ccdconEXP_SET_XFR_itSync (ccdconEXP_SET_GEN_N+7)
00049 #define ccdconEXP_SET_XFR_N (ccdconEXP_SET_GEN_N+8)
00050
00051 #define ccdconEXP_SET_RTD_frameId (ccdconEXP_SET_XFR_N+0)
00052 #define ccdconEXP_SET_RTD_N (ccdconEXP_SET_XFR_N+1)
00053
00054 #define ccdconEXP_SET_RDT_linesToShiftType (ccdconEXP_SET_RTD_N+0)
00055 #define ccdconEXP_SET_RDT_linesToShift (ccdconEXP_SET_RTD_N+1)
00056 #define ccdconEXP_SET_RDT_linesToShiftMulti (ccdconEXP_SET_RTD_N+2)
00057 #define ccdconEXP_SET_RDT_readPixelN (ccdconEXP_SET_RTD_N+3)
00058 #define ccdconEXP_SET_RDT_mpp (ccdconEXP_SET_RTD_N+4)
00059 #define ccdconEXP_SET_RDT_clockIndex (ccdconEXP_SET_RTD_N+5)
00060 #define ccdconEXP_SET_RDT_gainIndex (ccdconEXP_SET_RTD_N+6)
00061 #define ccdconEXP_SET_RDT_fileNameSimu (ccdconEXP_SET_RTD_N+7)
00062 #define ccdconEXP_SET_RDT_N (ccdconEXP_SET_RTD_N+8)
00063
00064 #define ccdconEXP_SET_WIN_N 8
00065 #define ccdconEXP_SET_PRC_N 16
00066 #define ccdconEXP_SET_WINPRC_N (ccdconEXP_SET_WIN_N + ccdconEXP_SET_PRC_N)
00067 #define ccdconEXP_SET_WINPRC_BASE(w) (ccdconEXP_SET_RDT_N + (w)*ccdconEXP_SET_WINPRC_N)
00068
00069 #define ccdconEXP_SET_WIN_enabled(w) (ccdconEXP_SET_WINPRC_BASE(w) + 0)
00070 #define ccdconEXP_SET_WIN_idem(w) (ccdconEXP_SET_WINPRC_BASE(w) + 1)
00071 #define ccdconEXP_SET_WIN_xBinning(w) (ccdconEXP_SET_WINPRC_BASE(w) + 2)
00072 #define ccdconEXP_SET_WIN_yBinning(w) (ccdconEXP_SET_WINPRC_BASE(w) + 3)
00073 #define ccdconEXP_SET_WIN_xFirst(w) (ccdconEXP_SET_WINPRC_BASE(w) + 4)
00074 #define ccdconEXP_SET_WIN_xDim(w) (ccdconEXP_SET_WINPRC_BASE(w) + 5)
00075 #define ccdconEXP_SET_WIN_yFirst(w) (ccdconEXP_SET_WINPRC_BASE(w) + 6)
00076 #define ccdconEXP_SET_WIN_yDim(w) (ccdconEXP_SET_WINPRC_BASE(w) + 7)
00077
00078 #define ccdconEXP_SET_PRC_ipMinMax(w) (ccdconEXP_SET_WINPRC_BASE(w) + 8)
00079 #define ccdconEXP_SET_PRC_ipBias(w) (ccdconEXP_SET_WINPRC_BASE(w) + 9)
00080 #define ccdconEXP_SET_PRC_ipFlatField(w) (ccdconEXP_SET_WINPRC_BASE(w) + 10)
00081 #define ccdconEXP_SET_PRC_ipAverageN(w) (ccdconEXP_SET_WINPRC_BASE(w) + 11)
00082 #define ccdconEXP_SET_PRC_ipCentroiding(w) (ccdconEXP_SET_WINPRC_BASE(w) + 12)
00083 #define ccdconEXP_SET_PRC_ipCentrRefX(w) (ccdconEXP_SET_WINPRC_BASE(w) + 13)
00084 #define ccdconEXP_SET_PRC_ipCentrRefY(w) (ccdconEXP_SET_WINPRC_BASE(w) + 14)
00085 #define ccdconEXP_SET_PRC_ipCentrThreshMin(w) (ccdconEXP_SET_WINPRC_BASE(w) + 15)
00086 #define ccdconEXP_SET_PRC_ipCentrThreshMax(w) (ccdconEXP_SET_WINPRC_BASE(w) + 16)
00087 #define ccdconEXP_SET_PRC_ipBackGround(w) (ccdconEXP_SET_WINPRC_BASE(w) + 17)
00088 #define ccdconEXP_SET_PRC_ipUserFuncName(w) (ccdconEXP_SET_WINPRC_BASE(w) + 18)
00089 #define ccdconEXP_SET_PRC_ipUserBuffName(w) (ccdconEXP_SET_WINPRC_BASE(w) + 19)
00090 #define ccdconEXP_SET_PRC_ipLLX(w) (ccdconEXP_SET_WINPRC_BASE(w) + 20)
00091 #define ccdconEXP_SET_PRC_ipLLY(w) (ccdconEXP_SET_WINPRC_BASE(w) + 21)
00092 #define ccdconEXP_SET_PRC_ipURX(w) (ccdconEXP_SET_WINPRC_BASE(w) + 22)
00093 #define ccdconEXP_SET_PRC_ipURY(w) (ccdconEXP_SET_WINPRC_BASE(w) + 23)
00094
00095
00096
00097 #endif
00098
00099
00100
00101