00001 00017 #ifndef __vectors_h 00018 #define __vectors_h 1 00019 #include "indicom.h" 00020 #include "indidevapi.h" 00021 #include "indiapi.h" 00022 #define mydev "HOLI 1m Cassegrain" /* Device name */ 00023 #define MAIN_GROUP "Main Control" /* Group name */ 00024 #define PREVIEW_GROUP "Image" 00025 #define WIDTH ((int) CtrlN[0].value) 00026 #define HEIGHT ((int) CtrlN[1].value) 00027 #define BYTESPERPIX ((int) CtrlN[3].value) 00028 00029 extern ISwitch aCCUSwitches[] ; 00030 extern ISwitchVectorProperty vCCUSwitches; 00031 extern ISwitch aCCUResetSwitches[] ; 00032 extern ISwitchVectorProperty vCCUResetSwitches; 00033 00034 extern INumber aInstCtrlNumbers[] ; 00035 extern INumberVectorProperty vInstCtrlNumbers; 00036 extern INumber aInstCtrlNumbersRW[] ; 00037 extern INumberVectorProperty vInstCtrlNumbersRW; 00038 00039 extern INumber aTelescopeNumbers[] ; 00040 extern INumberVectorProperty vTelescopeNumbers ; 00041 00042 extern INumber aSpecialGain[] ; 00043 extern INumberVectorProperty vSpecialGain; 00044 extern INumber aAcqGain[] ; 00045 extern INumberVectorProperty vAcqGain; 00046 00047 extern ISwitch aACQImgType[] ; 00048 extern ISwitchVectorProperty vACQImgType; 00049 extern INumber aACQNumbers[] ; 00050 extern INumberVectorProperty vACQNumbers ; 00051 extern INumber aSpecialNumbers[] ; 00052 extern INumberVectorProperty vSpecialNumbers ; 00053 00054 extern ISwitch aACQMainSW[] ; 00055 extern ISwitchVectorProperty vACQMainSW; 00056 extern ISwitch aDBMainSW[]; 00057 extern ISwitchVectorProperty vDBMainSW; 00058 extern ISwitch aSpecialMainSW[] ; 00059 extern ISwitchVectorProperty vSpecialMainSW; 00060 extern ISwitch aACQFlushSW[] ; 00061 extern ISwitchVectorProperty vACQFlushSW; 00062 00063 extern INumber aFilterSelected[]; 00064 extern INumberVectorProperty vFilterSelected; 00065 00066 extern ISwitch aSpecialSW[] ; 00067 extern ISwitchVectorProperty vSpecialSW ; 00068 00069 extern ISwitch aSpecialSequence[]; 00070 extern ISwitchVectorProperty vSpecialSequence; 00071 00072 extern ISwitch aAcqSequence[]; 00073 extern ISwitchVectorProperty vAcqSequence; 00074 00075 extern ISwitch aCCUDatabase[100]; 00076 extern ISwitchVectorProperty vCCUDatabase; 00077 00078 00079 extern ISwitch aFilter[]; 00080 extern ISwitchVectorProperty vFilter; 00081 00082 extern IBLOB aQueueBlobs[1] ; 00083 extern IBLOBVectorProperty vQueueBlobs ; 00084 00085 extern IBLOB aDbBlobs[2] ; 00086 extern IBLOBVectorProperty vDbBlobs ; 00087 00088 extern IBLOB aMltBlobs[1] ; 00089 extern IBLOBVectorProperty vMltBlobs ; 00090 00091 00092 extern ISwitch power[]; 00093 extern ISwitchVectorProperty powSw; 00094 00095 extern ISwitch StreamS[]; 00096 extern ISwitchVectorProperty StreamSP; 00097 extern volatile INumber CtrlN[] ; 00098 extern INumberVectorProperty CtrlNP; 00099 00100 extern IBLOB imageB; 00101 extern IBLOBVectorProperty imageBP ; 00102 00103 extern INumber aImageStat[]; 00104 extern volatile INumberVectorProperty vImageStat; 00105 00106 extern ISwitch aCCUOptions[]; 00107 extern ISwitchVectorProperty vCCUOptions; 00108 00109 extern ISwitch aAUTOSW[]; 00110 extern ISwitchVectorProperty vAUTOSW; 00111 00112 extern INumber aAUTONumbers[]; 00113 extern INumberVectorProperty vAUTONumbers; 00114 extern INumber aAUTONumbersRO[]; 00115 extern INumberVectorProperty vAUTONumbersRO; 00116 00117 extern ISwitch aTexSW[] ; 00118 extern ISwitchVectorProperty vTexSW; 00119 00120 00121 extern IBLOB aTexBlob[]; 00122 extern IBLOBVectorProperty vTexBlob; 00123 00124 extern IBLOB aLogBlob[]; 00125 extern IBLOBVectorProperty vLogBlob; 00126 00127 extern IBLOB aBackupBlob[]; 00128 extern IBLOBVectorProperty vBackupBlob; 00129 00130 extern IBLOB aTexAppendBlob[]; 00131 extern IBLOBVectorProperty vTexAppendBlob; 00132 00133 extern IBLOB aCommnetBlob[] ; 00134 extern IBLOBVectorProperty vCommnetBlob; 00135 00136 extern INumber aProgessNumbers[]; 00137 extern INumberVectorProperty vProgessNumbers; 00138 00139 extern INumber aPreviewNumbers[]; 00140 extern INumberVectorProperty vPreviewNumbers ; 00141 00142 extern ISwitch aPreviewSW[]; 00143 extern ISwitchVectorProperty vPreviewSW; 00144 00145 extern ISwitch aFitsoutputSW[]; 00146 extern ISwitchVectorProperty vFitsoutputSW; 00147 00148 extern IBLOB aCCUINBlob[] ; 00149 extern IBLOBVectorProperty vCCUINBlob ; 00150 extern IBLOB aCCUOUTBlob[]; 00151 extern IBLOBVectorProperty vCCUOUTBlob ; 00152 00153 extern ISwitch aBeat[] ; 00154 extern ISwitchVectorProperty vBeat ; 00155 00156 00157 00158 00159 extern IBLOB aTelescopeTexts[] ; 00160 extern IBLOBVectorProperty vTelescopeTexts; 00161 extern IBLOB aCCUTexts[]; 00162 extern IBLOBVectorProperty vCCUTexts; 00163 extern IBLOB aCCUCodesText[]; 00164 extern IBLOBVectorProperty vCCUCodesText; 00165 extern IBLOB aCCUProgressText[]; 00166 extern IBLOBVectorProperty vCCUProgressText; 00167 extern IBLOB aInstCtrlTexts[]; 00168 extern IBLOBVectorProperty vInstCtrlTexts ; 00169 extern IBLOB aACQObjectname[]; 00170 extern IBLOBVectorProperty vACQObjectname; 00171 extern IBLOB aACQStatusText[]; 00172 extern IBLOBVectorProperty vACQStatusText; 00173 extern IBLOB aDAPTexts[]; 00174 extern IBLOBVectorProperty vDAPTexts; 00175 extern IBLOB aFitsTexts[]; 00176 extern IBLOBVectorProperty vFitsTexts; 00177 00178 #endif