SPATRAM
18/09/2017
|
Function prototypes. More...
Go to the source code of this file.
Functions | |
void | AboutCB (MOBJECT o, void *s, void *v) |
Create the About information shell. . More... | |
void | ActEditCB (MOBJECT edit, char *text, void *ed) |
Text Application callback Apply to the variables the text typed in various text box and validated by ValidateCB(MOBJECT edit, EDIT_VAL *ev, void *ii) More... | |
void | ActMvGratCB (MOBJECT edit, char *text, void *ed) |
Move Grating of a free steps number callback. . More... | |
void | ADTesterCB (MOBJECT shell, void *od, void *ad) |
Test Temperature AD Converter callback. More... | |
long * | AllocLongMat (int hp, int vp) |
void | AMS_Error (int w) |
Alerts for AMS errors Creates a message window reporting the number of the error. More... | |
void | ApplyChCB (MOBJECT shell, void *od, void *ad) |
Apply changes in DAS Config callback. More... | |
void | ApplyImgCB (MOBJECT shell, void *od, void *ad) |
Image type Application callback Apply to the CCD buffer the selected type of image (MONO or RGB) More... | |
int | AssignParam (int mod) |
Assign parameters to the CP labels. . More... | |
double | AutoRange (int mod) |
Calculate the exposure time The optimum exposure time (TExp) is calculated with an initial TExpAR=0.1 s, and assuming the linearity between the CCD signal and the exposure time. If TExp calculated is lower than the minimum TExp allowed (0.02s) (meaning a saturation of the CCD), the appropriate filter is positioned and the procedure is repeated. If with TExpAR the delta(CCD(x,y))=Max(CCD(x,y))-Min(CCD(x,y)) is lower than 2000 counts (meaning very low radiation intensity) TExpAR is increased and the procedure repeated for at least 4 times (Max TExpAR ~ 5 s) More... | |
int | BrowseLog (void) |
int | BuildLogRatio (void) |
first attempt to apply the DOAS algorithm (..on going!!!) More... | |
double | CalcFluxIndex (unsigned short mis[], int dx, int dy, float te) |
calculates the Flux Index of a measurement More... | |
void | CCD_Error (char *str) |
Alerts for CCD errors Creates a message window reporting the number of the error. More... | |
void | CCDSetupCB (MOBJECT shell, void *od, void *ad) |
CCD setup Callback. Execute DCS.exe (DTA Camera Select) More... | |
int | ChkConfigInstance (void) |
int | ChkDigIO (unsigned char word, int bitn) |
check for digital I/O Status More... | |
int | ChkMaster (int mod) |
int | ChkWinInstance (char *buff, MOBJECT obj) |
void | CloseColPickCB (MOBJECT obj, void *s, void *v) |
Declared but not used. More... | |
void | CloseConfigCB (MOBJECT shell, void *od, void *ad) |
Close DAS-Config callback close the DAS_Config window. If the testing of the ADConverter is running it is stopped. More... | |
void | CloseFontViewCB (MOBJECT p, void *a, void *data) |
This callback Unloads the latest loaded font and destroys the dialog. More... | |
char * | CodeEq2Name (int code) |
code Equipment to Name More... | |
void | ColObjCB (MOBJECT o, void *a, void *v) |
select the object to consider for color picking More... | |
void | ColorAssignCB (MOBJECT o, void *o_data, void *a_data) |
void | ColorFreeCB (MOBJECT o, void *o_data, void *a_data) |
Declared but not used. More... | |
void | ColorMapExposeCB (MOBJECT obj, MEvent *pexp, void *a_data) |
Declared but not used. More... | |
void | ColorMapInputCB (MOBJECT obj, MEvent *pe, void *a_data) |
Declared but not used. More... | |
void | ColorMapResizeCB (MOBJECT obj, DRAWAREA_PREF *pref, void *a_data) |
Declared but not used. More... | |
void | ColorSaveCB (MOBJECT o, void *o_data, void *a_data) |
Declared but not used. More... | |
void | ColPickBackForeGCB (MOBJECT o, void *a, void *v) |
select if the foreground or background color of the selected object will be picked More... | |
void | ColumnFCB (MOBJECT p, void *od, void *ad) |
void | ComErrors (int w) |
Alerts for COM errors Creates a message window reporting the number of the error. More... | |
void | ConfigCB (MOBJECT p, void *od, void *ad) |
DAS Configuration shell creation callback. More... | |
void | D_AutoExecution (void) |
*.PRG Automatic Execution in Automatic Mode More... | |
void | D_Average (int mod) |
Performs averaged measurements . More... | |
void | D_AverageTFix (void) |
NOT Used . More... | |
void | D_BuildH (int mod, int s) |
Build Header of the measurements . . More... | |
int | D_Calibra (void) |
Spectral Calibration Procedure for the spectral calibration with HG lamp. Shift of HG spectral line at 4358.4 on pixel 512. More... | |
void | D_CloseVR (MOBJECT p, void *od, void *ad) |
Callback closing the status bar. More... | |
void | D_FixSZA (void) |
int | D_InitPC104 (void) |
Starting function that calls the driver functions used NOTE: By convention, you should capture the BYTE return value for each driver API call, and check the error code. I. Driver Initialization II. Board Initialization III. AD Settings. More... | |
void | D_Plot (void) |
ViewPlot callback . More... | |
void | D_Positioning (MOBJECT p, int id, long tout) |
Callback for the void D_VRange and display also the status in the corresponding CP labels. More... | |
void | D_Print_BIL_H_ASCII (int mod, FILE *fff) |
void | D_PrintBILSPH (FILE *fff) |
Print Header. More... | |
void | D_PrintBILSPH_BIN (int fd) |
Print on file the binary header of the measured spectrum. More... | |
void | D_PrintHMod (FILE *fff) |
Print the header in Column format. More... | |
void | D_PrintSpectrum (FILE *fff) |
Print Spectrum. More... | |
void | D_rt (void) |
D_readtemp_int callback . More... | |
void | D_Saving (void) |
Saving image. Procedure for saving the CCD Image Used since version 2.1.0. The coiche between binary and ASCII saving mode is obtained with the mode Flag optionini. More... | |
void | D_SunCalc (void) |
Sun Calculator Callback. More... | |
void | D_UndoCB (MOBJECT o, void *a, void *v) |
Undo the previous color setting operation. More... | |
void | D_VRange (char *str, int val, int r, int g, int b) |
Create and display the status bar. More... | |
void | D_VRangeSim (int id, char *str, int val, int r, int g, int b, int x, int y) |
init progress bar during simultaneous positioning More... | |
int | D_WriteInitLog (char *str) |
writes devices errors(AMS, CCD...) on the Devices.log file. More... | |
void | DAS_Error (int c) |
void | DAS_Message (char *str, int er) |
void | DB_2DPlot (char *title, int x, int y, int dx, int dy, int mode) |
2D_Plot panel callback. More... | |
void | DB_AMSposmode_CB (MOBJECT o, void *a, void *v) |
callback selecting the positioning mode for stepper motors ( sequential or simulaneaous) More... | |
void | DB_AMSProgBar_CB (MOBJECT o, void *a, void *v) |
callback selecting if show or not the progress bar for motor positioning More... | |
int | DB_Ask (char *tit, char *bmp, char *label, char *pre, int len, char *pbtype) |
Input Shell Create an input box. More... | |
void | DB_Ask_SheelESC (MOBJECT obj, MKeyEvent *pe, void *a_data) |
Input Shell Callback Callback for the Input Shell destruction at the pression of the ESC key. More... | |
void | DB_AskCB (MOBJECT p, void *od, void *ad) |
Input Shell Callback Callback for the Input Shell. More... | |
int | DB_CalcFluxI (char *nomefile) |
void | DB_CellExposeCB (MOBJECT obj, MEvent *pexp, void *a_data) |
display selected Color More... | |
void | DB_CellResizeCB (MOBJECT obj, DRAWAREA_PREF *pref, void *a_data) |
display selected Color More... | |
void | DB_ChangeColorCellCB (MOBJECT o, MVALUE o_data, void *a_data) |
draw the object 'o' with the selected color More... | |
void | DB_ChooseButtons (int w) |
void | DB_CloseAsk (MOBJECT p, void *od, void *ad) |
Input Shell Callback Callback for the Input Shell destruction. More... | |
int | DB_CloseCOM (void) |
Close the previously opened COM port. More... | |
void | DB_ColorAssign (MOBJECT a[], int numel, short tc[]) |
Assign to the selected object the chosen color. More... | |
void | DB_ColorPick (MOBJECT o) |
int | DB_Column (char *sourcefilename) |
Column format. More... | |
void | DB_DefectPixCorr (void) |
Apply thew pixel correction. . More... | |
void | DB_DispBlindPixCB (MOBJECT o, void *id, void *a_data) |
Display Blind Pixel Callback Set if the blind pixels will be displayed or not on the plot window. More... | |
void | DB_Do2Undo_Colors (short docol[], short undocol[]) |
void | DB_Do2Undo_Fonts (MTFont dofont, MTFont undofont) |
void | DB_EqTypeCB (MOBJECT o, void *a, void *v) |
void | DB_Fil_CB (MOBJECT p, void *od, void *ad) |
callback for filter wheel positioning in Filter shell More... | |
void | DB_FilSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for select a specified filter push button with the keyboard More... | |
void | DB_FilSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
void | DB_FilterCB (MOBJECT p, void *od, void *ad) |
Filter positioning callback. More... | |
void | DB_FilterType_CB (MOBJECT o, void *a, void *v) |
callback selecting the type of installed filter wheel module More... | |
void | DB_FontAssign (MOBJECT a[], int numel, MTFont fnt) |
This callback assign font to the selected object. More... | |
int | DB_GetCCD (int mod) |
Get CCD Image. . More... | |
int | DB_HelpCB (MOBJECT o, void *od, void *ad) |
Help Callback Create the help in the predefined WEB Browser. More... | |
void | DB_ImgTypeCB (MOBJECT o, void *id, void *a_data) |
Set the Image type. More... | |
int | DB_InfCB (MOBJECT o, void *od, void *ad) |
Inf Callback Create the Inf shell. More... | |
int | DB_InitAMS (int nid, int mod, int powera, int stepa, int slopea, int speeda, int powerb, int stepb, int slopeb, int speedb) |
Init selected AMS. More... | |
int | DB_InitCamera (int mod) |
Initialize Camera Parameters. Procedure that initialize the CCD Camera. More... | |
int | DB_InitCOM (int comn) |
Init selected COM port. More... | |
int | DB_InitDil (void) |
Initialize DIL. Procedure that initialize the DTA Imaging library. More... | |
int | DB_InitMotor (int mod) |
Initialize AMS. Procedure that initialize the parameters for the AMS's devices. More... | |
void | DB_KB_ButtonActive (int mod) |
Enable/Disable Push buttons on the Control Panel. More... | |
void | DB_KeyB_CB (MOBJECT p, void *od, void *ad) |
Push buttons callback . More... | |
void | DB_KeyComSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for selsct a specified push button with the keyboard More... | |
void | DB_KeyComSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback for selsct a specified push button with the keyboard More... | |
void | DB_LampSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback for selsct a specified push button with the keyboard More... | |
void | DB_MIGE_CB (MOBJECT o, void *a, void *v) |
callback selecting the operation mode for the AltAzPlatform More... | |
void | DB_MIGEopmode_CB (MOBJECT o, void *a, void *v) |
callback selecting the operation mode for the AltAzPlatform More... | |
void | DB_MIGEType_CB (MOBJECT o, void *a, void *v) |
void | DB_Mir_CB (MOBJECT p, void *od, void *ad) |
callback for input mirror positioning in Mirror shell More... | |
void | DB_MirrorImg_CB (MOBJECT o, void *a, void *v) |
callback selecting the activation of the mirroring of the CCD image along the X or Y axis More... | |
void | DB_MirSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for selsct a specified mirror push button with the keyboard More... | |
void | DB_MirSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
void | DB_NDFil_CB (MOBJECT p, void *od, void *ad) |
callback for filter wheel positioning in Filter shell More... | |
void | DB_NDFilSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for select a specified filter push button with the keyboard More... | |
void | DB_NDFilSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
void | DB_Pause (void) |
void | DB_PlotDisplayCB (MOBJECT o, void *id, void *a_data) |
Select if the PLOT will be displayed after the measurement . More... | |
void | DB_PlotYAxisCB (MOBJECT o, void *id, void *a_data) |
Select the Y axis Unit mode . More... | |
void | DB_RadDrkSourceCB (MOBJECT o, void *a, void *v) |
Set the dark source. More... | |
void | DB_RadioAvgModeCB (MOBJECT o, void *id, void *a_data) |
Set the Averaging mode flag. More... | |
void | DB_RadioDarkCB (MOBJECT o, void *id, void *a_data) |
Set the dark removing from the measurements. More... | |
void | DB_RadioFNSelCB (MOBJECT o, void *id, void *a_data) |
Set the file name mode. More... | |
void | DB_RadioModeSelCB (MOBJECT o, void *id, void *a_data) |
Set the saving mode. More... | |
void | DB_RadioPixCorrCB (MOBJECT o, void *id, void *a_data) |
Set the image Correction flag. More... | |
int | DB_ReInitCamera (void) |
Re-Initialize Camera Parameters. Procedure that re-initialize the parameters for the CCD Camera. More... | |
void | DB_Save (char *tit, int mod) |
Save the acquired spectrum. Procedure that Save the acquired spectrum. More... | |
void | DB_save_img (char *tit, int mod) |
Saving image. Procedure for saving the CCD Image Used until version 2.0.9, Since 2.1.0 D_Saving(void) is used. More... | |
double | DB_ScanMaxMin (int w, float *mx, float *mi, int bp) |
Find Max and Min values for the buffer of order w. More... | |
void | DB_SelOutModeCB (MOBJECT o, void *id, void *a_data) |
Select the Output for the Temperature AD Converter . More... | |
void | DB_SetCCDTargetTempCB (MOBJECT o, void *id, void *a_data) |
Select the CCD temperature mode . More... | |
void | DB_SetXUnitsCB (MOBJECT o, void *id, void *a_data) |
Select the X axis Unit mode . More... | |
void | DB_Shutter_CB (MOBJECT o, void *a, void *v) |
callback selecting if the shutter is installed or not More... | |
void | DB_ShutterType_CB (MOBJECT o, void *a, void *v) |
callback selecting the type of installed shutter More... | |
int | DB_StepMotor (int id, int motor, long step, int dir) |
Send steps to the selected stepper motor. . More... | |
void | DB_Undo2Do_Colors (short undocol[], short docol[]) |
Assign to the DO_Color structure the Color Values of the UNDO_Color Structure. More... | |
void | DB_Undo2Do_Fonts (MTFont undofont, MTFont dofont) |
void | DB_VMRsfCB (MOBJECT o, void *id, void *a_data) |
Set the flag for modification or reload of DAS configuration files Set the VMRsf (View Modify Re-load system files) flag. More... | |
void | DB_Wl_CB (MOBJECT p, void *od, void *ad) |
callback for grating positioning in Wavelength shell More... | |
void | DB_WlSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for selsct a specified wavelength push button with the keyboard More... | |
void | DB_WlSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
void | DB_WriteMode (int mod) |
void __stdcall | DD_VRange (const char *str, int perc, int Port) |
void | DDMessage (char *str) |
void | delay (unsigned long d) |
Pauses for a specified number of milliseconds. . More... | |
void | DiffCB (MOBJECT p, void *od, void *ad) |
void | DMessage (char *str) |
void | DOASProcCB (MOBJECT p, void *od, void *ad) |
void | DOASSetupCB (MOBJECT p, void *od, void *ad) |
void | DrawAreaExpFontCB (MOBJECT obj, MEvent *pe, void *data) |
This callback draws strings using the selected font. More... | |
int | DT_ColFormat (void) |
Callback for Column format. More... | |
int | DT_CorrFileEvora (void) |
Used to correct some data files. More... | |
int | DT_CorrHeader () |
Used to correct the header in some data files. More... | |
int | DT_FluxIndex (void) |
Callback for Flux Index Calculation. More... | |
int | DT_LinkSpectra (void) |
For the linked spectra (..on going!!!) More... | |
void | E_AAMeasure (void) |
perform measurements with the Alt Azimuth Platform perform measurements with the Alt Azimuth Platform positioning all the spectrometer devices More... | |
void | E_AAPos (void) |
alt Az Positioning. Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform) More... | |
void | E_Almucantar (void) |
. All the E_xxxxx() function are used during the execution in PRG mode More... | |
void | E_AutoRange (void) |
Autoranging. Procedure for Autoranging. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Average (void) |
Averaged Measurements. Procedure for Averaged Measurements. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_AvgCCDHor (void) |
Averaged Horizontal Measurements. Procedure for Averaged Measurements with external lamp. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Azimuth (void) |
Position Azimuth Axis. More... | |
void | E_Calibra (void) |
Execute D_Calibra. D_Calibra is a procedure for the spectral calibration with HG lamp. Shift of HG spectral line at 4358.4 on pixel 512 All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_ChkExLamp (void) |
void | E_Dark (void) |
Execute Dark Measurement. Procedure for Dark Measurement. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_DFMeasure (void) |
Perform Measurement setting the ND Filter Wheel also. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_DirectSun (void) |
. All the E_xxxxx() function are used during the execution in PRG mode More... | |
void | E_Expo (void) |
Exposuring. Read the Exposure time from PRG file. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_ExtLampOFF (void) |
External lamp OFF. More... | |
void | E_ExtLampON (void) |
External lamp ON. More... | |
void | E_ExtShutClose (void) |
Close External Shutter. More... | |
void | E_ExtShutOpen (void) |
Open External Shutter. More... | |
void | E_Filter (void) |
Filter Wheel positioning. Procedure for Filter Wheel positioning. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_GetCCD (void) |
Get CCD. Execute DB_GetCCD. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Hg_Off (void) |
HG OFF. Hg lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Hg_On (void) |
HG ON. Hg lamp ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_HGratCal (void) |
Perform home grating and HG Calibration. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_HgScan (void) |
Check the full spectral range with HG ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM1 (void) |
Home for SM1. Set the reference position for Stepper motor 1 (Input Mirror). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM2 (void) |
Home for SM2. Set the reference position for Stepper motor 2 (Grating). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM3 (void) |
Home for SM3. Set the reference position for Stepper motor 3 (Filter Wheel). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM4 (void) |
Home for SM4. Set the reference position for Stepper motor 4 (Neutral density filter wheel). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM5 (void) |
Home for SM5. Set the reference position for Stepper motor 5 (MIGE Zenith). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM6 (void) |
Home for SM6. Set the reference position for Stepper motor 6 (MIGE Azimuth). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_IRefSun (void) |
Io Measured near the sun. This procedure carries out a measurements for the reference spectrum used in DOAS analysis, with the alt Azimut platfor pointing the sun. Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform) More... | |
void | E_Label (void) |
labeling. The text after the key-word is a label. All the E_xxxxx() function are used during the execution in PRG mode More... | |
void | E_Lambda (void) |
Lambda Reading. When the WAVELEN key-word is encountred in the PRG file, the Wavelength code from PRG file is read and the grating is positioned. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Meashor (void) |
perform horizontal measurements (3) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1) 3) measurement without the external lamp (exposure time recalculated) More... | |
void | E_Meashor2 (void) |
perform horizontal measurements (2) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1) More... | |
void | E_Measure (void) |
Perform Measurement. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Mirror (void) |
Inpot Mirror positioning. Procedure for Input mirror positioning. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_NDFilter (void) |
Set ND Filter. Set ND Filter All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Plot (void) |
Plot Spectrum. Plot Spectrum. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Qj_Off (void) |
Qj OFF. QJ - Halogen - lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Qj_On (void) |
Qj ON. QJ - Halogen - lamp ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_QjScan (void) |
Check the full spectral range with QJ ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Radio (void) |
Radiometric Measurements. Procedure for Radiometric Measurements. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_REM (void) |
Flush string since the Carriege Return. Procedure for flushing the readed string since the Carriege Return. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Save (void) |
Save Image. Procedure for saving image or data. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDOffSet (void) |
Set the CCD Offst (only for HIRES-V. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDPow (void) |
Set CCD Power. Set CCD Power. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDTemp (void) |
Set CCD Temp. Set CCD Temp. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDVBin (void) |
Set CCD Vert Binn. Set CCD Vert Binn. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_WAIT (void) |
Delay Procedure. sleep the program . All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Zenith (void) |
Position Zenith Axis. More... | |
char * | EquipCode2Name (int eqcode, char *src, char *dest) |
translate the Equipment Code in the Equipment Name More... | |
char * | ERR_Option (int ercode) |
Alerts for OPTION.INI errors Creates a message window reporting the reasons for the error. More... | |
void | ExitCB (MOBJECT p, void *od, void *ad) |
int | ExtLamp (int mod) |
change the status of the external lamp change the status of the external lamp (ON or OFF) through a radio signal controlled by the AMS output port (bit 7) NOTE - This feature is not used!!!!!! More... | |
int | ExtShutt (int mod) |
change the status of the external shutter change the status of the external shutter (OPEN or CLOSED) through a radio signal controlled by the AMS output port (bit 6) More... | |
void | FANECU (int mod) |
FAN ON/OFF . More... | |
void | FANPeltier (int mod) |
FAN ON/OFF . More... | |
int | Fetch (void) |
Reads the key-word in PRG Files . More... | |
void | FilterCB (MOBJECT p, void *od, void *ad) |
void | FixStepCB (MOBJECT p, void *od, void *ad) |
void | FlushLine (char *buf, int nc, FILE *f) |
Flush line of file f read a maximum of nc character since when the read char is different from ch(10) =line feed =LF. More... | |
void | FontOBJSelCB (MOBJECT obj, void *a, void *v) |
This callback select the object for applying font. More... | |
void | FormatData (void) |
trasform mm/gg/aa in gg/mm/aa More... | |
int | fraz2val (int mod, char *val) |
ratio value to decimal value opposite than listval2fraz or val2fraz More... | |
void | getdate (struct date *tp) |
get current date More... | |
void | GetDateTime (struct date *dp, struct time *tp, struct tm *when) |
int | GetDefPix (int mod) |
Maps the defective pixel. More... | |
void | gettime (struct time *tp) |
get current time More... | |
int | HeaderInPlot (void) |
Shows the measurements parameters . More... | |
int | hertz2int (int mod, char *string) |
translate the Hertz speed in AMS digit unit. More... | |
void | HgLamp (int mod) |
HG Lamp ON/OFF . More... | |
void | HiresPS (int mod) |
Hires Power Supply ON/OFF . More... | |
int | HomeAzimFast (void) |
Home for Azimuth Axis. More... | |
int | HomeFiltersFast (void) |
(Fastest) Fliter wheel in the reference Position. The Fliter wheel reaches the reference Position. Similar to HomeFilterWheel(void), but faster More... | |
int | HomeFilterWheel (void) |
Fliter wheel in the reference Position. The Fliter wheel reaches the reference Position. More... | |
int | HomeGrating (void) |
Grating in the reference Position. The Grating reaches the reference Position. More... | |
int | HomeGratingFast (int mod) |
(Fastest) Grating in the reference Position. The Grating reaches the reference Position. Similar to HomeGrating(void), but faster More... | |
int | HomeMirror (void) |
Input Mirror in the reference Position. The Input Mirror reaches the reference Position. More... | |
int | HomeMirrorFast (void) |
(Fastest) Mirror in the reference Position. The Mirror reaches the reference Position. Similar to HomeMirror(void), but faster More... | |
int | HomeNDFiltersFast (void) |
(Fastest) ND Fliter wheel in the reference Position. The ND Fliter wheel reaches the reference Position. Similar to HomeFilterWheel(void), but faster More... | |
int | HomeZenithFast (void) |
Home for Zenith Axis. More... | |
double | int2hertz (int mod, int k) |
double | int2perc (int mod, int k) |
translate the AMS digit unit in text. The power assigned to the motor trough the AMS, is translated in text More... | |
void | IoCreateCB (MOBJECT p, void *od, void *ad) |
void | IoSetupCB (MOBJECT p, void *od, void *ad) |
void | LinkSpectraCB (MOBJECT p, void *od, void *ad) |
void | listval2fraz (int mod, int val) |
Decimal value to ratio value The decimal value indicating the fractioning of the step is translated in ratio (i.e. 0 –> 1/2 = 400 s/r, 1–> 1/4 =800 s/r) More... | |
int | LoadDasSysCol (void) |
Load system colors. Procedure that load the DAS colors in the file {homedir}/config/DASSysColor.INI. More... | |
int | LoadDB_DefectPixel (char *buff) |
Load Defective pixel mask. Procedure that load the Defective pixel mask in the file {homedir}/config/ccd_defect_Danbo.cor. More... | |
int | LoadDB_DispCoeff (void) |
Load dispersion parameters. Procedure that load the dispersion parameters from file {homedir}/DOAS/DispCoeff.ini. More... | |
int | LoadDB_Options (void) |
Load Options. Procedure that load the Options in the file {homedir}/config/Options.INI. More... | |
void | LoadDefaultDFONT (void) |
Load Default Fonts. Procedure that load the DAS fonts if the file {homedir}/config/DASFonts.ini is not present. More... | |
void | LoadDefaultDPAL (void) |
Load Default system colors. Procedure that load the DAS colors if the file {homedir}/config/DASSysColor.INI is not present. More... | |
int | LoadDFONT (void) |
Load Fonts. Procedure that load the DAS fonts from {homedir}/config/DASFonts.ini AVAILABLE for Releases > 2.5.5. More... | |
int | LoadEquipment (void) |
Load the type of Equipment. {homedir}/config/param.ini. More... | |
int | LoadExec (char *fname) |
Load file for automatic execution. Procedure that load the file for automatic execution. More... | |
void | LoadFontCB (MOBJECT obj, void *a, void *data) |
This callback tries to load the specified font. More... | |
int | LoadFTPSetting (void) |
Load FTP Setting for daily back-up. More... | |
int | LoadGeoCoord (void) |
Load Geographic Coordinate of the station. Procedure that load the Geographic Coordinate of the station in the file {homedir}/config/GeoCoord.INI. More... | |
int | LoadGeoDB (void) |
int | LoadHardware (void) |
void | LoadIo (int mod, char *fname) |
int | LoadPaletteCB (MOBJECT o, void *o_data, void *a_data) |
Callback for LoadTestPalette. More... | |
int | LoadParam (void) |
Load the exe parameters. Procedure that load the parameters for CCD, Stepper Motors and Peltier from file {homedir}/config/param.ini. More... | |
int | LoadParamLog (void) |
Load file for CCD status. Procedure that load the file {homedir}/config/paramlog.ini, for the actual status of the CCD. More... | |
int | LoadTestPalette (char *nf) |
Load a test palette. Procedure that load a test palette. More... | |
int | LoadTruePalette (void) |
Load the palette map. Procedure that load the palette map from file {homedir}/Palettes/Danbomap1.map. More... | |
int | LoadWlstep (void) |
load the file of the wavelength vs steps More... | |
int | Lookfor4358 (void) |
function to scan the wl() array in order to identify the position of the 4358 reference wavelength return value: er = -1 –> value 4358 not encountered er >= 0 –> value 4358 found at er position More... | |
int | LookforWl_X (int x) |
void | MAPDefPix (int mod) |
create the Under/Over exposed pixels window At the pression of the button in DAS_Config the appropriate shell (For the creation of the Under or Over exposed pixel map) will be created. More... | |
void | MAPDefPixCB (MOBJECT o, void *id, void *a_data) |
GetDefPix(mod) Callback At the pression of the 'Execute' button in the appropriate shell the GetDefPix procedure will be executed. More... | |
void | Master_Error (int w) |
int | MD_CreateBRowShell (int nrows) |
Create windows of buttons. During the plotting of the measurements, create a shell of buttons if the raws of the CCD are more than 16. More... | |
MOBJECT | MDCreate2DPlot (char *title, int x, int y, int dx, int dy, int mode) |
create the 2D_Plot panel via the MDCreate_2DPlot. More... | |
MOBJECT | MDCreate_2DPlot (char *title) |
2DPlot Panel. Procedure that build the shell for the plotting of the LOG files. More... | |
MOBJECT | MDCreate_CP (void) |
Create Spectrometer Control Panel. Procedure that build the Control Panel for checking the spectrometer operations such as temperature monitoring, stepper motor positioning, data acquisition ... More... | |
MOBJECT | MDCreateDASConfig (void) |
DAS Config shell. Procedure that build the shell for the DAS Config panels. The DAS Config allow for setting a lot of the application parameters. More... | |
MOBJECT | MDCreateDOAS_MainSh (struct doas *pdoas) |
DOAS shell. Procedure that build the shell for the DOAS main panels. More... | |
MOBJECT | MDCreateExpo (char *tit) |
Create Exposure/countdown shell. Procedure that build the Exposure/countdown shell during the calculated or "apriori" imposed integration time. More... | |
void | MDCreateLISC (int c, int e) |
Command KEYBOARD. Procedure that build the shell for the Command KEYBOARD. Used in old versions. More... | |
void | MDCreateMoveGrat (void) |
Free Grating positioning. Procedure that build the shell for Free Grating positioning. More... | |
void | MDCreateMoveZenAzimDeg (void) |
int | MDCreateSh_Fil (void) |
Create the shell for the available Filters. Procedure that build the shell for the positioning of the filter wheel. They are installed during the instrument setup. More... | |
int | MDCreateSh_Home (void) |
int | MDCreateSh_Mir (void) |
Create the shell for the available Mirror Positions. Procedure that build the shell for the positioning of the Input Mirror. They are: 1) Zenith 2) Horizontal Right 3) Calibra (Down for the calibration sphere) 4) Horizontal Left. More... | |
int | MDCreateSh_NDFil (void) |
void | MDCreateSh_Plot (void) |
Plot shell. Procedure that build the shell for plotting the data. More... | |
int | MDCreateSh_PWD (void) |
Password shell. Procedure that build the shell for the System password in order to access the control panel of the application. More... | |
MOBJECT | MDCreatesh_vitesa (void) |
int | MDCreateSh_Wl (void) |
Create the shell for the available Wavelength. Procedure that build the shell for the availables wavelength. They are fixed and setted during the testing phase. More... | |
void | MDCreateWaitShell (void) |
Create a waiting window . More... | |
void | MDQuitCB (MOBJECT shell, void *od, void *ad) |
callback for closing a generic MGUI shell More... | |
void | Message (char *str, int er) |
Create a message shell for the AMS errors (Debug Use). . More... | |
void | MGUIMain (int argc, char **argv) |
MAIN PROGRAM starting point Actions: . More... | |
void | MGUIQuitCB (MOBJECT shell, void *od, void *ad) |
Exit MGUI Library. Procedure that close MGUI . More... | |
float | MIGEActualZenAz (int mode) |
convert SUN AZIMUTH and ZENITH angles, to be used with MIGE mode = 0 –> fix azimuth and return azimuth for MIGE positioning mode = 1 –> fix zenith and return zenith for MIGE positioning More... | |
void | MIGEAntiSunTrack (void) |
float | MIGEAz (float p) |
void | MIGESunTrack (void) |
float | MIGEZen (float p) |
void | ModifyConfFileCB (MOBJECT o, void *id, void *a_data) |
Modification DAS Configuration files Callback Set if the blind pixels will be displayed or not on the plot window. More... | |
int | NOVA_In (int novatype, unsigned int DigIn) |
Read the NOVA Input port. More... | |
int | NOVA_Out (int novatype, unsigned int DigOut) |
Write the NOVA Output port. More... | |
void | NovaTypeCB (MOBJECT p, void *od, void *ad) |
Callback for NOVA selection. More... | |
void | PB_H_CB (MOBJECT p, void *od, void *ad) |
Quick Help Callback. More... | |
void | PBTempHistoCB (MOBJECT p, void *od, void *ad) |
void | Peltier (int mod) |
Peltier ON/OFF . More... | |
void | PeltierPS (int mod) |
Peltier Power Supply ON/OFF . More... | |
int | perc2int (int mod, char *string) |
translate the percent power in AMS digit unit. The percent power assigned to the motor trough the AMS , is translated in digital unit (i.e. 50% –> 38) More... | |
void | PerformMeas (int mod, int ar, double te, int mt, int sv, int pl) |
Perform Averaged or single measurements. More... | |
int | PID_Calc (int mod, int pow) |
int | PRG_Check (int mod, char *prgname) |
void | print2file (FILE *ff, int x, int y, unsigned int m) |
Print to file the defective pixel. More... | |
void | q_sort (float numbers[], int left, int right) |
quick sort of one array More... | |
void | QjLamp (int mod) |
QJ Lamp ON/OFF . More... | |
void | quickSort (float numbers[], int array_size) |
callback for q_sort() More... | |
void | Radio (int g) |
NOT Used . More... | |
int | ReadHeader_ASCII (int mod, FILE *fd) |
Read ASCII Header of the measurement. . More... | |
int | ReadHeader_BIN (int fd) |
read the BINARY header of the stored spectrum More... | |
int | ReadHeaderOldF (FILE *fd) |
read the ASCII header of the stored spectrum (OLD FORMAT - replaced by ReadHeaderOnly(FILE *fd) More... | |
int | ReadHeaderOnly (FILE *fd) |
read the ASCII header of the stored spectrum More... | |
void | ReadIMG (FILE *file, unsigned short *mat, int hp, int vp) |
Read ASCII Image (Spectral Data only) . More... | |
void | ReadIMG_BIN (int fd, unsigned short *mat, int hp, int vp) |
read the BINARY stored spectrum More... | |
void | ReadIMG_old (FILE *file, int hp, int vp) |
NOT Used . More... | |
void | ReadLine (char *buf, int nc, FILE *f) |
Read Line on a file Read one record of nc character on the file f. More... | |
int | ReadLogFile (int mod, char *dir, char *filename, int nx, int ny, struct omutemp) |
Read DAS LOG File. . More... | |
int | RefreshDrArea (MOBJECT obj) |
Redraw the draw arwa in a 2D Plot window. More... | |
int | RemoveSpikes (int mod, unsigned short *mat, int horpix, int verpix, int blindpix) |
Removes Spikes on a measure. More... | |
void | ResumeCB (MOBJECT p, void *od, void *ad) |
void | RunFULL (void) |
DAS Main LOOP for Equipment management This Procedure is called by the MGUIMain function when the execution mode is: . More... | |
void | SaveCalib (int mod) |
void | ScreenInfoCB (MOBJECT o, void *s, void *v) |
int | SD_Azimuth (float ang, float raz) |
Positioning Azimuth. The Zenith reaches the position specified by ang. More... | |
int | SD_FilterW (int filter) |
Positioning Filter wheel. The filter wheel move on the filter number specified by filter. See also Filter Wheel page. More... | |
void | SD_FNTorqueM (int mod) |
Positioning NDFilter. . More... | |
int | SD_Grating (int ang) |
Positioning Grating. The Grating move to the position specified by ang (Wavelength) More... | |
int | SD_Mirror (int where) |
Positioning Input Mirror. The Input Mirror reaches the position specified by where. More... | |
int | SD_NDFilterW (int filter) |
Positioning Filter wheel. The filter wheel move on the filter number specified by filter. See also Filter Wheel page. More... | |
int | SD_PosAADev (double z, double a) |
perform the simoultaneous positioning of the AltAzimuth platform z = Zenith Axis a = Grating Position More... | |
int | SD_Position (int m, int w, int f, double z, double a) |
perform the simoultaneous positioning of the Spectrometer Devices m = mirror w = wavelength (Grating) f = filter wheel z = zenith a = azimuth More... | |
int | SD_PosOMUDev (int m, int w, int f) |
perform the simoultaneous positioning of the Spectrometer Devices in the OMU Unit m = mirror w = wavelength (Grating) f = filter wheel More... | |
int | SD_Zenith (float ang) |
Positioning Zenith. The Zenith reaches the position specified by ang. More... | |
int | SD_Zenith_H (float ang) |
void | SetBoldCB (MOBJECT obj, MVALUE a, void *data) |
This callback toggles the Bold attribute. More... | |
void | SetItalicCB (MOBJECT obj, MVALUE a, void *data) |
This callback toggles the Italic attribute. More... | |
int | SetWorkDirMGUIenv (char *buff) |
set DAS and MGUI enviroment when the program is launched undirectly (for offlineplot or log or auto or autotimed modes) More... | |
void | ShiftImg (int hp, int vp) |
Used to correct some data files. More... | |
void __stdcall | ShowDown (const char *str, int port) |
Shows the countdown. Procedure for the visualisation of the countdown. More... | |
void | ShStCB (MOBJECT p, void *od, void *ad) |
void | ShutDOWN (void) |
Creates shell for Shutting down the instrument . More... | |
void | ShutterOpening (int mod) |
void | sleep (clock_t wait) |
Pauses for a specified number of milliseconds. . More... | |
int | SM_stepr (int t) |
AMS 'steps/round' value return the AMS 'steps/round' value (microstepping) depending on the setted step fractioning. More... | |
float | SMfraz (int t) |
denominator value of the stepping ratio More... | |
int | SmoothData (unsigned short *source, float *destination, int horpix, int verpix, int filw, int bp) |
Calc. the smoothed matrix of an unsigned short one. . More... | |
int | SmoothFloatData (float *source, float *destination, int horpix, int verpix, int filw, int bp) |
Calc. the smoothed matrix of a float one. . More... | |
int | SmoothingF (double *tmp, int npix, int pts) |
Smoothing of 1D array. More... | |
void | Status (char *tit) |
Writes information's on the Status label . More... | |
void | SunCalcCB (MOBJECT p, void *od, void *ad) |
void | SwapMatrix (unsigned short *source, unsigned short *dest, int hp, int vp) |
Copy the source matrix in the Destination one . More... | |
void | SZA_FindMin (void) |
computation of daily minimum SZA More... | |
int | SZACalc (double d_lat, double d_long, double d_tzone, int d_year, int d_daynum, int d_hour, int d_minute, int d_second, float d_temp, float d_press, float d_tilt, float d_aspect) |
Calc. Solar angles and radiatives quantities. . More... | |
void | Task_AMSH (TIMEOUT_ID id, void *data) |
AMS Home Task. Refresh the temperatures during DAS execution. More... | |
void | Task_AutoEx (TIMEOUT_ID id, void *data) |
Automatic Execution Task. . More... | |
void | Task_CCD_Temp (TIMEOUT_ID id, void *data) |
CCD Temperature Task. Provide the thermoregulation of the CCD sensor during DAS execution. More... | |
void | Task_HomeGrat (TIMEOUT_ID id, void *data) |
Home grating Task. 5) Check for reached end-run of the stepper motor for the grating . More... | |
void | Task_LIS_Temp (TIMEOUT_ID id, void *data) |
OMU Thermoregulation Task. Provide the thermoregulation of the Optical Mechanical Unit In addition allows the CCD sensor temperature to be driven by the SZA . More... | |
void | Task_LOG (TIMEOUT_ID id, void *data) |
LOG Task. Write on the LOG file during DAS execution. More... | |
void | Task_REFRESH_Temp (TIMEOUT_ID id, void *data) |
Temperatures Task. Refresh the temperatures during DAS execution. More... | |
void | Task_Timer (TIMEOUT_ID id, void *data) |
Timer Task. Very useful procedure that: 1) Provide to refresh the clock display 2) Check if daylight saving time is in effect 3) Calculate the Solar Zenith Angle 4) Check the FLAG.sza in order to back-up the daily data via FTP and if all the condition are satisfied the back-up is performed 5) Check for reached end-run of the stepper motor for the grating . More... | |
void | TaskWDT (TIMEOUT_ID id, void *data) |
void | TestFontCB (MOBJECT obj, void *a, void *data) |
This callback tries to load the specified font. More... | |
void | TextColorAssignCB (MOBJECT o, MVALUE o_data, void *a_data) |
void | UnderOverPixCB (MOBJECT o, void *id, void *a_data) |
Under/Over exposed pixels Callback At the pression of the button in DAS_Config the appropriate shell (For the creation of the Under or Over exposed pixel map - with the MAPDefPix() function) will be created. More... | |
void | UndoFCB (MOBJECT obj, void *a, void *v) |
This callback UnDo the font choice (Not implemented yet) More... | |
void | UPS_Status (void) |
void | val2fraz (int id, int sn, int val) |
Decimal value to ratio value Similar to listval2fraz The decimal value indicating the fractioning of the step is translated in ratio (i.e. 0 –> 1/2 = 400 s/r, 1–> 1/4 =800 s/r) More... | |
void | ValidateCB (MOBJECT edit, EDIT_VAL *ev, void *ii) |
Text Validation callback Validation callback for the text typed in different text box. More... | |
void | ViewCB (MOBJECT p, void *od, void *ad) |
int | ViewPlot (int mod) |
Create the plot shell. Procedure that build the plot shell for the data visualization. More... | |
void | WDT_CB (MOBJECT p, void *od, void *ad) |
void | WDT_func (int mod) |
void | WDT_Task_CB (MOBJECT o, void *od, void *ad) |
void | WinRes (void) |
int | WriteAMSCB (MOBJECT shell, void *od, void *ad) |
Write AMS.ini file . More... | |
int | WriteColorsCB (MOBJECT o, void *a, void *v) |
Write selected color in DASSysColor.INI. More... | |
int | WriteEquipini (void) |
Write equipment.ini file . More... | |
void | WriteFontCB (MOBJECT obj, void *a, void *v) |
This callback write on file the selected font (Not implemented yet) More... | |
int | WriteHardwareiniCB (MOBJECT shell, void *od, void *ad) |
Write hardware.ini file . More... | |
void | WriteIMG (FILE *file, unsigned short *mat, int hp, int vp) |
void | WriteIMG_BIN (int fd, unsigned short *mat, int hp, int vp) |
void | WriteInit (const char *sname, char *dateffn, char *timebuff) |
Init the daily LOG file . More... | |
void | writelogmotor (int mod, int id_motore, int k, int d, long steps, unsigned char ams_id) |
Write Motor Operations on Log File. Write on the SM.LOG file the commands send to the motors. More... | |
int | WriteOptioniniCB (MOBJECT shell, void *od, void *ad) |
Write Options.ini file . More... | |
int | WriteParaminiCB (MOBJECT shell, void *od, void *ad) |
Write Param.ini file . More... | |
void | WriteSelColandSmoothed (int mod, FILE *fd, int selcol) |
write selected Column More... | |
void | WriteStatusD (int w) |
NOT Used . More... | |
int | WritewlstepiniCB (MOBJECT shell, void *od, void *ad) |
Write wlstep.ini file . More... | |
Variables | |
MOBJECT | _shell000 |
long | AbsFilePos |
Absolute File position. More... | |
adtester | ADTESTER |
int | b_c |
MOBJECT | b_label |
MOBJECT | b_sbar |
int | BlindPix |
Number of blind pixels (usefull for Dark Current) More... | |
int | bold |
int | CCD_SetupFlg |
MTColor | cell_color |
MOBJECT | cell_drawa |
MOBJECT | cell_form |
MOBJECT | cell_label |
int | CItem |
int | ContFP |
Counter for File position. More... | |
unsigned long | countsopsh |
counting the number of opening shutter More... | |
das | DAS |
DAS structure. More... | |
int | DAS_StartDOY |
int | DAS_StartHour |
unsigned int | data [576] |
Conversion data buffer 64 samples * 8 channels * 2 bytes. More... | |
int | DD_VOpen [16] |
int | DD_VRip [16] |
char | ddmmyy [8] |
char | ddmmyyf [6] |
const char * | DeviceTypeInput [] |
const char array for the Device type <-> Input association More... | |
dfont | DFONT |
dftp | DFTP |
d_geo | DGEO |
geographical coordinates structure More... | |
dlog | DLOG |
palette | DPAL |
dpwd | DPWD |
Danbo Passw. More... | |
MOBJECT | drawa |
MTColor | drawarea_bgc |
dsave | |
MOBJECT | e_fname |
MOBJECT | e_fsize |
char | env [_MAX_PATH] |
Environment path. More... | |
master | ExMast [PRGMAXNUM] |
int | FANFlg |
char * | Fil_Code [] |
const char array for the realisation of the Filters buttons in the Filter shell More... | |
char * | Fil_Code8H [] |
const char array for the realisation of the Filters buttons in the Filter shell More... | |
char * | Fil_CodeNG [] |
const char array for the realisation of the Filters buttons in the Filter shell for GASCODNG2 and NG3 instruments More... | |
char * | Fil_CodeNG1 [] |
const char array for the realisation of the Filters buttons in the Filter shell for GASCODNG1 instrument More... | |
char * | Fil_CodeTropo [] |
const char array for the realisation of the Filters buttons in the Filter shell for TROPOGAS instrument More... | |
int | FilSet |
filter wheel position definition - for SD_FilterW More... | |
flag | FLAG |
flags structure More... | |
int | FlgBG |
int | FlgFG |
int | FlgOBJ |
int | FlgSM_Stop |
Steppers Motor Activity: 0 = Motors moving; 1 = Motors stopped. More... | |
MTFont | font |
MOBJECT | frm3_dr1 |
FilterWheelSt | FWS |
Filter Wheel. More... | |
int | g_c |
MOBJECT | g_label |
MOBJECT | g_sbar |
GratingSt | GRS |
Grating. More... | |
int | HGFlg |
char * | HomePosition [] |
const char array for the realisation of the Filters buttons in the ND Filter shell More... | |
ids | IDS |
ID tasks. More... | |
int | IDX |
Number of sensible horizontal pixels. More... | |
int | IDY |
Number of sensible vertical pixels. More... | |
unsigned short * | ImatDark |
buffer for the dark image More... | |
int | italic |
const char * | KeyCode [] |
MTColor | label_fgc |
unsigned int | LevelDefPix |
char | lfraz [6] |
int | MainCommand |
Command switch in main loop. More... | |
int | MaskedCol [100][6] |
Masked column array. More... | |
int | MaskedPix [100][6] |
Masked pixel's array. More... | |
int | MaskedRow [100][6] |
Masked rows array. More... | |
int | Master |
unsigned int * | mattempbuff |
mige | Mige |
const char * | Mir_Code [] |
const char array for the realisation of the Mirrors buttons in the Mirror shell More... | |
const char * | Mir_CodeTropo [] |
const char array for the realisation of the Mirrors buttons in the Mirror shell for TROPOGAS More... | |
int | MirSet |
mirror position definition - for SD_Mirror More... | |
MirrorSt | MIS |
Mirror. More... | |
mtcl | MTCL |
MTColor. More... | |
int | N_AVG |
Number of measurements for Averaging mode in fixed number of meas. mode. More... | |
int | N_RM |
Number of measurements for Averaging mode in fixed exposure time mode. More... | |
char * | NDFil_Code [] |
const char array for the realisation of the Filters buttons in the ND Filter shell More... | |
int | NDFilSet |
ND filter wheel position definition - for SD_NDFilterW. More... | |
NDFilterWheelSt | NDFWS |
ND Filter Wheel. More... | |
nova | NOVA |
int | on |
PRG execution control variabile. More... | |
int | ON_OFFLINEPLOT |
int | PaletteMode |
paramini | PARAM |
Param.ini. More... | |
int | PeltFlg |
int | PItem |
MTColor * | PLColor [] |
long | PrgCnt |
For PRG File. More... | |
int | PrgNum |
int | PrgNumExe |
number of PRG file in execution More... | |
int | PrgNumInM |
Actual number of PRG File in current MASTER or MASTERSZA File. More... | |
long | PrgSiz |
Length of PRG file (bytes) More... | |
char * | Program |
pointer to PRG file More... | |
int | QJFlg |
int | r_c |
MOBJECT | r_label |
MOBJECT | r_sbar |
long | REL_FILE_POS [51] |
relative File position More... | |
int | RItem |
number of Pixel, Column, Row Item More... | |
int | SaveCnt |
int | sel_cell |
int | sel_x |
int | sel_y |
int | Server |
stepm | STEPM |
Stepper Motors. More... | |
dsza | SZADelta |
int | SZAMax |
Maximum SZA for performing measurements. More... | |
double | TExp |
CCD Exposure time [sec]. More... | |
int | TMFlg |
tools | TOOLS |
tools structure More... | |
int | Total |
Progressive acquisition number for file (MAX defined = 50) More... | |
int | TOTTEXP |
Total Exposure time in Averaging mode. More... | |
double | TPelt |
CCD Temperature. More... | |
undopal | UDPAL |
long | wav [] |
Step Number definition - for SD_Grating. More... | |
int | wl [] |
WaveLength definition - for SD_Grating. More... | |
const char * | Wl_Code [] |
const char array for the realisation of the wavelength buttons in the wavelength shell More... | |
int | WlSet |
Wavelength position definition - for SD_Grating. More... | |
Function prototypes.
Definition in file DAS_Spatram.h.
void AboutCB | ( | MOBJECT | o, |
void * | s, | ||
void * | v | ||
) |
Create the About information shell.
.
Definition at line 39 of file About.c.
References BOTTOM_ALIGN, CENTER_ALIGN, CloseCB(), DASREL, DASREV, DASREVDATE, palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Plbl, DB_HelpCB(), DC_Ver(), DI_Ver(), DPAL, False, HELV_LARGE, HELV_MEDIUM, lbl, MCreateColForm(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreateRowForm(), MCreateShell(), MGUI_RELEASE, MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeHeight(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MPButtonSetCallback(), MShellRealize(), SF_MODAL, TIMES_SMALL, TOP_ALIGN, True, WS_ETCHED_IN, WS_NONE, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB(), HlpTopCB(), and SetScriptUseLabel().
void ActEditCB | ( | MOBJECT | edit, |
char * | text, | ||
void * | ed | ||
) |
Text Application callback Apply to the variables the text typed in various text box and validated by ValidateCB(MOBJECT edit, EDIT_VAL *ev, void *ii)
Definition at line 1877 of file DAS_Spat_ConfCBs.c.
References optionini::avgmode, paramini::ccdWx, paramini::ccdWy, paramini::ccdXoff, paramini::ccdYoff, paramini::CoolPw, das::DOption, doas::FFTFilter, dftp::ftppwd, dftp::ftpserver, dftp::ftpuser, GrafoIMG(), optionini::hlineafter, optionini::hlinebefore, paramini::ITemp, LevelDefPix, optionini::maxlvlar, paramini::maxtexp, N_AVG, paramini::Offset, ON_OFFLINEPLOT, das::Paramini, omuthr::PCPower, omuthr::PID_kd, omuthr::PID_ki, omuthr::PID_kp, SZAMax, TOTTEXP, paramini::TPelt, and paramini::VBin.
Referenced by CONFP_AMS_SM_OFFSET(), CONFP_opt_page1(), CONFP_opt_page2(), CONFP_opt_page3(), CONFP_opt_page4(), CONFP_param_page1(), D_PlotTools(), MAPDefPix(), and MDCreateColFor_Sh().
void ActMvGratCB | ( | MOBJECT | edit, |
char * | text, | ||
void * | ed | ||
) |
Move Grating of a free steps number callback.
.
edit | Edit MObject where the number of steps are typed |
*text | Number of steps |
Definition at line 2691 of file CreateForms.c.
References controlpanel::Albl_LS, AMS1, flag::backlashrec, gui::ContrPanel, DB_StepMotor(), GratingSt::dp, False, das::Flag, GratFlg, flag::gratposmode, GrDIR, das::Gui, controlpanel::LedSM, MEditSetTextExt(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::SM_B, SM_stepr(), stepm::step, flag::stepgratenc, and das::StepM.
Referenced by MDCreateMoveGrat().
void ADTesterCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Test Temperature AD Converter callback.
Definition at line 3576 of file DAS_Spat_ConfCBs.c.
References adtester::ADInflbl, adtester::ADpb, flag::ADPC104, flag::ADTempTest, AMS2, AMS_PWM(), FANPeltier(), adtester::lblADvalue, ids::LISTEMP, LISTEMP_TASK_TIME, MMessageDialog(), MObjectSetText(), MRefreshTimeout(), Peltier(), and Task_LIS_Temp().
Referenced by MDCreateDASConfig().
long* AllocLongMat | ( | int | hp, |
int | vp | ||
) |
Definition at line 2024 of file Spat_Plot.c.
void AMS_Error | ( | int | w | ) |
Alerts for AMS errors
Creates a message window reporting the number of the error.
w | = code of the error |
Definition at line 254 of file Errors.c.
References AMS_Err, D_WriteInitLog(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), and WS_SHADOW_OUT.
Referenced by DB_InitAMS().
void ApplyChCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Apply changes in DAS Config callback.
a_data |
|
Definition at line 3446 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, CCD_SetupFlg, d_fileman::CONFIGDIREQUIPMENT, gui::ConfigPanel, gui::ContrPanel, paramini::CoolPw, stepm::cop_perc, DB_InitCamera(), DB_InitMotor(), DB_KB_ButtonActive(), bil::DFILEM, d_fileman::DIRDCL, fraz2val(), das::Gui, hertz2int(), paramini::ITemp, controlpanel::lbl_Par, MObjectGetText(), MObjectSetText(), stepm::multiplier, stepm::NAMS, das::Paramini, omuthr::PCPower, perc2int(), controlpanel::power, stepm::power, controlpanel::slope, stepm::slope, configpanel::SM_multiplier, configpanel::SM_power, configpanel::SM_slope, configpanel::SM_speed, configpanel::SM_step, controlpanel::speed, stepm::speed, stepm::speed_Hz, controlpanel::step, stepm::step, stepm::step_fraz, das::StepM, paramini::TPelt, val2fraz(), and paramini::VBin.
Referenced by CONFP_param_page1(), and MDCreateDASConfig().
void ApplyImgCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Image type Application callback Apply to the CCD buffer the selected type of image (MONO or RGB)
Definition at line 2116 of file DAS_Spat_ConfCBs.c.
References img::attrib, DI_CloseImage(), DI_OpenImage(), DI_RunHisto(), das::DOption, ccd::dx, ccd::dy, IDX, IDY, dil::Img, optionini::imgtype, ccd::kind, image::Mat, das::Paramini, Server, and paramini::VBin.
Referenced by CONFP_opt_page1().
int AssignParam | ( | int | mod | ) |
Assign parameters to the CP labels.
.
mod | – Not used |
Definition at line 990 of file Load.c.
References paramini::ccdWx, paramini::ccdWy, paramini::ccdXoff, paramini::ccdYoff, gui::ContrPanel, paramini::CoolPw, stepm::cop_perc, DBDEMO, flag::exemode, das::Flag, das::Gui, int2hertz(), int2perc(), paramini::ITemp, controlpanel::lbl_Par, MANUAL, MObjectSetText(), stepm::NAMS, das::Paramini, omuthr::PCPower, controlpanel::power, stepm::power, PRGFILE, controlpanel::slope, stepm::slope, controlpanel::speed, stepm::speed, stepm::speed_Hz, controlpanel::step, stepm::step, stepm::step_fraz, das::StepM, SZAMASTERM, SZAMODE, TEMPORIZED, TESTAD, TESTAMS, TESTCCD, paramini::TPelt, val2fraz(), and paramini::VBin.
Referenced by SZA_FirstCalc().
double AutoRange | ( | int | mod | ) |
Calculate the exposure time
The optimum exposure time (TExp) is calculated with an initial TExpAR=0.1 s, and assuming the linearity between the CCD signal and the exposure time.
If TExp calculated is lower than the minimum TExp allowed (0.02s) (meaning a saturation of the CCD), the appropriate filter is positioned and the procedure is repeated.
If with TExpAR the delta(CCD(x,y))=Max(CCD(x,y))-Min(CCD(x,y)) is lower than 2000 counts (meaning very low radiation intensity) TExpAR is increased and the procedure repeated for at least 4 times (Max TExpAR ~ 5 s)
mod |
|
Definition at line 899 of file Procedures.c.
References controlpanel::Albl_IE, AutoR_No_Shutt(), AutoR_With_Shutt(), gui::ContrPanel, DB_GetCCD(), DBDEMO, delay(), das::DOption, optionini::emshutter, paramini::EqType, flag::exemode, das::Flag, FlagTExp, GASCODNG1, das::Gui, MObjectSetText(), das::Paramini, MirrorSt::Pos, S_zenetr, ShuttDelay, Status(), TESTSZAMODE, and TExp.
Referenced by D_Average(), D_AverageTFix(), D_Calibra(), D_Measure(), DB_HorComm_CB(), DB_KeyB_CB(), E_AutoRange(), E_ChkExLamp(), E_HgScan(), E_QjScan(), GetDefPix(), and PerformMeas().
int BrowseLog | ( | void | ) |
Definition at line 456 of file DAS_Spat_Conf.c.
References AllocFloatMat(), FB_PREFS::allow_dir_create, FB_PREFS::allow_dir_delete, FB_PREFS::allow_dir_rename, FB_PREFS::bg_image, FB_PREFS::bg_image_file, FB_PREFS::button_font, omutemp::CCDPwr, omutemp::CCDTemp, FB_PREFS::change_cwd, FB_PREFS::close_button, FB_PREFS::create_menu, DB_2DPlot(), bil::DFILEM, omutemp::dimx, omutemp::dimy, False, FB_PREFS::file_label, FB_PREFS::filter_label, FB_PREFS::font, HELV_SMALL, d_fileman::LOGDIR, MFileBrowseExt(), FB_PREFS::ok_button, omutemp::PltPwr, omutemp::pTempMat, omutemp::ptimeMat, ReadLogFile(), FB_PREFS::remove_menu, FB_PREFS::rename_menu, SET2D_GRID, FB_PREFS::transparent_tree, and True.
Referenced by DB_ToolsKeyB_CB(), and PBTempHistoCB().
int BuildLogRatio | ( | void | ) |
first attempt to apply the DOAS algorithm (..on going!!!)
Definition at line 178 of file DOAS.c.
References AllocFloatMat(), BIL, spectrumheader::ccdex, spectrumheader::ccdwx, bil::DPLOT, doas::FFTFilter, FilterData(), GrafoIMG(), IDX, IDY, d_view::ImatOrig, doas::IoMat, doas::IoSmoothed, doas::IsSmoothed, doas::lambda, doas::LogRatioMat, doas::LogRatioSmoothed, ON_OFFLINEPLOT, SmoothData(), SmoothFloatData(), bil::SPH, and doas::VarY.
Referenced by DB_ToolsKeyB_CB(), and PlotToolsPBs().
double CalcFluxIndex | ( | unsigned short | mis[], |
int | dx, | ||
int | dy, | ||
float | te | ||
) |
calculates the Flux Index of a measurement
mis[] | data array |
dx | horizontal pixels |
dy | vertical pixels |
te | exposure time |
*nomefile | source file name |
Definition at line 306 of file Utils.c.
Referenced by DB_CalcFluxI().
void CCD_Error | ( | char * | str | ) |
Alerts for CCD errors
Creates a message window reporting the number of the error.
w | = code of the error |
Definition at line 279 of file Errors.c.
References D_WriteInitLog(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), and WS_SHADOW_OUT.
Referenced by InitCCD_AMS(), and ShutCB().
void CCDSetupCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
CCD setup Callback. Execute DCS.exe (DTA Camera Select)
Definition at line 3385 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, CCD_SetupFlg, CodeEq2Name(), d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, DI_FileExist(), paramini::EqType, d_fileman::HOMEDIRECTORY, MMessageDialog(), and das::Paramini.
Referenced by CONFP_param_page1().
int ChkConfigInstance | ( | void | ) |
Definition at line 2128 of file DAS_Spat.c.
References MMessageDialog().
int ChkDigIO | ( | unsigned char | word, |
int | bitn | ||
) |
check for digital I/O Status
word | = 8 bit word to be checked |
bitn | = bit number to be checked (0 to 7) |
Definition at line 997 of file DAS_Spat_Conf.c.
Referenced by AMS_PWM_Zero(), CONFP_AMS_IOPort(), CONFP_AMS_NOVA(), DB_KeyB_CB(), NOVAIn_CB(), NOVAOut_CB(), and OOP_CB().
int ChkMaster | ( | int | mod | ) |
Definition at line 2730 of file DAS_Spat.c.
References master::eora, GetDateTime(), PrgNumExe, PrgNumInM, S_zenetr, master::sora, time::ti_hour, time::ti_min, and time::ti_sec.
Referenced by D_AutoExecution(), and SZA_FirstCalc().
int ChkWinInstance | ( | char * | buff, |
MOBJECT | obj | ||
) |
Definition at line 2153 of file DAS_Spat.c.
References MShellRaise().
Referenced by DB_KeyB_CB(), and DB_PasWd().
void CloseColPickCB | ( | MOBJECT | obj, |
void * | s, | ||
void * | v | ||
) |
Declared but not used.
Definition at line 776 of file DAS_Spat_ConfCBs.c.
References cell_color, drawarea_bgc, MFreeCell(), MFreeColor(), MObjectShell(), MShellDestroy(), MShellUnrealize(), and p.
void CloseConfigCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Close DAS-Config callback close the DAS_Config window. If the testing of the ADConverter is running it is stopped.
Definition at line 2153 of file DAS_Spat_ConfCBs.c.
References adtester::ADpb, flag::ADTempTest, DPWD, adtester::lblADvalue, ids::LISTEMP, LISTEMP_TASK_TIME, MObjectSetText(), MRefreshTimeout(), MShellDestroy(), MShellUnrealize(), dpwd::OwnPwdOk, dpwd::ROwnPwdOk, and Task_LIS_Temp().
Referenced by CONFP_Options(), CONFP_param_page1(), CONFP_param_page2(), CONFP_param_page3(), CONFP_param_page4(), CONFP_param_page5(), and MDCreateDASConfig().
void CloseFontViewCB | ( | MOBJECT | p, |
void * | a, | ||
void * | data | ||
) |
This callback Unloads the latest loaded font and destroys the dialog.
Definition at line 1474 of file DAS_Spat_ConfCBs.c.
References FIXED_MEDIUM, font, MObjectShell(), MShellDestroy(), MShellUnrealize(), and MUnloadFont().
char * CodeEq2Name | ( | int | code | ) |
code Equipment to Name
code | = code of the equipment |
Definition at line 371 of file Load.c.
Referenced by CCDSetupCB(), DB_InitCamera(), and WriteParaminiCB().
void ColObjCB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
select the object to consider for color picking
Definition at line 413 of file DAS_Spat_ConfCBs.c.
References b_sbar, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, DB_ColorPick(), palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, palette::DB_Sel, palette::DB_UnSel, DOASMODE, flag::exemode, das::Flag, FlgBG, FlgFG, FlgOBJ, g_sbar, listf::lbl, MMessageDialog(), MRButtonDeactivate(), MRButtonGetActivationStatus(), MScrollBarSetPos(), OFFLINEPLOT, r_sbar, listf::rb, and listf::shell.
Referenced by ColPickBackForeGCB(), and MDCreateDASConfig().
void ColorAssignCB | ( | MOBJECT | o, |
void * | o_data, | ||
void * | a_data | ||
) |
Definition at line 635 of file DAS_Spat_ConfCBs.c.
References b_c, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_BG_RButt, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, palette::DB_FG_RButt, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, FlgBG, FlgFG, FlgOBJ, g_c, das::Gui, MObjectMap(), MObjectRedraw(), MObjectUnmap(), r_c, shells::Sh_Main, and gui::Shells.
Referenced by MDCreateDASConfig().
void ColorFreeCB | ( | MOBJECT | o, |
void * | o_data, | ||
void * | a_data | ||
) |
Declared but not used.
Definition at line 767 of file DAS_Spat_ConfCBs.c.
References cell_color, MFreeCell(), MSetCellColor(), and sel_cell.
Declared but not used.
Definition at line 803 of file DAS_Spat_ConfCBs.c.
References dil::Cfg, MDrawBox(), MDrawFilledBox(), MObjectGetHeight(), MObjectGetWidth(), cfg::NColors, sel_x, sel_y, and mtcl::white.
Referenced by ColorSaveCB().
Declared but not used.
Definition at line 831 of file DAS_Spat_ConfCBs.c.
References b_sbar, dil::Cfg, D_A, drawarea_bgc, E_BUTTON_PRESS, E_KEY_PRESS, g_sbar, MEvent::key, MKeyEvent::keycode, L_A, MDrawBox(), MObjectGetHeight(), MObjectGetWidth(), MEvent::mouse, MQueryColor(), MScrollBarSetPos(), cfg::NColors, R_A, r_sbar, sel_cell, sel_x, sel_y, MEvent::type, U_A, mtcl::white, MMouseEvent::x, and MMouseEvent::y.
void ColorMapResizeCB | ( | MOBJECT | obj, |
DRAWAREA_PREF * | pref, | ||
void * | a_data | ||
) |
Declared but not used.
Definition at line 816 of file DAS_Spat_ConfCBs.c.
References dil::Cfg, cfg::NColors, DRAWAREA_PREF::new_h, DRAWAREA_PREF::new_w, DRAWAREA_PREF::old_h, DRAWAREA_PREF::old_w, sel_x, and sel_y.
void ColorSaveCB | ( | MOBJECT | o, |
void * | o_data, | ||
void * | a_data | ||
) |
Declared but not used.
Definition at line 754 of file DAS_Spat_ConfCBs.c.
References b_c, ColorMapExposeCB(), frm3_dr1, g_c, MAllocCell(), PaletteMode, and r_c.
void ColPickBackForeGCB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
select if the foreground or background color of the selected object will be picked
pick the color of the selected object
v |
|
Definition at line 167 of file DAS_Spat_ConfCBs.c.
References ColObjCB(), gui::ConfigPanel, DOASMODE, flag::exemode, False, das::Flag, FlgBG, FlgFG, das::Gui, configpanel::RBColObj, and True.
Referenced by MDCreateDASConfig().
void ColumnFCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 164 of file DOAS_FullProj.c.
References ColFor_Sh, MDCreateColFor_Sh(), and MShellRealize().
Referenced by MDCreateDOAS_MainSh().
void ComErrors | ( | int | w | ) |
Alerts for COM errors
Creates a message window reporting the number of the error.
w | = code of the error |
Definition at line 164 of file Errors.c.
References palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), and WS_SHADOW_OUT.
Referenced by DB_InitMotor().
void ConfigCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
DAS Configuration shell creation callback.
Definition at line 2182 of file DAS_Spat_ConfCBs.c.
References MDCreateDASConfig().
void D_AutoExecution | ( | void | ) |
*.PRG Automatic Execution in Automatic Mode
Definition at line 560 of file RTC_Time.c.
References AAMEASURE, AAPOSIT, controlpanel::Albl_Azim, controlpanel::Albl_Elev, controlpanel::Albl_Script, ALMUCANTAR, AUTORNG, AVGCCD, AVGCCDHOR, AZIMUTH, BEGIN, CALIBRA, CHKEXLAMP, ChkMaster(), gui::ContrPanel, D_FixSZA(), D_WaitSZA(), DARKC, flag::DeltaSZA, DFMEASURE, das::DGeo, DIRECTSUN, E_AAMeasure(), E_AAPos(), E_Almucantar(), E_AutoRange(), E_Average(), E_AvgCCDHor(), E_Azimuth(), E_Calibra(), E_ChkExLamp(), E_Dark(), E_DeltaSZA(), E_DFMeasure(), E_DirectSun(), E_Expo(), E_ExtLampOFF(), E_ExtLampON(), E_ExtShutClose(), E_ExtShutOpen(), E_Filter(), E_GetCCD(), E_Hg_Off(), E_Hg_On(), E_HGratCal(), E_HgScan(), E_Home_SM1(), E_Home_SM2(), E_Home_SM3(), E_Home_SM4(), E_Home_SM5(), E_Home_SM6(), E_IRefSun(), E_Label(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), E_Mirror(), E_NDFilter(), E_Plot(), E_Qj_Off(), E_Qj_On(), E_QjScan(), E_Radio(), E_REM(), E_Save(), E_SetCCDOffSet(), E_SetCCDPow(), E_SetCCDTemp(), E_SetCCDVBin(), E_WAIT(), E_Zenith(), ELAMPOFF, ELAMPON, master::eora, ESHUTCL, ESHUTOP, flag::exec, flag::ExeDSZA, flag::exemode, ExMast, EXPO, Fetch(), FILTER, das::Flag, GETCCD, GetDateTime(), das::Gui, H_AZI, H_FILTER, H_GRAT, H_GRAT_CAL, H_MIRROR, H_NDFW, H_ZEN, HG_OFF, HG_ON, HGSCAN, IREFSUN, LABEL, dsza::LastMSZA, d_geo::latitude, LoadExec(), d_geo::longitude, MainCommand, Master, MEASHOR, MEASHOR2, MEASURE, MIRROR, MMessageDialog(), MObjectSetText(), NDFILTER, on, PLOT, PrgNumExe, PrgNumInM, QJ_OFF, QJ_ON, QJSCAN, RADIO, omuthr::ReachTemp, REM, S_azim, S_zenetr, SAVE, SETCCDOFFS, SETCCDPOW, SETCCDTEMP, SETCCDVBIN, master::sora, Status(), flag::sza, SZACalc(), SZAMASTERM, SZAMODE, TEMPORIZED, TESTSZAMODE, time::ti_hour, time::ti_min, d_geo::timezone, WAIT, WAVELEN, XEND, and ZENITH.
Referenced by Task_AutoEx().
void D_Average | ( | int | mod | ) |
Performs averaged measurements
.
mod | = 1 –> perform AutoRanging, = 0 –> DO NOT PERFORM AutoRange |
Definition at line 2655 of file Procedures.c.
References AutoRange(), optionini::avgautor, marconi::AVGmat, optionini::avgmode, BlindPix, DB_GetCCD(), DB_ScanMaxMin(), delay(), DI_Regen(), DIL, das::DOption, HGFlg, img::High, IDX, IDY, img::IHigh, img::ILow, img::Imat, dil::Img, img::Low, das::Marconi, image::Mat, MLoopWhileEvents(), MMessageDialog(), N_AVG, N_RM, QJFlg, Server, ShuttDelay, st, Status(), TExp, and TOTTEXP.
Referenced by DB_HorComm_CB(), DB_KeyB_CB(), and PerformMeas().
void D_AverageTFix | ( | void | ) |
NOT Used
.
Definition at line 2597 of file Procedures.c.
References AutoRange(), marconi::AVGmat, D_Plot(), DB_GetCCD(), DIL, HGFlg, IDX, IDY, img::Imat, dil::Img, das::Marconi, image::Mat, QJFlg, Server, Status(), and TExp.
void D_BuildH | ( | int | mod, |
int | s | ||
) |
Build Header of the measurements .
.
mod |
|
s |
|
Definition at line 63 of file Procedures.c.
References d_geo::alititude, optionini::avgmode, hdrsp::bincomment, hdrsp::binfilpos, hdrsp::binmirpos, hdrsp::ccdnr, marconi::CCDTemp, hdrsp::ccdtemp, hdrsp::ccdtexp, hdrsp::ccdvbin, paramini::ccdWx, hdrsp::ccdwx, paramini::ccdWy, hdrsp::ccdwy, hdrsp::ccdxe, paramini::ccdXoff, hdrsp::ccdxs, hdrsp::ccdye, paramini::ccdYoff, hdrsp::ccdys, hdrsp::comment, img::DATE, hdrsp::DATE, das::DGeo, DIL, das::DOption, hdrsp::dummy1, hdrsp::dummy2, hdrsp::dummy3, hdrsp::dummy4, ccd::dx, ccd::dy, paramini::EqType, FDOUBLE, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, hdrsp::filpos, optionini::filtertype, FPLUS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, img::High, dil::Img, hdrsp::imgfmt, hdrsp::imgmax, hdrsp::imgmin, hdrsp::lambda, d_geo::latitude, LIS_, d_geo::longitude, img::Low, das::Marconi, image::Mat, optionini::measmode, Mir_Code, Mir_CodeTropo, hdrsp::mirpos, N_AVG, N_RM, das::Paramini, FilterWheelSt::Pos, NDFilterWheelSt::Pos, MirrorSt::Pos, AzimuthSt::realazpos, ZenithSt::realzenpos, hdrsp::s_alt, hdrsp::s_latitude, hdrsp::s_longitude, d_geo::s_name, hdrsp::s_name, hdrsp::s_sza, S_zenetr, optionini::savingmode, Server, SPATRAM3, TExp, img::TIME, hdrsp::TIME, TMFlg, TROPOGAS, paramini::VBin, wl, and GratingSt::Wl.
Referenced by DB_GetCCD(), and DB_Save().
int D_Calibra | ( | void | ) |
Spectral Calibration
Procedure for the spectral calibration with HG lamp. Shift of HG spectral line at 4358.4 on pixel 512.
Definition at line 2313 of file Procedures.c.
References controlpanel::Albl_LS, AMS1, AutoRange(), BlindPix, gui::ContrPanel, D_Plot(), DB_GetCCD(), DB_StepMotor(), DBDEMO, delay(), DIL, GratingSt::dp, paramini::EqType, flag::exec, flag::exemode, ExeREM, das::Flag, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, HgLamp(), IDX, IDY, img::Imat, dil::Img, controlpanel::LedSM, LookforWl_X(), MANUAL, image::Mat, MMessageDialog(), MObjectSetText(), MPixmapSetImageFile(), das::Paramini, flag::plotW, PRGFILE, SaveCalib(), SD_FilterW(), SD_Grating(), SD_Mirror(), Server, stepm::SM_B, SM_stepr(), SPATRAM2, SPATRAM3, SPATRAMPLUS, Status(), stepm::step, das::StepM, SZAMODE, TESTSZAMODE, TROPOGAS, wl, and GratingSt::Wl.
Referenced by DB_HorComm_CB(), DB_KeyB_CB(), E_Calibra(), and E_HGratCal().
void D_CloseVR | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Callback closing the status bar.
Definition at line 140 of file Utils.c.
References MShellDestroy(), and MShellUnrealize().
Referenced by D_VRange(), D_VRangeSim(), and DD_VRange().
void D_FixSZA | ( | void | ) |
Definition at line 467 of file RTC_Time.c.
References dsza::Dailymaxsza, dsza::Dailyminsza, dsza::DeltaSZA, flag::ExeDSZA, das::Flag, dsza::LastMSZA, dsza::NextSZA, and S_zenetr.
Referenced by D_AutoExecution(), DB_Pause(), and Task_CCD_Temp().
int D_InitPC104 | ( | void | ) |
Starting function that calls the driver functions used NOTE: By convention, you should capture the BYTE return value for each driver API call, and check the error code. I. Driver Initialization II. Board Initialization III. AD Settings.
Definition at line 120 of file Dscad.c.
Referenced by D_readtemp_int(), and InitTempAD().
void D_Plot | ( | void | ) |
ViewPlot callback
.
Definition at line 192 of file Procedures.c.
References ViewPlot().
Referenced by D_AverageTFix(), D_Calibra(), D_Measure(), E_HgScan(), E_Meashor(), E_Meashor2(), E_QjScan(), and PerformMeas().
void D_Positioning | ( | MOBJECT | p, |
int | id, | ||
long | tout | ||
) |
Callback for the void D_VRange and display also the status in the corresponding CP labels.
p | MGUI Object (label in CP) |
id | motor positioning /param tout: time out |
Definition at line 607 of file Dxl.c.
References AMS1, optionini::amsprogbar, D_VRange(), DBDEMO, das::DOption, flag::exemode, das::Flag, MObjectSetText(), stepm::postime, stepm::SM_B, st, and das::StepM.
Referenced by AMS_DoPos(), and DemoInitMotor().
void D_Print_BIL_H_ASCII | ( | int | mod, |
FILE * | fff | ||
) |
Definition at line 621 of file Utils.c.
References spectrumheader::altitude, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdmin, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::ccdwx, spectrumheader::ccdwy, spectrumheader::comment, ddate::da_day, ddate::da_mon, ddate::da_year, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::sza, dtime::ti_hour, dtime::ti_min, dtime::ti_sec, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by SaveDataOffLine(), and SaveIo().
void D_PrintBILSPH | ( | FILE * | fff | ) |
Print Header.
*fff | ASCII file number |
Definition at line 581 of file Utils.c.
References spectrumheader::altitude, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdmin, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::ccdwx, spectrumheader::ccdwy, spectrumheader::comment, ddate::da_day, ddate::da_mon, ddate::da_year, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::sza, dtime::ti_hour, dtime::ti_min, dtime::ti_sec, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by DT_CorrFileEvora(), DT_CorrHeader(), and WriteDataFile().
void D_PrintBILSPH_BIN | ( | int | fd | ) |
Print on file the binary header of the measured spectrum.
fd | number of destination file |
Definition at line 540 of file Utils.c.
References spectrumheader::altitude, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::ccdwx, spectrumheader::ccdwy, spectrumheader::comment, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::sza, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by WriteDataFile().
void D_PrintHMod | ( | FILE * | fff | ) |
Print the header in Column format.
*fff | destination file number |
Definition at line 790 of file Save.c.
References spectrumheader::altitude, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdmin, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::comment, ddate::da_day, ddate::da_mon, ddate::da_year, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::sza, dtime::ti_hour, dtime::ti_min, dtime::ti_sec, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by WriteColumn(), and WriteSelColandSmoothed().
void D_PrintSpectrum | ( | FILE * | fff | ) |
Print Spectrum.
*fff | ASCII file number |
Definition at line 517 of file Utils.c.
References bil::DPLOT, IDX, IDY, and d_view::ImatGraf.
Referenced by DT_CorrFileEvora(), and DT_CorrHeader().
void D_rt | ( | void | ) |
D_readtemp_int callback
.
Starting function that calls the driver functions used
.
Definition at line 64 of file Dscad.c.
References D_readtemp_int().
Referenced by D_readtemp().
void D_Saving | ( | void | ) |
Saving image.
Procedure for saving the CCD Image Used since version 2.1.0. The coiche between binary and ASCII saving mode is obtained with the mode Flag optionini.
Definition at line 1369 of file Procedures.c.
References _MAX_PATH, controlpanel::Albl_CS, gui::ContrPanel, d_fileman::DAILYDATADIRECTORY, d_fileman::DATADIRECTORY, DB_Save(), bil::DFILEM, das::DGeo, das::DOption, fftprh, das::Gui, MObjectSetText(), spectrumheader::newdate, spectrumheader::olddate, d_geo::s_name, SaveCnt, SAVECNT, optionini::savingmode, bil::SPH, and Total.
Referenced by D_Measure(), DB_HorComm_CB(), DB_KeyB_CB(), E_Meashor(), E_Meashor2(), E_Save(), GetDefPix(), and PerformMeas().
void D_SunCalc | ( | void | ) |
Sun Calculator Callback.
Definition at line 127 of file DOAS_FullProj.c.
References _MAX_PATH, bil::DFILEM, and d_fileman::HOMEDIRECTORY.
Referenced by MenuToolsOLP_CB(), and SunCalcCB().
void D_UndoCB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Undo the previous color setting operation.
Definition at line 225 of file DAS_Spat_ConfCBs.c.
Referenced by MDCreateDASConfig().
void D_VRange | ( | char * | str, |
int | val, | ||
int | r, | ||
int | g, | ||
int | b | ||
) |
Create and display the status bar.
*str | string as title of the status bar |
val | value of the progressive index |
r | red color id (0-255) |
g | green color id (0-255) |
b | blu color id (0-255) |
Definition at line 206 of file Utils.c.
References D_CloseVR(), D_VOpen, D_VRip, palette::DB_BG, HELV_SMALL, MCreateShell(), MCreateStatusBar(), MLoopWhileEvents(), MObjectResize(), MObjectSetBackgroundRGB(), MObjectSetCompositeHeight(), MObjectSetText(), MShellDestroy(), MShellRealize(), MShellSetWMCloseCallback(), MShellUnrealize(), MStatusBarSetPos(), MStatusBarSetSliderRGB(), SF_NO_MAXIMIZE, SF_NO_MINIMIZE, and SF_SAVEUNDER.
Referenced by DB_CalcFluxI(), DT_CorrFileEvora(), and DT_CorrHeader().
void D_VRangeSim | ( | int | id, |
char * | str, | ||
int | val, | ||
int | r, | ||
int | g, | ||
int | b, | ||
int | x, | ||
int | y | ||
) |
init progress bar during simultaneous positioning
Definition at line 258 of file Utils.c.
References D_CloseVR(), palette::DB_BG, DD_VOpen, DD_VRip, HELV_SMALL, MCreateShell(), MCreateStatusBar(), MLoopWhileEvents(), MObjectResize(), MObjectSetBackgroundRGB(), MObjectSetCompositeHeight(), MObjectSetText(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), MStatusBarSetPos(), MStatusBarSetSliderRGB(), SF_NO_MAXIMIZE, SF_NO_MINIMIZE, and SF_SAVEUNDER.
Referenced by SD_PosAADev(), SD_Position(), and SD_PosOMUDev().
int D_WriteInitLog | ( | char * | str | ) |
writes devices errors(AMS, CCD...) on the Devices.log file.
Definition at line 144 of file Save.c.
Referenced by AMS_Error(), AMSINI_Err(), CCD_Error(), DAS_Error(), InitCCD_AMS(), InitTempAD(), Master_Error(), MGUIMain(), and WinRes().
void DAS_Error | ( | int | c | ) |
Definition at line 124 of file Errors.c.
References D_WriteInitLog(), DAS, DAS_Err, das::Gui, MGUITerm(), MMessageDialog(), MShellDestroy(), MShellUnrealize(), shells::Sh_Main, gui::Shells, and Status().
Referenced by SZA_FirstCalc().
void DAS_Message | ( | char * | str, |
int | er | ||
) |
Definition at line 74 of file Errors.c.
References palette::DB_BG_Plbl, palette::DB_FG_Plbl, DEFAULT_FONT, DPAL, lbl, LEFT_ALIGN, MCreateLabel(), MCreateShell(), MLabelSetAlignment(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), and MShellRealize().
Referenced by LoadSetDirs().
void DB_2DPlot | ( | char * | title, |
int | x, | ||
int | y, | ||
int | dx, | ||
int | dy, | ||
int | mode | ||
) |
2D_Plot panel callback.
Definition at line 371 of file DAS_Spat_Conf.c.
References MDCreate2DPlot().
Referenced by BrowseLog(), and RunLogMode().
void DB_AMSposmode_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting the positioning mode for stepper motors ( sequential or simulaneaous)
Definition at line 1234 of file DAS_Spat_ConfCBs.c.
References das::DOption, MRButtonGetActivationStatus(), and optionini::smposmode.
Referenced by CONFP_opt_page5().
void DB_AMSProgBar_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting if show or not the progress bar for motor positioning
Definition at line 1119 of file DAS_Spat_ConfCBs.c.
References optionini::amsprogbar, das::DOption, and MRButtonGetActivationStatus().
Referenced by CONFP_opt_page5().
int DB_Ask | ( | char * | tit, |
char * | bmp, | ||
char * | label, | ||
char * | pre, | ||
int | len, | ||
char * | pbtype | ||
) |
Input Shell Create an input box.
Definition at line 5373 of file CreateForms.c.
References AskBuff, AskFlg, CENTER_ALIGN, DB_AskCB(), palette::DB_BG, palette::DB_BG_Plbl, DB_CloseAsk(), palette::DB_FG_Plbl, palette::DB_UnSel, F_ATT_NONE, False, FIXED_SMALL, HELV_SMALL, lbl, MBottomAttach(), MCreateClippedEdit(), MCreateColForm(), MCreateEdit(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLabelSetAlignment(), MLoopWhileFlag(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), SF_MODAL, TOP_ALIGN, True, UNDEF_ALIGN, WS_ETCHED_OUT, and WS_NONE.
Referenced by DB_HorComm_CB(), and DB_KeyB_CB().
Input Shell Callback Callback for the Input Shell destruction at the pression of the ESC key.
Definition at line 5496 of file CreateForms.c.
References AskBuff, AskFlg, ESC, and MKeyEvent::keycode.
void DB_AskCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Input Shell Callback Callback for the Input Shell.
Definition at line 5462 of file CreateForms.c.
References AskBuff, AskFlg, DB_GetCCD(), MObjectGetText(), and TExp.
Referenced by DB_Ask().
int DB_CalcFluxI | ( | char * | nomefile | ) |
Definition at line 328 of file Utils.c.
References AllocUSMat(), CalcFluxIndex(), spectrumheader::ccdtexp, D_VRange(), ddate::da_day, ddate::da_mon, ddate::da_year, spectrumheader::DATE, bil::DFILEM, bil::DPLOT, IDX, IDY, d_view::ImatGraf, spectrumheader::mirpos, MLoopWhileEvents(), O_BINARY, ReadHeader_BIN(), ReadIMG_BIN(), SAVECNT, bil::SPH, dtime::ti_hour, dtime::ti_min, dtime::ti_sec, spectrumheader::TIME, spectrumheader::wavelen, and d_fileman::WORKDIRECTORY.
Referenced by DT_FluxIndex(), and FluxIndexCB().
display selected Color
Definition at line 788 of file DAS_Spat_ConfCBs.c.
References cell_color, MDrawFilledBox(), MObjectGetHeight(), MObjectGetWidth(), and PaletteMode.
Referenced by MDCreateDASConfig().
void DB_CellResizeCB | ( | MOBJECT | obj, |
DRAWAREA_PREF * | pref, | ||
void * | a_data | ||
) |
display selected Color
Definition at line 798 of file DAS_Spat_ConfCBs.c.
References DRAWAREA_PREF::new_h, and DRAWAREA_PREF::old_h.
Referenced by MDCreateDASConfig().
draw the object 'o' with the selected color
Definition at line 543 of file DAS_Spat_ConfCBs.c.
References b_c, b_label, cell_color, frm3_dr1, g_c, g_label, MObjectSetBackgroundRGB(), MObjectSetText(), MSetCellColor(), PaletteMode, r_c, and r_label.
Referenced by MDCreateDASConfig().
void DB_ChooseButtons | ( | int | w | ) |
Definition at line 2560 of file CreateForms.c.
References DB_KB_ButtonActive(), DBDEMO, HELP, MANUAL, OFFLINEPLOT, PRGFILE, TEMPORIZED, TESTAD, TESTAMS, and TESTCCD.
Referenced by SZA_FirstCalc().
void DB_CloseAsk | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Input Shell Callback Callback for the Input Shell destruction.
Definition at line 5483 of file CreateForms.c.
References AskFlg, MObjectGetText(), and TExp.
Referenced by DB_Ask().
int DB_CloseCOM | ( | void | ) |
Close the previously opened COM port.
Definition at line 460 of file Init.c.
References DXL_Close().
void DB_ColorAssign | ( | MOBJECT | a[], |
int | numel, | ||
short | tc[] | ||
) |
Assign to the selected object the chosen color.
Definition at line 204 of file DAS_Spat_ConfCBs.c.
References CP_Sh, FlgBG, FlgFG, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), and MObjectSetTransparency().
void DB_ColorPick | ( | MOBJECT | o | ) |
Definition at line 397 of file DAS_Spat_ConfCBs.c.
References b_sbar, FlgBG, FlgFG, g_sbar, MObjectBackgroundColor(), MObjectForegroundColor(), MQueryColor(), MScrollBarSetPos(), and r_sbar.
Referenced by ColObjCB().
int DB_Column | ( | char * | sourcefilename | ) |
Column format.
*sourcefilename | source file name |
Definition at line 1109 of file Save.c.
References AllocUSMat(), D_VRange(), DI_FindExtName(), bil::DPLOT, doas::FFTFilter, FilterData(), tools::FlagFilter, IDX, IDY, d_view::ImatGraf, O_BINARY, ReadHeader_ASCII(), ReadHeader_BIN(), ReadIMG(), ReadIMG_BIN(), SAVECNT, TOOLS, flag::Wl, and WriteColumn().
Referenced by D_PButt_CB(), and DT_ColFormat().
void DB_DefectPixCorr | ( | void | ) |
Apply thew pixel correction.
.
Choose the buttons to enable/disable. Repaced with DB_KB_ButtonActive();
.
Definition at line 1568 of file Procedures.c.
References CItem, MaskCol(), MaskedCol, MaskedPix, MaskedRow, MaskPix(), MaskRow(), PItem, and RItem.
Referenced by DB_GetCCD(), and E_Dark().
void DB_DispBlindPixCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Display Blind Pixel Callback
Set if the blind pixels will be displayed or not on the plot window.
Definition at line 3697 of file DAS_Spat_ConfCBs.c.
References flag::DispBlindPix.
Referenced by CONFP_opt_page3().
void DB_Do2Undo_Colors | ( | short | docol[], |
short | undocol[] | ||
) |
Definition at line 578 of file DAS_Spat_ConfCBs.c.
Definition at line 1358 of file DAS_Spat_ConfCBs.c.
void DB_EqTypeCB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Definition at line 584 of file DAS_Spat_Conf.c.
References d_fileman::CONFIGDIRCOMMON, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, paramini::EqType, LoadDB_DispCoeff(), MRButtonGetActivationStatus(), das::Paramini, and WriteEquipini().
Referenced by CONFP_param_page1().
void DB_Fil_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for filter wheel positioning in Filter shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 6120 of file CreateForms.c.
References paramini::EqType, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, FilBuff, FilFlg, FilSet, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, LIS_, das::Paramini, and TROPOGAS.
Referenced by MDCreateSh_Fil(), and MDCreateSh_NDFil().
callback for select a specified filter push button with the keyboard
Definition at line 6166 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, pushbutt::Fil, das::Gui, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), gui::PushButt, R_A, and U_A.
Referenced by MDCreateSh_Fil(), and MDCreateSh_NDFil().
void DB_FilSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 6144 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, pushbutt::Fil, das::Gui, MObjectSetBackgroundRGB(), and gui::PushButt.
void DB_FilterCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Filter positioning callback.
Definition at line 2593 of file Spat_Plot.c.
References tools::FlagFilter, GrafoIMG(), MRButtonGetActivationStatus(), ON_OFFLINEPLOT, and TOOLS.
Referenced by D_PlotTools().
void DB_FilterType_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting the type of installed filter wheel module
Definition at line 1174 of file DAS_Spat_ConfCBs.c.
References das::DOption, FDOUBLE, optionini::filtertype, FPLUS, FSIMPLE, and MRButtonGetActivationStatus().
Referenced by CONFP_opt_page7().
This callback assign font to the selected object.
Definition at line 1374 of file DAS_Spat_ConfCBs.c.
References MObjectSetFont(), and True.
int DB_GetCCD | ( | int | mod | ) |
Get CCD Image.
.
mod |
|
Definition at line 1749 of file Procedures.c.
References img::BHigh, BlindPix, img::BLow, countsopsh, D_BuildH(), optionini::darkremove, optionini::darksource, img::DATE, DB_DefectPixCorr(), DB_MirrorX(), DB_ScanMaxMin(), DBDEMO, DC_GetCCD(), delay(), DI_Regen(), DI_ScanMaxMin(), DI_WriteDigit(), DIL, das::DOption, flag::exemode, das::Flag, GetDateTime(), img::GHigh, img::GLow, img::High, IDX, IDY, img::IHigh, img::ILow, img::Imat, ImatDark, dil::Img, optionini::imgtype, INTIMG, marconi::LblExpD, marconi::LblExpP, img::Low, das::Marconi, image::Mat, MDCreateExpo(), optionini::measmode, optionini::mirrorimg, MLoopWhileEvents(), MShellDestroy(), MShellUnrealize(), optionini::pixcorr, RemoveBlindPixels(), RGBIMG, img::RHigh, img::RLow, optionini::savingmode, Server, ShowDown(), ShuttDelay, st, TESTSZAMODE, TExp, img::TIME, img::type, and XAX.
Referenced by AutoR_No_Shutt(), AutoR_TestMeas(), AutoR_With_Shutt(), AutoRange(), D_Average(), D_AverageTFix(), D_Calibra(), D_Measure(), DB_AskCB(), DB_HorComm_CB(), DB_KeyB_CB(), E_GetCCD(), E_HgScan(), E_Meashor(), E_Meashor2(), E_QjScan(), GetDefPix(), and PerformMeas().
int DB_HelpCB | ( | MOBJECT | o, |
void * | od, | ||
void * | ad | ||
) |
Help Callback
Create the help in the predefined WEB Browser.
Definition at line 881 of file DAS_Spat.c.
References _MAX_PATH, bil::DFILEM, DI_FileExist(), and d_fileman::HOMEDIRECTORY.
Referenced by AboutCB(), BuildShell(), HlpTopCB(), and MDCreate_CP().
void DB_ImgTypeCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Set the Image type.
*a_data |
|
Definition at line 1314 of file DAS_Spat_ConfCBs.c.
References das::DOption, and optionini::imgtype.
Referenced by CONFP_opt_page1().
int DB_InfCB | ( | MOBJECT | o, |
void * | od, | ||
void * | ad | ||
) |
Inf Callback
Create the Inf shell.
Definition at line 915 of file DAS_Spat.c.
References _MAX_PATH, bil::DFILEM, DI_FileExist(), and d_fileman::HOMEDIRECTORY.
Referenced by MDCreate_CP().
int DB_InitAMS | ( | int | nid, |
int | mod, | ||
int | powera, | ||
int | stepa, | ||
int | slopea, | ||
int | speeda, | ||
int | powerb, | ||
int | stepb, | ||
int | slopeb, | ||
int | speedb | ||
) |
Init selected AMS.
nid | = AMS address:
|
mod |
|
powera | –> Power assigned to motor A |
stepa | = 0, 1...13. steps assigned to motor A |
slopea | –> Slope assigned to motor A |
speeda | –> Speed assigned to motor A |
powerb | –> Power assigned to motor B |
stepb | = 0, 1...13. steps assigned to motor B |
slopeb | –> Slope assigned to motor B |
speedb | –> Speed assigned to motor B |
Definition at line 1391 of file Init.c.
References ACKLEN, DXL_par::add, AMS_Error(), AMS_firmrev(), AMS_Power(), AMS_Slope(), AMS_Speed(), AMS_Step(), DXL_par::bufrx, DXL_par::buftx, DXL_par::com, das::DOption, DXL_RxStr(), DXL_TxStr(), FDOUBLE, optionini::filtertype, stepm::firmrev, HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), SioReset(), and das::StepM.
Referenced by DB_Home_CB(), DB_InitMotor(), E_Home_SM4(), E_Home_SM6(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), and HomeZenithFast().
int DB_InitCamera | ( | int | mod | ) |
Initialize Camera Parameters.
Procedure that initialize the CCD Camera.
mod |
|
Definition at line 170 of file Init.c.
References _MAX_PATH, AllocUSMat(), img::attrib, marconi::AVGmat, BIL, CCD_INFO, CCDHANDLE, config::CCDType, CELSIUS, CLEARCCD, CodeEq2Name(), d_fileman::CONFIGDIREQUIPMENT, gui::ContrPanel, paramini::CoolPw, DB_InitDil(), DBDEMO, DC_CCDtoName(), DC_Close(), DC_GetPower(), DC_LoadCameraConfig(), DC_OpenByConfig(), DC_OpenPar(), DC_PTFtoName(), DC_RWData(), DC_SetBinning(), DC_SetGain(), DC_SetPathName(), DC_SetPower(), DC_SetTemp(), DC_SetUsrGain(), DC_Status(), DD_VRange(), optionini::DEFPIXFILENAME, bil::DFILEM, DI_CloseImage(), DI_FileExist(), DI_ImageProperties(), DI_OpenImage(), DI_PathExist(), DI_Regen(), DI_RunHisto(), DIL, das::DOption, ccd::dx, ccd::dy, paramini::EqType, flag::exemode, config::FDL_PCI_Index, das::Flag, das::Gui, d_fileman::HOMEDIRECTORY, IDX, IDY, img::Imat, ImatDark, dil::Img, optionini::imgtype, paramini::ITemp, controlpanel::lbl_Par, LoadDB_DefectPixel(), MANUAL, das::Marconi, image::Mat, MMessageDialog(), MObjectSetText(), marconi::Offset, das::Paramini, optionini::pixcorr, config::Platform, PRGFILE, PTF_INFO, READ_DATA, Server, ShowDown(), Status(), SZAMASTERM, SZAMODE, TEMPHANDLE, TEMPORIZED, TESTCCD, TESTSZAMODE, paramini::VBin, and WhoSys().
Referenced by ApplyChCB(), E_SetCCDTemp(), E_SetCCDVBin(), InitCCD_AMS(), and Task_CCD_Temp().
void DB_InitCOM | ( | int | comn | ) |
Init selected COM port.
comn |
|
Definition at line 452 of file Init.c.
References Baud19200, and DXL_Open().
Referenced by DB_InitMotor().
int DB_InitDil | ( | void | ) |
Initialize DIL. Procedure that initialize the DTA Imaging library.
Definition at line 112 of file Init.c.
References BIL, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdsx, spectrumheader::ccdsy, config::CCDType, spectrumheader::ccdvb, spectrumheader::ccdwx, spectrumheader::ccdwy, DC_CCDtoName(), DC_PTFtoName(), DI_Init(), DI_OpenDigit(), DI_OpenImage(), DI_RunHisto(), DOASMODE, das::DOption, ccd::dx, ccd::dy, flag::exemode, das::Flag, IDX, IDY, optionini::imgtype, OFFLINEPLOT, das::Paramini, config::Platform, Server, bil::SPH, and paramini::VBin.
Referenced by DB_InitCamera(), ViewNext(), ViewNext_BIN(), and Visualizza().
int DB_InitMotor | ( | int | mod | ) |
Initialize AMS. Procedure that initialize the parameters for the AMS's devices.
mod; | mod = 0–> do not init COM, mod = 1 –> init COM |
Definition at line 1584 of file Init.c.
References AMS1, AMS2, AMS3, AMS_dirfin(), flag::AMSPres, COM1, COM2, ComErrors(), gui::ContrPanel, DB_InitAMS(), DB_InitCOM(), DBDEMO, paramini::EqType, flag::exemode, das::Flag, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, controlpanel::LedSM, mige::linked, LIS_, MANUAL, das::MIGE, MMessageDialog(), MPixmapSetImageFile(), das::Paramini, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, stepm::speed, stepm::step, das::StepM, TESTAMS, and TROPOGAS.
Referenced by ApplyChCB(), and InitCCD_AMS().
void DB_KB_ButtonActive | ( | int | mod | ) |
Enable/Disable Push buttons on the Control Panel.
mod |
|
Definition at line 3810 of file CreateForms.c.
References paramini::EqType, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, pushbutt::KeyB, mige::linked, LIS_, das::MIGE, MObjectSetSensitive(), MObjectSetUnsensitive(), das::Paramini, gui::PushButt, SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, and TROPOGAS.
Referenced by ApplyChCB(), DB_ChooseButtons(), DB_Home_CB(), DB_HorComm_CB(), DB_Pause(), E_Home_SM4(), E_Home_SM6(), InitCCD_AMS(), MDCreate_CP(), MDCreateHorMeas(), SD_Azimuth(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Zenith(), SD_Zenith_H(), and SZA_FirstCalc().
void DB_KeyB_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Push buttons callback
.
p | calling push button MObject |
*ad | calling push button number |
Definition at line 4693 of file CreateForms.c.
References _MAX_PATH, AboutCB(), controlpanel::Albl_CS, FB_PREFS::allow_dir_create, FB_PREFS::allow_dir_delete, FB_PREFS::allow_dir_rename, AMS3, AutoRange(), FB_PREFS::bg_image_file, FB_PREFS::button_font, FB_PREFS::change_cwd, ChkDigIO(), ChkWinInstance(), gui::ContrPanel, D_Average(), D_Calibra(), D_Saving(), D_XProfile(), D_YProfile(), d_fileman::DATADIRECTORY, DB_Ask(), DB_GetCCD(), DB_PasWd(), DB_Pause(), DB_Save(), DB_Tools(), d_fileman::DBFILENAME, bil::DFILEM, DI_FindExtName(), DI_Lens(), das::DOption, False, FANECU(), FDOUBLE, optionini::filename, FilSet, optionini::filtertype, FB_PREFS::font, FPLUS, das::Gui, HELV_SMALL, HGFlg, HgLamp(), d_fileman::HOMEDIRECTORY, MDCreateHorMeas(), MDCreateMoveGrat(), MDCreateMoveZenAzimDeg(), MDCreateSh_Fil(), MDCreateSh_Home(), MDCreateSh_Mir(), MDCreateSh_NDFil(), MDCreateSh_SimPos(), MDCreateSh_Wl(), MFileBrowseExt(), MirSet, MMessageDialog(), MObjectSetText(), NDFilSet, NFileNameF, stepm::OOP, QJFlg, QjLamp(), SaveCnt, optionini::savingmode, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), shells::Sh_Home, shells::Sh_mg, tools::Sh_Tools, gui::Shells, ShutDOWN(), das::StepM, TExp, TMFlg, FB_PREFS::transparent_tree, True, ViewPlot(), and WlSet.
Referenced by MDCreate_CP(), and MDCreateHorMeas().
callback for selsct a specified push button with the keyboard
Definition at line 5152 of file CreateForms.c.
References gui::ContrPanel, D_A, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, ESC, F1, F10, F11, F12, F2, F3, F5, F6, F7, F8, F9, das::Gui, pushbutt::KeyB, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MSelectObject(), controlpanel::pblamps, gui::PushButt, R_A, and U_A.
Referenced by MDCreate_CP().
void DB_KeyComSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback for selsct a specified push button with the keyboard
Definition at line 5072 of file CreateForms.c.
References optionini::aaopmode, MMouseEvent::button, gui::ContrPanel, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, das::DOption, E_MOTION, das::Gui, pushbutt::KeyB, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetUnsensitive(), MSelectObject(), controlpanel::pblamps, gui::PushButt, and MMouseEvent::type.
Referenced by MDCreate_CP().
void DB_LampSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback for selsct a specified push button with the keyboard
Definition at line 5041 of file CreateForms.c.
References gui::ContrPanel, palette::DB_Sel, palette::DB_UnSel, E_MOTION, das::Gui, pushbutt::KeyB, MObjectSetBackgroundRGB(), MSelectObject(), controlpanel::pblamps, gui::PushButt, and MMouseEvent::type.
Referenced by MDCreate_CP().
void DB_MIGE_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting the operation mode for the AltAzPlatform
Definition at line 1000 of file DAS_Spat_ConfCBs.c.
References gui::ConfigPanel, das::Gui, pushbutt::KeyB, mige::linked, das::MIGE, MObjectSetSensitive(), MObjectSetUnsensitive(), MRButtonGetActivationStatus(), gui::PushButt, configpanel::rbMIGEopmode, and configpanel::rbMIGEtype.
Referenced by CONFP_opt_page5().
void DB_MIGEopmode_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting the operation mode for the AltAzPlatform
Definition at line 1071 of file DAS_Spat_ConfCBs.c.
References optionini::aaopmode, DOASMODE, das::DOption, flag::exemode, das::Flag, das::Gui, pushbutt::KeyB, MObjectSetSensitive(), MObjectSetUnsensitive(), MRButtonGetActivationStatus(), and gui::PushButt.
Referenced by CONFP_opt_page5().
void DB_MIGEType_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Definition at line 1043 of file DAS_Spat_ConfCBs.c.
References das::MIGE, MRButtonGetActivationStatus(), and mige::type.
Referenced by CONFP_opt_page5().
void DB_Mir_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for input mirror positioning in Mirror shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 5692 of file CreateForms.c.
References paramini::EqType, GASCODNG4, Mir_Code, Mir_CodeTropo, MirBuff, MirFlg, MirSet, das::Paramini, SPATRAM3, and TROPOGAS.
Referenced by MDCreateSh_Mir().
void DB_MirrorImg_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting the activation of the mirroring of the CCD image along the X or Y axis
Definition at line 1259 of file DAS_Spat_ConfCBs.c.
References das::DOption, optionini::mirrorimg, MRButtonGetActivationStatus(), XAX, and YAX.
Referenced by CONFP_opt_page5().
callback for selsct a specified mirror push button with the keyboard
Definition at line 5748 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, das::Gui, MKeyEvent::keycode, L_A, pushbutt::Mir, MObjectSetBackgroundRGB(), gui::PushButt, R_A, and U_A.
Referenced by MDCreateSh_Mir().
void DB_MirSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 5708 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, E_MOTION, das::Gui, pushbutt::Mir, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MSelectObject(), gui::PushButt, and MMouseEvent::type.
void DB_NDFil_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for filter wheel positioning in Filter shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 6360 of file CreateForms.c.
References paramini::EqType, Fil_Code8H, Fil_CodeNG, Fil_CodeTropo, FilBuff, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, LIS_, NDFil_Code, NDFilBuff, NDFilFlg, NDFilSet, das::Paramini, and TROPOGAS.
Referenced by MDCreateSh_NDFil().
callback for select a specified filter push button with the keyboard
Definition at line 6404 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, das::Gui, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), pushbutt::NDFil, gui::PushButt, R_A, and U_A.
Referenced by MDCreateSh_NDFil().
void DB_NDFilSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 6382 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, das::Gui, MObjectSetBackgroundRGB(), pushbutt::NDFil, and gui::PushButt.
void DB_Pause | ( | void | ) |
Definition at line 3766 of file CreateForms.c.
References D_FixSZA(), DB_KB_ButtonActive(), flag::DeltaSZA, flag::exec, flag::ExeDSZA, das::Flag, das::Gui, pushbutt::KeyB, dsza::LastMSZA, MObjectSetSensitive(), MObjectSetText(), gui::PushButt, S_zenetr, Status(), and SZADelta.
Referenced by DB_KeyB_CB(), InitTempAD(), and SetWindowsReset().
void DB_PlotDisplayCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Select if the PLOT will be displayed after the measurement
.
adata |
|
Definition at line 3714 of file DAS_Spat_ConfCBs.c.
References das::Flag, and flag::plotW.
Referenced by CONFP_opt_page3().
void DB_PlotYAxisCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Select the Y axis Unit mode
.
adata |
|
Definition at line 3678 of file DAS_Spat_ConfCBs.c.
References flag::plotYRange.
Referenced by CONFP_opt_page3().
void DB_RadDrkSourceCB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Set the dark source.
*a_data |
|
Definition at line 1290 of file DAS_Spat_ConfCBs.c.
References optionini::darksource, das::DOption, and MRButtonGetActivationStatus().
Referenced by CONFP_opt_page2().
void DB_RadioAvgModeCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Set the Averaging mode flag.
*a_data |
|
Definition at line 904 of file DAS_Spat_ConfCBs.c.
References optionini::avgmode, gui::ConfigPanel, das::DOption, das::Gui, configpanel::lblAvg, MObjectSetText(), N_AVG, configpanel::n_avg, and TOTTEXP.
Referenced by CONFP_opt_page1().
void DB_RadioDarkCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Set the dark removing from the measurements.
*a_data |
|
Definition at line 972 of file DAS_Spat_ConfCBs.c.
References configpanel::BPDark, gui::ConfigPanel, optionini::darkremove, das::DOption, configpanel::FFDark, das::Gui, MObjectSetSensitive(), and MObjectSetUnsensitive().
Referenced by CONFP_opt_page2().
void DB_RadioFNSelCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Set the file name mode.
*a_data |
|
Definition at line 1336 of file DAS_Spat_ConfCBs.c.
References das::DOption, and optionini::filename.
Referenced by CONFP_opt_page1().
void DB_RadioModeSelCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Set the saving mode.
*a_data |
|
Definition at line 955 of file DAS_Spat_ConfCBs.c.
References das::DOption, and optionini::savingmode.
Referenced by CONFP_opt_page1().
void DB_RadioPixCorrCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Set the image Correction flag.
*a_data |
|
Definition at line 931 of file DAS_Spat_ConfCBs.c.
References gui::ConfigPanel, optionini::DEFPIXFILENAME, das::DOption, das::Gui, configpanel::lblCorrPixF, MObjectSetSensitive(), MObjectSetText(), MObjectSetUnsensitive(), configpanel::pbBrowseCorrPixF, and optionini::pixcorr.
Referenced by CONFP_opt_page1().
int DB_ReInitCamera | ( | void | ) |
Re-Initialize Camera Parameters. Procedure that re-initialize the parameters for the CCD Camera.
void DB_Save | ( | char * | tit, |
int | mod | ||
) |
Save the acquired spectrum. Procedure that Save the acquired spectrum.
*tit | pointer to the char variable with the file name |
mod |
|
Definition at line 552 of file Save.c.
References D_BuildH(), D_save_asc(), D_save_bif(), DAS, img::DATE, DIL, DOASMODE, flag::exemode, das::Flag, GetDateTime(), dil::Img, image::Mat, OFFLINEPLOT, SaveDataOffLine(), Server, and img::TIME.
Referenced by D_PButt_CB(), D_Saving(), DB_HorComm_CB(), DB_KeyB_CB(), PopUp_CB(), and SaveCalib().
void DB_save_img | ( | char * | tit, |
int | mod | ||
) |
Saving image. Procedure for saving the CCD Image Used until version 2.0.9, Since 2.1.0 D_Saving(void) is used.
*tit | –> file name where the image will be saved |
mod |
|
Definition at line 580 of file Save.c.
References FWS, IDX, IDY, MIS, O_BINARY, FilterWheelSt::Pos, MirrorSt::Pos, Status(), TExp, wl, and GratingSt::Wl.
double DB_ScanMaxMin | ( | int | w, |
float * | mx, | ||
float * | mi, | ||
int | bp | ||
) |
Find Max and Min values for the buffer of order w.
w | = index of the image (0 or 1) . |
bp | = number of the CCD blind pixels . |
Definition at line 1632 of file Procedures.c.
References D_VRange(), DIL, das::DOption, FLTIMG, img::Fmat, image::Idx, image::Idy, img::Imat, dil::Img, INTIMG, image::Mat, img::MaxNumbers, optionini::measmode, RGBIMG, and img::type.
Referenced by AutoR_No_Shutt(), AutoR_TestMeas(), AutoR_With_Shutt(), D_Average(), and DB_GetCCD().
void DB_SelOutModeCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Select the Output for the Temperature AD Converter
.
adata |
|
Definition at line 3622 of file DAS_Spat_ConfCBs.c.
References adtester::OutputMode.
Referenced by MDCreateDASConfig().
void DB_SetCCDTargetTempCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Select the CCD temperature mode
.
adata |
|
Definition at line 3642 of file DAS_Spat_ConfCBs.c.
References flag::settempvar.
Referenced by CONFP_opt_page2().
void DB_SetXUnitsCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Select the X axis Unit mode
.
adata |
|
Definition at line 3659 of file DAS_Spat_ConfCBs.c.
References flag::Wl.
Referenced by CONFP_opt_page3().
void DB_Shutter_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting if the shutter is installed or not
Definition at line 1204 of file DAS_Spat_ConfCBs.c.
References gui::ConfigPanel, das::DOption, optionini::emshutter, das::Gui, MObjectSetSensitive(), MObjectSetUnsensitive(), MRButtonGetActivationStatus(), and configpanel::rbSHUTType.
Referenced by CONFP_opt_page7().
void DB_ShutterType_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
callback selecting the type of installed shutter
Definition at line 1145 of file DAS_Spat_ConfCBs.c.
References das::DOption, MRButtonGetActivationStatus(), ROTSHUT, optionini::shuttertype, TORQUEM, and VS25.
Referenced by CONFP_opt_page7().
int DB_StepMotor | ( | int | id, |
int | motor, | ||
long | step, | ||
int | dir | ||
) |
Send steps to the selected stepper motor.
.
id | = AMS address:
|
motor |
|
step | –> number of steps to be performed |
dir | = direction of the stepper rotation:
|
Definition at line 816 of file Dxl.c.
References DXL_par::add, controlpanel::Albl_LS, AMS_DoPos(), gui::ContrPanel, DBDEMO, flag::exemode, das::Flag, das::Gui, controlpanel::LedSM, Message(), MObjectSetText(), and MPixmapSetImageFile().
Referenced by ActMvAzimCB(), ActMvGratCB(), ActMvZenCB(), D_Calibra(), SD_Azimuth(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Position(), SD_PosOMUDev(), SD_Zenith(), and SD_Zenith_H().
void DB_Undo2Do_Colors | ( | short | undocol[], |
short | docol[] | ||
) |
Assign to the DO_Color structure the Color Values of the UNDO_Color Structure.
Assign to the UNDO_Color structure the Color Values of the DO_Color Structure.
Definition at line 189 of file DAS_Spat_ConfCBs.c.
void DB_VMRsfCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Set the flag for modification or reload of DAS configuration files
Set the VMRsf (View Modify Re-load system files) flag.
*a_data |
|
Definition at line 4184 of file DAS_Spat_ConfCBs.c.
References flag::VMRsf.
Referenced by CONFP_opt_page2().
void DB_Wl_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for grating positioning in Wavelength shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 5891 of file CreateForms.c.
Referenced by MDCreateSh_Wl().
callback for selsct a specified wavelength push button with the keyboard
Definition at line 5927 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, das::Gui, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), gui::PushButt, R_A, U_A, and pushbutt::Wl.
Referenced by MDCreateSh_Wl().
void DB_WlSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 5905 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, das::Gui, MObjectSetBackgroundRGB(), gui::PushButt, and pushbutt::Wl.
void DB_WriteMode | ( | int | mod | ) |
Definition at line 6722 of file CreateForms.c.
Referenced by ShutCB(), and WinRes().
void __stdcall DD_VRange | ( | const char * | str, |
int | perc, | ||
int | Port | ||
) |
Definition at line 153 of file Utils.c.
References D_CloseVR(), D_VOpen, D_VRip, palette::DB_BG, HELV_SMALL, MCreateShell(), MCreateStatusBar(), MLoopWhileEvents(), MObjectResize(), MObjectSetBackgroundRGB(), MObjectSetCompositeHeight(), MObjectSetText(), MShellDestroy(), MShellRealize(), MShellSetWMCloseCallback(), MShellUnrealize(), MStatusBarSetPos(), MStatusBarSetSliderRGB(), SF_NO_MAXIMIZE, SF_NO_MINIMIZE, and SF_SAVEUNDER.
Referenced by DB_InitCamera().
void DDMessage | ( | char * | str | ) |
Definition at line 13 of file REQ.C.
References CENTER_ALIGN, LARGE_FONT, lbl, MCreateLabel(), MCreateShell(), MLabelSetAlignment(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MShellRealize(), and SF_MODAL.
void delay | ( | unsigned long | d | ) |
Pauses for a specified number of milliseconds.
.
Definition at line 1113 of file Dxl.c.
References DWORD.
Referenced by AMS_Power(), AMS_PWM(), AMS_PWM_Zero(), AutoR_SetND_Filter(), AutoRange(), CreateList(), D_Average(), D_Calibra(), DB_GetCCD(), E_Almucantar(), E_DFMeasure(), E_DirectSun(), ExMaster(), ExtLamp(), ExtShutt(), FANECU(), FANPeltier(), FTP_Back_UP(), InitCCD_AMS(), MDQuitCB(), OOP_CB(), Peltier(), PRG_Check(), ShutCB(), and ViewPlot().
void DiffCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 109 of file DOAS_FullProj.c.
References MDCreateDiff_Sh().
Referenced by MDCreateDOAS_MainSh().
void DMessage | ( | char * | str | ) |
Definition at line 1099 of file DAS_Spat_Conf.c.
References MMessageDialog().
Referenced by MDQuitCB(), and PBH_CB().
void DOASProcCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 102 of file DOAS_FullProj.c.
References DOAS_ProcSh, MDCreateDOAS_ProcSh(), and MShellRealize().
Referenced by MDCreateDOAS_MainSh().
void DOASSetupCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 94 of file DOAS_FullProj.c.
References DOAS_SetupSh, MDCreateDOAS_SetupSh(), and MShellRealize().
Referenced by MDCreateDOAS_MainSh().
This callback draws strings using the selected font.
Definition at line 1615 of file DAS_Spat_ConfCBs.c.
References mtcl::black, CENTER_ALIGN, font, MDrawText(), MObjectGetHeight(), and MObjectGetWidth().
Referenced by MDCreateDASConfig().
int DT_ColFormat | ( | void | ) |
Callback for Column format.
Definition at line 431 of file Utils.c.
References _MAX_PATH, FB_PREFS::allow_dir_create, FB_PREFS::allow_dir_delete, FB_PREFS::allow_dir_rename, FB_PREFS::bg_image_file, FB_PREFS::button_font, FB_PREFS::change_cwd, DAS, d_fileman::DATADIRECTORY, DB_Column(), d_fileman::DBFILENAME, bil::DFILEM, das::DOption, False, FB_PREFS::font, HELV_SMALL, d_fileman::HOMEDIRECTORY, MFileBrowseExt(), optionini::savingmode, FB_PREFS::transparent_tree, and True.
Referenced by ColumnFormatCB().
int DT_CorrFileEvora | ( | void | ) |
Used to correct some data files.
Definition at line 786 of file Utils.c.
References AllocUSMat(), spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdwx, spectrumheader::ccdwy, D_PrintBILSPH(), D_PrintSpectrum(), D_VRange(), d_fileman::DBFILENAME, DeallocUSMat(), bil::DFILEM, bil::DPLOT, FELE, FOPEN, IDX, IDY, d_view::ImatGraf, d_view::ImatOrig, MDCreateFM_Shell(), MLoopWhileEvents(), ReadHeaderOnly(), ReadIMG(), SAVECNT, ShiftImg(), bil::SPH, and d_fileman::WORKDIRECTORY.
int DT_CorrHeader | ( | ) |
Used to correct the header in some data files.
Definition at line 662 of file Utils.c.
References AllocUSMat(), spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdwx, spectrumheader::ccdwy, D_PrintBILSPH(), D_PrintSpectrum(), D_VRange(), d_fileman::DBFILENAME, DeallocUSMat(), bil::DFILEM, bil::DPLOT, FELE, FOPEN, IDX, IDY, d_view::ImatGraf, d_view::ImatOrig, MDCreateFM_Shell(), MLoopWhileEvents(), ReadHeaderOldF(), ReadIMG(), SAVECNT, bil::SPH, and d_fileman::WORKDIRECTORY.
int DT_FluxIndex | ( | void | ) |
Callback for Flux Index Calculation.
Definition at line 499 of file Utils.c.
References DB_CalcFluxI(), d_fileman::DBFILENAME, bil::DFILEM, FELE, FOPEN, and MDCreateFM_Shell().
Referenced by DB_ToolsKeyB_CB().
int DT_LinkSpectra | ( | void | ) |
For the linked spectra (..on going!!!)
Definition at line 915 of file Utils.c.
References d_fileman::DBFILENAME, bil::DFILEM, FMOD, FOPEN, MDCreateFM_Shell(), and Model_read().
Referenced by DB_ToolsKeyB_CB().
void E_AAMeasure | ( | void | ) |
perform measurements with the Alt Azimuth Platform perform measurements with the Alt Azimuth Platform positioning all the spectrometer devices
Definition at line 997 of file Exec.c.
References optionini::avgautor, das::DOption, E_REM(), paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), optionini::measmode, das::Paramini, PerformMeas(), PrgCnt, Program, S_zenetr, SD_Azimuth(), SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Position(), SD_Zenith(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_AAPos | ( | void | ) |
alt Az Positioning.
Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform)
Definition at line 893 of file Exec.c.
References E_REM(), PrgCnt, Program, and SD_Position().
Referenced by D_AutoExecution().
void E_Almucantar | ( | void | ) |
.
All the E_xxxxx() function are used during the execution in PRG mode
Definition at line 1680 of file Exec.c.
References delay(), das::DOption, E_REM(), elev, paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), das::Paramini, PerformMeas(), PrgCnt, Program, S_azim, S_zenetr, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Position(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_AutoRange | ( | void | ) |
Autoranging.
Procedure for Autoranging. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 342 of file Exec.c.
References AutoRange(), E_REM(), ExeREM, and Status().
Referenced by D_AutoExecution(), and Radio().
void E_Average | ( | void | ) |
Averaged Measurements.
Procedure for Averaged Measurements. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 612 of file Exec.c.
References E_REM(), ExeREM, LookforWl_X(), PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), and wl.
Referenced by D_AutoExecution().
void E_AvgCCDHor | ( | void | ) |
Averaged Horizontal Measurements.
Procedure for Averaged Measurements with external lamp. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 538 of file Exec.c.
References das::DOption, E_REM(), ExeREM, ExtShutt(), flag::extshutter, LookforWl_X(), PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Azimuth | ( | void | ) |
Position Azimuth Axis.
Definition at line 1473 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_Azimuth().
Referenced by D_AutoExecution().
void E_Calibra | ( | void | ) |
Execute D_Calibra.
D_Calibra is a procedure for the spectral calibration with HG lamp. Shift of HG spectral line at 4358.4 on pixel 512 All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 330 of file Exec.c.
References D_Calibra(), E_REM(), and ExeREM.
Referenced by D_AutoExecution().
void E_ChkExLamp | ( | void | ) |
Definition at line 1225 of file Exec.c.
References AutoRange(), E_REM(), ExeREM, ExtShutt(), flag::extshutter, and TExp.
Referenced by D_AutoExecution().
void E_Dark | ( | void | ) |
Execute Dark Measurement.
Procedure for Dark Measurement. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 279 of file Exec.c.
References img::DATE, DB_DefectPixCorr(), DC_GetCCD(), DI_Regen(), DI_ScanMaxMin(), DIL, das::DOption, E_REM(), ExeREM, GetDateTime(), img::High, img::IHigh, img::ILow, img::Imat, dil::Img, img::Low, image::Mat, optionini::pixcorr, Server, TExp, and img::TIME.
Referenced by D_AutoExecution().
void E_DFMeasure | ( | void | ) |
Perform Measurement setting the ND Filter Wheel also.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 911 of file Exec.c.
References optionini::avgautor, delay(), das::DOption, E_REM(), paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), optionini::measmode, das::Paramini, PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_PosOMUDev(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_DirectSun | ( | void | ) |
.
All the E_xxxxx() function are used during the execution in PRG mode
Definition at line 1596 of file Exec.c.
References delay(), das::DOption, E_REM(), elev, paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), das::Paramini, PerformMeas(), PrgCnt, Program, S_azim, S_zenetr, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Position(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_Expo | ( | void | ) |
Exposuring.
Read the Exposure time from PRG file. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 365 of file Exec.c.
References E_REM(), PrgCnt, Program, and Status().
Referenced by D_AutoExecution().
void E_ExtLampOFF | ( | void | ) |
External lamp OFF.
Definition at line 66 of file Exec.c.
References E_REM(), ExeREM, flag::extlamp, and ExtLamp().
Referenced by D_AutoExecution().
void E_ExtLampON | ( | void | ) |
External lamp ON.
Definition at line 54 of file Exec.c.
References E_REM(), ExeREM, flag::extlamp, and ExtLamp().
Referenced by D_AutoExecution().
void E_ExtShutClose | ( | void | ) |
Close External Shutter.
Definition at line 91 of file Exec.c.
References E_REM(), ExeREM, ExtShutt(), and flag::extshutter.
Referenced by D_AutoExecution().
void E_ExtShutOpen | ( | void | ) |
Open External Shutter.
Definition at line 79 of file Exec.c.
References E_REM(), ExeREM, ExtShutt(), and flag::extshutter.
Referenced by D_AutoExecution().
void E_Filter | ( | void | ) |
Filter Wheel positioning.
Procedure for Filter Wheel positioning. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 761 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_FilterW().
Referenced by D_AutoExecution().
int E_GetCCD | ( | void | ) |
Get CCD.
Execute DB_GetCCD. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 705 of file Exec.c.
References DB_GetCCD(), E_REM(), ExeREM, and Status().
Referenced by D_AutoExecution(), and Radio().
void E_Hg_Off | ( | void | ) |
HG OFF.
Hg lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 255 of file Exec.c.
References E_REM(), ExeREM, and HgLamp().
Referenced by D_AutoExecution(), and E_HgScan().
void E_Hg_On | ( | void | ) |
HG ON.
Hg lamp ON. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 246 of file Exec.c.
References E_REM(), ExeREM, and HgLamp().
Referenced by D_AutoExecution(), and E_HgScan().
void E_HGratCal | ( | void | ) |
Perform home grating and HG Calibration.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1488 of file Exec.c.
References D_Calibra(), ExeREM, HomeGratingFast(), and Status().
Referenced by D_AutoExecution().
void E_HgScan | ( | void | ) |
Check the full spectral range with HG ON.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1504 of file Exec.c.
References AutoRange(), D_Plot(), DB_GetCCD(), das::DOption, E_Hg_Off(), E_Hg_On(), ExeREM, FDOUBLE, optionini::filtertype, das::Flag, FPLUS, flag::plotW, SaveCalib(), SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM1 | ( | void | ) |
Home for SM1.
Set the reference position for Stepper motor 1 (Input Mirror). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 111 of file Exec.c.
References flag::ADPC104, flag::ADTempTest, E_REM(), ExeREM, GRAT_TASK_TIME, ids::GRATHOME, HomeMirror(), IDS, MRefreshTimeout(), MRemoveTimeout(), Status(), and Task_HomeGrat().
Referenced by D_AutoExecution().
int E_Home_SM2 | ( | void | ) |
Home for SM2.
Set the reference position for Stepper motor 2 (Grating). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 139 of file Exec.c.
References E_REM(), ExeREM, HomeGratingFast(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM3 | ( | void | ) |
Home for SM3.
Set the reference position for Stepper motor 3 (Filter Wheel). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 154 of file Exec.c.
References AMS2, AMS_MotorOn_Off(), E_REM(), ExeREM, HomeFiltersFast(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM4 | ( | void | ) |
Home for SM4.
Set the reference position for Stepper motor 4 (Neutral density filter wheel). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 209 of file Exec.c.
References AMS2, AMS_Default(), DB_InitAMS(), DB_KB_ButtonActive(), E_REM(), ExeREM, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, Status(), stepm::step, and das::StepM.
Referenced by D_AutoExecution().
int E_Home_SM5 | ( | void | ) |
Home for SM5.
Set the reference position for Stepper motor 5 (MIGE Zenith). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 168 of file Exec.c.
References E_REM(), ExeREM, HomeZenithFast(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM6 | ( | void | ) |
Home for SM6.
Set the reference position for Stepper motor 6 (MIGE Azimuth). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 182 of file Exec.c.
References AMS3, AMS_Default(), DB_InitAMS(), DB_KB_ButtonActive(), E_REM(), ExeREM, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, Status(), stepm::step, and das::StepM.
Referenced by D_AutoExecution().
void E_IRefSun | ( | void | ) |
Io Measured near the sun.
This procedure carries out a measurements for the reference spectrum used in DOAS analysis, with the alt Azimut platfor pointing the sun. Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform)
Definition at line 845 of file Exec.c.
References das::DOption, E_REM(), elev, ExeREM, LookforWl_X(), PerformMeas(), PrgCnt, Program, S_azim, S_zenetr, SD_Azimuth(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_Position(), SD_Zenith(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Label | ( | void | ) |
labeling.
The text after the key-word is a label. All the E_xxxxx() function are used during the execution in PRG mode
Definition at line 745 of file Exec.c.
References E_REM(), PrgCnt, and Program.
Referenced by D_AutoExecution().
void E_Lambda | ( | void | ) |
Lambda Reading.
When the WAVELEN key-word is encountred in the PRG file, the Wavelength code from PRG file is read and the grating is positioned. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 718 of file Exec.c.
References E_REM(), ExeREM, LookforWl_X(), PrgCnt, Program, SD_Grating(), and wl.
Referenced by D_AutoExecution().
void E_Meashor | ( | void | ) |
perform horizontal measurements (3) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1) 3) measurement without the external lamp (exposure time recalculated)
Definition at line 1280 of file Exec.c.
References D_Plot(), D_Saving(), DB_GetCCD(), das::DOption, E_REM(), ExeREM, ExtShutt(), flag::extshutter, das::Flag, LookforWl_X(), PerformMeas(), flag::plotW, PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Meashor2 | ( | void | ) |
perform horizontal measurements (2) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1)
Definition at line 1370 of file Exec.c.
References D_Plot(), D_Saving(), DB_GetCCD(), das::DOption, E_REM(), ExeREM, ExtShutt(), flag::extshutter, das::Flag, LookforWl_X(), PerformMeas(), flag::plotW, PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Measure | ( | void | ) |
Perform Measurement.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1060 of file Exec.c.
References optionini::avgautor, das::DOption, E_REM(), ExeREM, LookforWl_X(), optionini::measmode, PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Mirror | ( | void | ) |
Inpot Mirror positioning.
Procedure for Input mirror positioning. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 773 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_Mirror().
Referenced by D_AutoExecution().
void E_NDFilter | ( | void | ) |
Set ND Filter.
Set ND Filter All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 429 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_NDFilterW().
Referenced by D_AutoExecution().
void E_Plot | ( | void | ) |
Plot Spectrum.
Plot Spectrum. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 237 of file Exec.c.
References E_REM(), ExeREM, and ViewPlot().
Referenced by D_AutoExecution().
void E_Qj_Off | ( | void | ) |
Qj OFF.
QJ - Halogen - lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 271 of file Exec.c.
References E_REM(), ExeREM, and QjLamp().
Referenced by D_AutoExecution(), and E_QjScan().
void E_Qj_On | ( | void | ) |
Qj ON.
QJ - Halogen - lamp ON. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 263 of file Exec.c.
References E_REM(), ExeREM, and QjLamp().
Referenced by D_AutoExecution(), and E_QjScan().
void E_QjScan | ( | void | ) |
Check the full spectral range with QJ ON.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1548 of file Exec.c.
References AutoRange(), D_Plot(), DB_GetCCD(), das::DOption, E_Qj_Off(), E_Qj_On(), ExeREM, FDOUBLE, optionini::filtertype, das::Flag, FPLUS, flag::plotW, SaveCalib(), SaveCnt, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), and Status().
Referenced by D_AutoExecution().
void E_Radio | ( | void | ) |
Radiometric Measurements.
Procedure for Radiometric Measurements. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 684 of file Exec.c.
References E_REM(), ExeREM, p, PrgCnt, and Program.
Referenced by D_AutoExecution().
void E_REM | ( | void | ) |
Flush string since the Carriege Return.
Procedure for flushing the readed string since the Carriege Return. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 47 of file Exec.c.
References ExeREM, PrgCnt, and Program.
Referenced by D_AutoExecution(), D_Measure(), E_AAMeasure(), E_AAPos(), E_Almucantar(), E_AutoRange(), E_Average(), E_AvgCCDHor(), E_Azimuth(), E_Calibra(), E_ChkExLamp(), E_Dark(), E_DFMeasure(), E_DirectSun(), E_Expo(), E_ExtLampOFF(), E_ExtLampON(), E_ExtShutClose(), E_ExtShutOpen(), E_Filter(), E_GetCCD(), E_Hg_Off(), E_Hg_On(), E_Home_SM1(), E_Home_SM2(), E_Home_SM3(), E_Home_SM4(), E_Home_SM5(), E_Home_SM6(), E_IRefSun(), E_Label(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), E_Mirror(), E_NDFilter(), E_Plot(), E_Qj_Off(), E_Qj_On(), E_Radio(), E_Save(), E_SetCCDOffSet(), E_SetCCDPow(), E_SetCCDTemp(), E_SetCCDVBin(), E_WAIT(), and E_Zenith().
void E_Save | ( | void | ) |
Save Image.
Procedure for saving image or data. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 355 of file Exec.c.
References D_Saving(), E_REM(), and ExeREM.
Referenced by D_AutoExecution(), and Radio().
void E_SetCCDOffSet | ( | void | ) |
Set the CCD Offst (only for HIRES-V.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 394 of file Exec.c.
References DC_SetUsrGain(), E_REM(), das::Marconi, marconi::Offset, PrgCnt, Program, and Status().
Referenced by D_AutoExecution().
void E_SetCCDPow | ( | void | ) |
Set CCD Power.
Set CCD Power. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 411 of file Exec.c.
References gui::ContrPanel, paramini::CoolPw, E_REM(), das::Gui, controlpanel::lbl_Par, MObjectSetText(), das::Paramini, PrgCnt, Program, omuthr::ReachTemp, and Status().
Referenced by D_AutoExecution().
void E_SetCCDTemp | ( | void | ) |
Set CCD Temp.
Set CCD Temp. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 375 of file Exec.c.
References gui::ContrPanel, DB_InitCamera(), E_REM(), das::Gui, paramini::ITemp, controlpanel::lbl_Par, MObjectSetText(), das::Paramini, PrgCnt, Program, omuthr::ReachTemp, and Status().
Referenced by D_AutoExecution().
void E_SetCCDVBin | ( | void | ) |
Set CCD Vert Binn.
Set CCD Vert Binn. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 446 of file Exec.c.
References DB_InitCamera(), E_REM(), das::Paramini, PrgCnt, Program, Status(), and paramini::VBin.
Referenced by D_AutoExecution().
void E_WAIT | ( | void | ) |
Delay Procedure.
sleep the program . All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 731 of file Exec.c.
References E_REM(), MLoopWhileEvents(), PrgCnt, and Program.
Referenced by D_AutoExecution().
void E_Zenith | ( | void | ) |
Position Zenith Axis.
Definition at line 1461 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_Zenith().
Referenced by D_AutoExecution().
char* EquipCode2Name | ( | int | eqcode, |
char * | src, | ||
char * | dest | ||
) |
translate the Equipment Code in the Equipment Name
int | eqcode = /ref eqtype |
char | *src = source string (buffer) (can be an empty string: "") |
char | *dest = destination string (buffer) defined in the calling code (i.e.: dest[32] = {'\0'}) |
Definition at line 3163 of file DAS_Spat_ConfCBs.c.
References GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, LIS_, SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, and TROPOGAS.
char * ERR_Option | ( | int | ercode | ) |
Alerts for OPTION.INI errors
Creates a message window reporting the reasons for the error.
ercode | = code of the error |
Definition at line 325 of file Load.c.
Referenced by MGUIMain().
void ExitCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 80 of file DOAS_FullProj.c.
References MGUITerm().
Referenced by MDCreateDOAS_MainSh().
int ExtLamp | ( | int | mod | ) |
change the status of the external lamp change the status of the external lamp (ON or OFF) through a radio signal controlled by the AMS output port (bit 7) NOTE - This feature is not used!!!!!!
Definition at line 1117 of file Exec.c.
References AMS1, AMS_wopto(), delay(), stepm::OOP, and das::StepM.
Referenced by DB_HorComm_CB(), E_ExtLampOFF(), and E_ExtLampON().
int ExtShutt | ( | int | mod | ) |
change the status of the external shutter change the status of the external shutter (OPEN or CLOSED) through a radio signal controlled by the AMS output port (bit 6)
Definition at line 1155 of file Exec.c.
References AMS1, AMS2, AMS_wopto(), delay(), paramini::EqType, MMessageDialog(), stepm::OOP, das::Paramini, SPATRAM2, das::StepM, and TROPOGAS.
Referenced by DB_HorComm_CB(), E_AvgCCDHor(), E_ChkExLamp(), E_ExtShutClose(), E_ExtShutOpen(), E_Meashor(), and E_Meashor2().
void FANECU | ( | int | mod | ) |
FAN ON/OFF
.
mod |
|
Definition at line 2619 of file Spat_Device.c.
References AMS3, AMS_wopto(), delay(), das::Gui, pushbutt::KeyB, MObjectSetText(), stepm::OOP, gui::PushButt, and das::StepM.
Referenced by DB_KeyB_CB(), and Task_LIS_Temp().
void FANPeltier | ( | int | mod | ) |
FAN ON/OFF
.
mod |
|
Definition at line 2652 of file Spat_Device.c.
References AMS1, AMS_wopto(), delay(), stepm::OOP, and das::StepM.
Referenced by ADTesterCB(), OMU_ChooseDir(), and ShutCB().
int Fetch | ( | void | ) |
Reads the key-word in PRG Files
.
Definition at line 298 of file DAS_Spat.c.
References KeyCode, PrgCnt, and Program.
Referenced by D_AutoExecution(), and PRG_Check().
void FilterCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 160 of file DOAS_FullProj.c.
References MDCreateFormat_Sh().
Referenced by MDCreateDOAS_MainSh().
void FixStepCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 115 of file DOAS_FullProj.c.
References MDCreateFixed_Sh().
Referenced by MDCreateDOAS_MainSh().
void FlushLine | ( | char * | buf, |
int | nc, | ||
FILE * | f | ||
) |
Flush line of file f read a maximum of nc character since when the read char is different from ch(10) =line feed =LF.
Definition at line 54 of file Load.c.
References ch.
Referenced by LoadAMS(), LoadDasSysCol(), LoadDB_DispCoeff(), LoadDB_Options(), LoadEquipment(), LoadFTPSetting(), LoadParam(), and LoadWlstep().
void FontOBJSelCB | ( | MOBJECT | obj, |
void * | a, | ||
void * | v | ||
) |
This callback select the object for applying font.
Definition at line 1385 of file DAS_Spat_ConfCBs.c.
References FlgOBJ.
Referenced by MDCreateDASConfig().
void FormatData | ( | void | ) |
int fraz2val | ( | int | mod, |
char * | val | ||
) |
ratio value to decimal value
opposite than listval2fraz or val2fraz
mod | NOT USED (0) |
val | sring indicating the ratio |
Definition at line 2435 of file DAS_Spat_ConfCBs.c.
Referenced by ApplyChCB(), and WriteAMSCB().
void getdate | ( | struct date * | tp | ) |
get current date
Definition at line 131 of file Save.c.
References date::da_day, date::da_mon, and date::da_year.
Definition at line 43 of file Save.c.
References date::da_day, date::da_mon, date::da_year, time::ti_hour, time::ti_hund, time::ti_min, and time::ti_sec.
Referenced by AutoR_No_Shutt(), AutoR_With_Shutt(), ChkMaster(), D_AutoExecution(), DB_GetCCD(), DB_Save(), E_Dark(), GetDefPix(), MGUIMain(), SetWindowsReset(), SZA_FirstCalc(), Task_LOG(), Task_Timer(), WinRes(), WriteAMSCB(), WriteOptioniniCB(), WriteParaminiCB(), and WritewlstepiniCB().
int GetDefPix | ( | int | mod | ) |
Maps the defective pixel.
mod |
|
Definition at line 3755 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, AutoRange(), d_fileman::CONFIGDIREQUIPMENT, D_Saving(), date::da_day, date::da_mon, date::da_year, DB_GetCCD(), bil::DFILEM, bil::DPLOT, GetDateTime(), IDX, IDY, img::Imat, d_view::ImatGraf, dil::Img, LevelDefPix, image::Mat, MMessageDialog(), print2file(), QjLamp(), SD_Mirror(), Server, TExp, time::ti_hour, and time::ti_min.
Referenced by MAPDefPixCB().
void gettime | ( | struct time * | tp | ) |
get current time
Definition at line 92 of file Save.c.
References time::ti_hour, time::ti_hund, time::ti_min, and time::ti_sec.
int HeaderInPlot | ( | void | ) |
Shows the measurements parameters
.
Definition at line 1475 of file Spat_Plot.c.
References d_geo::alititude, optionini::avgmode, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, marconi::CCDTemp, spectrumheader::ccdvb, spectrumheader::ccdwx, paramini::ccdWx, spectrumheader::ccdwy, paramini::ccdWy, paramini::ccdXoff, paramini::ccdYoff, viewformobj::cmdpb, date::da_day, date::da_mon, date::da_year, img::DATE, das::DGeo, das::DOption, spectrumheader::dummy3, ccd::dx, ccd::dy, paramini::EqType, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, optionini::filtertype, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, GRS, img::High, dil::Img, d_geo::latitude, viewformobj::lblalt, viewformobj::lblccdex, viewformobj::lblccdey, viewformobj::lblccdsx, viewformobj::lblccdsy, viewformobj::lblccdtemp, viewformobj::lblccdtexp, viewformobj::lblccdwx, viewformobj::lblccdwy, viewformobj::lbldate, viewformobj::lblfilter, viewformobj::lbllat, viewformobj::lblloc, viewformobj::lbllong, viewformobj::lblmax, viewformobj::lblmin, viewformobj::lblmirpos, viewformobj::lblndfilter, viewformobj::lblnr, viewformobj::lblnummeas, viewformobj::lblsza, viewformobj::lbltime, viewformobj::lblvb, viewformobj::lblwaveleng, LIS_, d_geo::longitude, img::Low, das::Marconi, image::Mat, optionini::measmode, Mir_Code, Mir_CodeTropo, MIS, MObjectSetSensitive(), MObjectSetText(), N_AVG, N_RM, NDFil_Code, das::Paramini, FilterWheelSt::Pos, MirrorSt::Pos, d_geo::s_name, S_zenetr, Server, SPATRAM3, bil::SPH, TExp, time::ti_hour, time::ti_min, time::ti_sec, img::TIME, TROPOGAS, paramini::VBin, bil::VFO, spectrumheader::wavelen, wl, and GratingSt::Wl.
Referenced by DrawAreaPlotCB().
int hertz2int | ( | int | mod, |
char * | string | ||
) |
translate the Hertz speed in AMS digit unit.
mod | –> int not used (0) |
*string | –> char containing the Hertz speed |
Definition at line 2226 of file DAS_Spat_ConfCBs.c.
Referenced by ApplyChCB(), and WriteAMSCB().
void HgLamp | ( | int | mod | ) |
HG Lamp ON/OFF
.
mod |
|
Definition at line 2673 of file Spat_Device.c.
References AMS1, AMS_wopto(), gui::ContrPanel, das::Gui, HGFlg, controlpanel::LedHG, MObjectSetText(), MPixmapSetImageFile(), stepm::OOP, controlpanel::pblamps, and das::StepM.
Referenced by D_Calibra(), DB_KeyB_CB(), E_Hg_Off(), E_Hg_On(), ShutCB(), and WinRes().
void HiresPS | ( | int | mod | ) |
Hires Power Supply ON/OFF
.
mod |
|
Definition at line 2532 of file Spat_Device.c.
References AMS1, AMS_wopto(), stepm::OOP, and das::StepM.
Referenced by InitCCD_AMS(), and ShutCB().
int HomeAzimFast | ( | void | ) |
Home for Azimuth Axis.
Definition at line 1229 of file Init.c.
References controlpanel::Albl_LS, AMS3, AMS_AzzeraCoord(), AMS_chkbitsts(), AMS_Default(), AMS_dirfin(), AMS_Divisore(), AMS_TrackOff(), AMS_TrackOn(), optionini::amsprogbar, gui::ContrPanel, D_VRange(), DB_InitAMS(), das::DOption, das::Gui, controlpanel::LedSM, Message(), das::MIGE, MLoopWhileEvents(), MObjectSetText(), MPixmapSetImageFile(), AzimuthSt::Pos, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, stepm::speed_Hz, st, Status(), stepm::step, das::StepM, and mige::type.
Referenced by DB_InitAMS(), and DB_TestHomeTypeCB().
int HomeFiltersFast | ( | void | ) |
(Fastest) Fliter wheel in the reference Position.
The Fliter wheel reaches the reference Position. Similar to HomeFilterWheel(void), but faster
Definition at line 853 of file Init.c.
References ACKLEN, controlpanel::Albl_LS, AMS2, AMS_AzzeraCoord(), AMS_chkbitsts(), AMS_Default(), AMS_dirfin(), AMS_TrackOff(), AMS_TrackOn(), optionini::amsprogbar, DXL_par::buftx, gui::ContrPanel, D_VRange(), DB_InitAMS(), das::DOption, DXL_RxStr(), DXL_TxStr(), FWS, das::Gui, controlpanel::LedSM, Message(), MLoopWhileEvents(), MObjectSetText(), MPixmapSetImageFile(), FilterWheelSt::Pos, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, stepm::speed_Hz, st, Status(), stepm::step, and das::StepM.
Referenced by DB_InitAMS(), DB_TestHomeTypeCB(), and E_Home_SM3().
int HomeFilterWheel | ( | void | ) |
Fliter wheel in the reference Position.
The Fliter wheel reaches the reference Position.
int HomeGrating | ( | void | ) |
Grating in the reference Position.
The Grating reaches the reference Position.
int HomeGratingFast | ( | int | mod | ) |
(Fastest) Grating in the reference Position.
The Grating reaches the reference Position. Similar to HomeGrating(void), but faster
Definition at line 780 of file Init.c.
References controlpanel::Albl_LS, AMS1, AMS_AzzeraCoord(), AMS_Default(), AMS_dirfin(), AMS_DoPos(), AMS_Home(), AMS_HomeDefault(), gui::ContrPanel, D_Homing(), DB_InitAMS(), GRS, das::Gui, HomeTrack(), stepm::hometype, controlpanel::LedSM, LookforWl_X(), Message(), MObjectSetText(), MPixmapSetImageFile(), paramini::Offset, das::Paramini, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, st, Status(), stepm::step, das::StepM, and GratingSt::Wl.
Referenced by DB_InitAMS(), DB_TestHomeTypeCB(), E_HGratCal(), E_Home_SM2(), and Task_HomeGrat().
int HomeMirror | ( | void | ) |
Input Mirror in the reference Position.
The Input Mirror reaches the reference Position.
Definition at line 685 of file Init.c.
References controlpanel::Albl_LS, AMS1, AMS_AzzeraCoord(), AMS_Default(), AMS_dirfin(), AMS_Divisore(), AMS_DoPos(), AMS_Home(), AMS_HomeDefault(), gui::ContrPanel, D_Homing(), DB_InitAMS(), stepm::divider, paramini::EqType, GASCODNG4, das::Gui, HomeTrack(), stepm::hometype, controlpanel::LedSM, Message(), Mir_Code, Mir_CodeTropo, MIS, MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, paramini::Offset, das::Paramini, MirrorSt::Pos, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, SMfraz(), SPATRAM3, stepm::speed, stepm::speed_Hz, Status(), stepm::step, das::StepM, and TROPOGAS.
Referenced by DB_InitAMS(), DB_TestHomeTypeCB(), and E_Home_SM1().
int HomeMirrorFast | ( | void | ) |
(Fastest) Mirror in the reference Position.
The Mirror reaches the reference Position. Similar to HomeMirror(void), but faster
int HomeNDFiltersFast | ( | void | ) |
(Fastest) ND Fliter wheel in the reference Position.
The ND Fliter wheel reaches the reference Position. Similar to HomeFilterWheel(void), but faster
Definition at line 941 of file Init.c.
References ACKLEN, controlpanel::Albl_LS, AMS2, AMS_AzzeraCoord(), AMS_chkbitsts(), AMS_Default(), AMS_dirfin(), AMS_TrackOff(), AMS_TrackOn(), optionini::amsprogbar, DXL_par::buftx, gui::ContrPanel, D_VRange(), DB_InitAMS(), das::DOption, DXL_RxStr(), DXL_TxStr(), FWS, das::Gui, controlpanel::LedSM, Message(), MLoopWhileEvents(), MObjectSetText(), MPixmapSetImageFile(), FilterWheelSt::Pos, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, stepm::speed_Hz, st, Status(), stepm::step, and das::StepM.
Referenced by DB_InitAMS().
int HomeZenithFast | ( | void | ) |
Home for Zenith Axis.
Definition at line 1143 of file Init.c.
References controlpanel::Albl_LS, AMS3, AMS_AzzeraCoord(), AMS_chkbitsts(), AMS_Default(), AMS_dirfin(), AMS_Home(), AMS_HomeDefault(), gui::ContrPanel, D_Homing(), DB_InitAMS(), das::Gui, HomeTrack(), stepm::hometype, controlpanel::LedSM, Message(), MObjectSetText(), MPixmapSetImageFile(), ZenithSt::Pos, stepm::power, SD_Zenith_H(), stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, st, Status(), stepm::step, and das::StepM.
Referenced by DB_InitAMS(), DB_TestHomeTypeCB(), and E_Home_SM5().
double int2hertz | ( | int | mod, |
int | k | ||
) |
Definition at line 2213 of file DAS_Spat_ConfCBs.c.
Referenced by AssignParam(), and CONFP_AMS_TabSingMotor().
double int2perc | ( | int | mod, |
int | k | ||
) |
translate the AMS digit unit in text.
The power assigned to the motor trough the AMS, is translated in text
mod | –> int not used (0) |
k | –> int containing the decimal value |
Definition at line 2202 of file DAS_Spat_ConfCBs.c.
Referenced by AssignParam(), and CONFP_AMS_TabSingMotor().
void IoCreateCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 90 of file DOAS_FullProj.c.
Referenced by MDCreateDOAS_MainSh().
void IoSetupCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 86 of file DOAS_FullProj.c.
Referenced by MDCreateDOAS_MainSh().
void LinkSpectraCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 179 of file DOAS_FullProj.c.
References MMessageDialog().
Referenced by MDCreateDOAS_MainSh().
void listval2fraz | ( | int | mod, |
int | val | ||
) |
Decimal value to ratio value
The decimal value indicating the fractioning of the step is translated in ratio (i.e. 0 –> 1/2 = 400 s/r, 1–> 1/4 =800 s/r)
mod | NOT USED (0) |
val | steps |
Definition at line 2236 of file DAS_Spat_ConfCBs.c.
References lfraz.
Referenced by CONFP_AMS_TabSingMotor().
int LoadDasSysCol | ( | void | ) |
Load system colors. Procedure that load the DAS colors in the file {homedir}/config/DASSysColor.INI.
Definition at line 811 of file Load.c.
References _MAX_PATH, BIL, d_fileman::CONFIGDIREQUIPMENT, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_BG_RButt, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, palette::DB_FG_RButt, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, bil::DFILEM, FIXED_SMALL, FlushLine(), HELV_SMALL, MSetInputPromptFgRGB(), MSetInputPromptFonts(), MSetInputPromptRGB(), MSetMessageDialogFgRGB(), MSetMessageDialogFonts(), MSetMessageDialogRGB(), and ReadLine().
Referenced by MGUIMain(), and ModifyConfFileCB().
int LoadDB_DefectPixel | ( | char * | buff | ) |
Load Defective pixel mask. Procedure that load the Defective pixel mask in the file {homedir}/config/ccd_defect_Danbo.cor.
Definition at line 182 of file Load.c.
References CITM, COL, DEND, DFetch(), DREM, E_CItm(), E_Col(), E_DREM(), E_PItm(), E_Pix(), E_RItm(), E_Row(), IsCnt, IsSiz, Istruction, PITM, PIX, RITM, and ROW.
Referenced by DB_InitCamera(), and SelDefPixFileCB().
int LoadDB_DispCoeff | ( | void | ) |
Load dispersion parameters. Procedure that load the dispersion parameters from file {homedir}/DOAS/DispCoeff.ini.
Definition at line 234 of file Load.c.
References _MAX_PATH, BIL, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, FlushLine(), doas::k1, doas::k2, MMessageDialog(), doas::pixref, ReadLine(), doas::wlc, and doas::wlref.
Referenced by DB_EqTypeCB(), DB_EqTypePlotCB(), InitCCD_AMS(), MDCreateDOAS_MainSh(), MGUIMain(), and RunOLP().
int LoadDB_Options | ( | void | ) |
Load Options. Procedure that load the Options in the file {homedir}/config/Options.INI.
Definition at line 390 of file Load.c.
References _MAX_PATH, optionini::aaopmode, optionini::amsprogbar, optionini::avgautor, optionini::avgmode, BIL, d_fileman::CONFIGDIREQUIPMENT, optionini::darkremove, optionini::darksource, optionini::DEFPIXFILENAME, flag::DeltaSZA, dsza::DeltaSZA, bil::DFILEM, DI_FileExist(), flag::DispBlindPix, das::DOption, optionini::emshutter, optionini::filename, optionini::filtertype, FLAG, das::Flag, FlushLine(), optionini::ftpbackup, optionini::hlineafter, optionini::hlinebefore, optionini::imgtype, mige::linked, optionini::maxlvlar, dsza::MaxSZA, optionini::measmode, das::MIGE, dsza::MinSZA, optionini::mirrorimg, N_AVG, omuthr::PID_kd, omuthr::PID_ki, omuthr::PID_kp, optionini::pixcorr, flag::plotW, flag::plotYRange, ReadLine(), optionini::refertemp, optionini::resetEnabled, optionini::resetFreq, optionini::resetType, optionini::savingmode, flag::settempvar, optionini::shuttertype, optionini::smposmode, SZADelta, SZAMax, TOTTEXP, omuthr::TRType, mige::type, flag::Wl, XAX, and YAX.
Referenced by MGUIMain(), and ModifyConfFileCB().
int LoadDefaultDFONT | ( | void | ) |
int LoadDefaultDPAL | ( | void | ) |
Load Default system colors. Procedure that load the DAS colors if the file {homedir}/config/DASSysColor.INI is not present.
Definition at line 762 of file Load.c.
References palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_BG_RButt, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, palette::DB_FG_RButt, palette::DB_Sel, and palette::DB_UnSel.
Referenced by MGUIMain().
int LoadDFONT | ( | void | ) |
int LoadEquipment | ( | void | ) |
Load the type of Equipment. {homedir}/config/param.ini.
Definition at line 1089 of file Load.c.
References _MAX_PATH, BIL, d_fileman::CONFIGDIRCOMMON, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, paramini::EqType, FlushLine(), das::Paramini, and ReadLine().
Referenced by MGUIMain().
int LoadExec | ( | char * | fname | ) |
Load file for automatic execution. Procedure that load the file for automatic execution.
*fname | pointer to the char variable with the file name containing the keywords |
Definition at line 1534 of file Load.c.
References PrgCnt, PrgSiz, and Program.
Referenced by D_AutoExecution(), DB_ToolsKeyB_CB(), PRG_Check(), and SZA_FirstCalc().
void LoadFontCB | ( | MOBJECT | obj, |
void * | a, | ||
void * | data | ||
) |
This callback tries to load the specified font.
Definition at line 1503 of file DAS_Spat_ConfCBs.c.
Referenced by MDCreateDASConfig().
int LoadFTPSetting | ( | void | ) |
Load FTP Setting for daily back-up.
Definition at line 286 of file Load.c.
References _MAX_PATH, BIL, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, FlushLine(), dftp::ftppwd, dftp::ftpserver, dftp::ftpuser, and ReadLine().
Referenced by MGUIMain().
int LoadGeoCoord | ( | void | ) |
Load Geographic Coordinate of the station. Procedure that load the Geographic Coordinate of the station in the file {homedir}/config/GeoCoord.INI.
Definition at line 1477 of file Load.c.
References _MAX_PATH, d_geo::alititude, BIL, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, das::DGeo, d_geo::latitude, d_geo::longitude, d_geo::s_name, and d_geo::timezone.
Referenced by MGUIMain().
int LoadGeoDB | ( | void | ) |
Definition at line 1432 of file Load.c.
References _MAX_PATH, BIL, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, das::DGeo, d_geo::newalititude, d_geo::newlatitude, d_geo::newlongitude, d_geo::news_name, d_geo::newtimezone, and d_geo::nitem.
Referenced by MDCreateDASConfig(), and MGUIMain().
int LoadHardware | ( | void | ) |
Definition at line 1170 of file Load.c.
References _MAX_PATH, BIL, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, nova::DigIn, nova::DigOut, das::Nova, ReadLine(), and nova::type.
Referenced by MGUIMain().
void LoadIo | ( | int | mod, |
char * | fname | ||
) |
Definition at line 2678 of file Spat_Plot.c.
References AllocUSMat(), mtcl::black, bil::BLENS, spectrumheader::ccdnr, spectrumheader::ccdwx, D_AssignOrigin(), D_PlotAxis(), D_PlotGrid(), bil::DPLOT, doas::drwa, d_view::eX, d_view::eY, IDX, IDY, blens::Imim, InitImage(), doas::IoMat, MAllocImage(), maxploth, maxplotw, MFreeImage(), MObjectGetHeight(), MObjectGetWidth(), MTCL, d_view::oX, d_view::oY, ReadHeader_ASCII(), ReadIMG(), and bil::SPH.
Referenced by LoadIoCB(), and PlotToolsPBs().
int LoadPaletteCB | ( | MOBJECT | o, |
void * | o_data, | ||
void * | a_data | ||
) |
Callback for LoadTestPalette.
Definition at line 595 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, FB_PREFS::allow_dir_create, FB_PREFS::allow_dir_delete, FB_PREFS::allow_dir_rename, FB_PREFS::bg_image_file, FB_PREFS::button_font, FB_PREFS::change_cwd, d_fileman::DBFILENAME, bil::DFILEM, False, FB_PREFS::font, HELV_SMALL, d_fileman::HOMEDIRECTORY, LoadTestPalette(), MFileBrowseExt(), MGetCurrentDirectory(), FB_PREFS::transparent_tree, and True.
Referenced by MDCreateDASConfig().
int LoadParam | ( | void | ) |
Load the exe parameters. Procedure that load the parameters for CCD, Stepper Motors and Peltier from file {homedir}/config/param.ini.
Definition at line 1215 of file Load.c.
References _MAX_PATH, BIL, paramini::ccdWx, paramini::ccdWy, paramini::ccdXoff, paramini::ccdYoff, d_fileman::CONFIGDIREQUIPMENT, paramini::CoolPw, bil::DFILEM, FlushLine(), paramini::ITemp, paramini::maxtexp, das::Paramini, omuthr::PCPower, ReadLine(), paramini::TPelt, and paramini::VBin.
Referenced by MDCreateDOAS_MainSh(), RunOLP(), and SZA_FirstCalc().
int LoadParamLog | ( | void | ) |
Load file for CCD status. Procedure that load the file {homedir}/config/paramlog.ini, for the actual status of the CCD.
int LoadTestPalette | ( | char * | nf | ) |
Load a test palette. Procedure that load a test palette.
Definition at line 908 of file Load.c.
References BIL, mtcl::black, mtcl::Color, mtcl::db, mtcl::dg, bil::DPLOT, mtcl::dr, d_view::DrawBG, IDY, MAllocColor(), MBlackColor(), MD_CreateBRowShell(), MTCL, MWhiteColor(), mtcl::PLColor, mtcl::white, and mtcl::yellow.
Referenced by LoadPaletteCB().
int LoadTruePalette | ( | void | ) |
Load the palette map. Procedure that load the palette map from file {homedir}/Palettes/Danbomap1.map.
Definition at line 948 of file Load.c.
References _MAX_PATH, BIL, mtcl::black, mtcl::Color, mtcl::db, bil::DFILEM, mtcl::dg, bil::DPLOT, mtcl::dr, d_view::DrawBG, d_fileman::HOMEDIRECTORY, MAllocColor(), MBlackColor(), MTCL, MWhiteColor(), mtcl::PLColor, mtcl::white, and mtcl::yellow.
Referenced by MGUIMain().
int LoadWlstep | ( | void | ) |
load the file of the wavelength vs steps
Definition at line 258 of file DAS_Spat.c.
References _MAX_PATH, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, FlushLine(), ReadLine(), wav, and wl.
Referenced by MGUIMain().
int Lookfor4358 | ( | void | ) |
function to scan the wl() array in order to identify the position of the 4358 reference wavelength return value: er = -1 –> value 4358 not encountered er >= 0 –> value 4358 found at er position
Definition at line 2270 of file Procedures.c.
References wl.
int LookforWl_X | ( | int | x | ) |
Definition at line 2295 of file Procedures.c.
References wl.
Referenced by D_Calibra(), DemoInitMotor(), E_AAMeasure(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_DFMeasure(), E_DirectSun(), E_IRefSun(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), HomeGratingFast(), PRG_ChkGrating(), and WinRes().
void MAPDefPix | ( | int | mod | ) |
create the Under/Over exposed pixels window
At the pression of the button in DAS_Config the appropriate shell (For the creation of the Under or Over exposed pixel map) will be created.
mod |
|
Definition at line 4036 of file DAS_Spat_ConfCBs.c.
References ActEditCB(), CENTER_ALIGN, False, FIXED_SMALL, lbl, LEFT_ALIGN, MAPDefPixCB(), MCreateClippedEdit(), MCreateLabel(), MCreatePButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MDQuitCB(), MEditSetActCallback(), MEditSetValCallback(), MLabelSetAlignment(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetTransparency(), MPButtonSetCallback(), MShellRealize(), MShellSetWMCloseCallback(), p, TOP_ALIGN, True, and ValidateCB().
Referenced by UnderOverPixCB().
void MAPDefPixCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
GetDefPix(mod) Callback At the pression of the 'Execute' button in the appropriate shell the GetDefPix procedure will be executed.
a_data |
|
Definition at line 4010 of file DAS_Spat_ConfCBs.c.
References GetDefPix().
Referenced by MAPDefPix().
void Master_Error | ( | int | w | ) |
Definition at line 98 of file Errors.c.
References D_WriteInitLog(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, Master_Err, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), SF_MODAL, and WS_SHADOW_OUT.
Referenced by SZA_FirstCalc().
int MD_CreateBRowShell | ( | int | nrows | ) |
Create windows of buttons.
During the plotting of the measurements, create a shell of buttons if the raws of the CCD are more than 16.
nrows | number of raws of the CCD sensor (CCDVPix/CCDVBin) |
Definition at line 1625 of file Spat_Plot.c.
References D_pbr_CB(), das::DOption, bil::DPLOT, HELV_SMALL, optionini::hlineafter, optionini::hlinebefore, MCreatePButton(), MCreateShell(), MCreateTableForm(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetColor(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MPButtonSetCallback(), MShellRealizeXY(), MTCL, d_view::pbr, mtcl::PLColor, d_view::RowShell, TOP_ALIGN, True, UNDEF_ALIGN, mtcl::white, and WS_ETCHED_IN.
Referenced by DrawButtons(), LoadTestPalette(), and ViewPlot().
MOBJECT MDCreate2DPlot | ( | char * | title, |
int | x, | ||
int | y, | ||
int | dx, | ||
int | dy, | ||
int | mode | ||
) |
create the 2D_Plot panel via the MDCreate_2DPlot.
Definition at line 343 of file DAS_Spat_Conf.c.
References _MAX_PATH, CloseShTempCB(), bil::DFILEM, d_fileman::HOMEDIRECTORY, MDCreate_2DPlot(), MShellRealize(), MShellSetWMCloseCallback(), SetWorkDirMGUIenv(), and omutemp::sh.
Referenced by DB_2DPlot().
MOBJECT MDCreate_2DPlot | ( | char * | title | ) |
2DPlot Panel. Procedure that build the shell for the plotting of the LOG files.
Definition at line 473 of file 2DPlot.c.
References _shell000, CENTER_ALIGN, D2D_AreaInputTemp(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_BG_RButt, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, palette::DB_FG_RButt, omutemp::drawarea000, DrawAreaTempCB(), F_ATT_FORM, False, HELV_SMALL, lbl, omutemp::LBL_X, omutemp::LBL_Y, omutemp::lblx, omutemp::lbly, LEFT_ALIGN, MCreateColForm(), MCreateDrawArea(), MCreateLabel(), MCreateRowForm(), MCreateScrollBar(), MCreateShell(), MCreateTableForm(), MCreateTButton(), MDrawAreaSetExposeCallback(), MDrawAreaSetInputCallback(), MFormSetSpacing(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetFGColorFromParent(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MObjectUnmap(), MScrollBarSetSliderColorShift(), MTableFormSetColAlign(), MTButtonSetCallback(), MTopAttach(), SBT_HOR, SBT_VERT, omutemp::tgb, ToggleButtCB(), TOP_ALIGN, True, WS_SHADOW_IN, and WS_SHADOW_OUT.
Referenced by MDCreate2DPlot().
MOBJECT MDCreate_CP | ( | void | ) |
Create Spectrometer Control Panel. Procedure that build the Control Panel for checking the spectrometer operations such as temperature monitoring, stepper motor positioning, data acquisition ...
Definition at line 1143 of file CreateForms.c.
References controlpanel::Albl_Azim, controlpanel::Albl_CS, controlpanel::Albl_Elev, controlpanel::Albl_IE, controlpanel::Albl_LS, controlpanel::Albl_Script, controlpanel::Albl_Status, controlpanel::Albl_sunr, controlpanel::Albl_suns, CENTER_ALIGN, gui::ContrPanel, CP_Sh, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, DB_HelpCB(), DB_InfCB(), DB_KB_ButtonActive(), DB_KeyB_CB(), DB_KeyComSelButtKB_CB(), DB_KeyComSelButtMouse_CB(), DB_LampSelButtMouse_CB(), DB_Redraw_CB(), palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, das::DOption, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, EM_WINDOW_ENTER, F_ATT_NONE, False, FDOUBLE, optionini::filtertype, FIXED_SMALL, FPLUS, FrmBuildTemperature(), FSIMPLE, das::Gui, HELV_MEDIUM, HELV_SMALL, item_advc, pushbutt::KeyB, lbl, controlpanel::lbl_Par, controlpanel::lbl_Time, controlpanel::lblK, controlpanel::LedHG, controlpanel::ledpelt, controlpanel::LedQJ, controlpanel::LedSM, LEFT_ALIGN, MBottomAttach(), MButtonSetOnMouseOverForegroundRGB(), MCreateColForm(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreatePopupMenu(), MCreateRowForm(), MCreateShell(), MCreateTabbedRowForm(), MCreateTableForm(), MLabelSetAlignment(), MMenuAddItemObsolete(), MObjectAddEventNotifyCallback(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetBGColorFromParent(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MPagedFormSetActivePage(), MPButtonSetCallback(), MSetInputPromptFgRGB(), MSetInputPromptFonts(), MSetInputPromptRGB(), MSetMessageDialogFgRGB(), MSetMessageDialogFonts(), MSetMessageDialogRGB(), stepm::NAMS, controlpanel::Pagedfrm_SM, controlpanel::pblamps, popup_advcalib, PopUpAdvCal_CB(), PupAdvCal_CB(), gui::PushButt, RIGHT_ALIGN, SF_NO_CLOSE, SF_NO_MAXIMIZE, SF_NO_RESIZE, das::StepM, StepperPagForm(), TOP_ALIGN, True, UNDEF_ALIGN, WS_ETCHED_IN, WS_NONE, WS_SHADOW_IN, and WS_SHADOW_OUT.
Referenced by BuildMainShell().
MOBJECT MDCreateDASConfig | ( | void | ) |
DAS Config shell. Procedure that build the shell for the DAS Config panels. The DAS Config allow for setting a lot of the application parameters.
Definition at line 7017 of file DAS_Spat_Conf.c.
References adtester::ADInflbl, adtester::ADpb, adtester::ADrb, ADTesterCB(), AMS_AdvancedCB(), ApplyChCB(), b_c, b_label, b_sbar, cell_color, CENTER_ALIGN, CloseConfigCB(), ColObjCB(), ColorAssignCB(), ColPickBackForeGCB(), gui::ConfigPanel, CONFP_AMS(), CONFP_AMS_NOVA(), CONFP_AMS_Utility(), CONFP_Options(), CONFP_Param(), D_UndoCB(), DB_CellExposeCB(), DB_CellResizeCB(), DB_ChangeColorCellCB(), DB_SelOutModeCB(), DOASMODE, drawarea_bgc, DrawAreaExpFontCB(), e_fname, e_fsize, flag::exemode, F_PREF_ATT_COL, False, FIXED_SMALL, das::Flag, FontOBJSelCB(), frm3_dr1, configpanel::frm4_dr1, g_c, g_label, g_sbar, das::Gui, lbl, adtester::lblADch, adtester::lblADsetup, adtester::lblADvalue, LEFT_ALIGN, LoadFontCB(), LoadGeoDB(), LoadPaletteCB(), MAllocCell(), MAllocColor(), MCreateDrawArea(), MCreateLabel(), MCreateOptionEdit(), MCreatePButton(), MCreateRButton(), MCreateRowForm(), MCreateScrollBar(), MCreateShell(), MCreateTabbedRowForm(), MCreateTableForm(), MCreateTButton(), MDrawAreaSetExposeCallback(), MDrawAreaSetResizeCallback(), MEditDisableEditing(), MFormSetFocusHighlight(), MFormSetPrefAtt(), MGetDefaultBackgroundRGB(), MGetFirstFontFamily(), MGetNextFontFamily(), MLabelSetAlignment(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeHeight(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetText(), MObjectSetTransparency(), MOptionEditGetList(), MPagedFormSetActivePage(), MPButtonSetCallback(), MRButtonActivate(), MRButtonSetCallback(), MScrollBarSetPosCallback(), MShellRealize(), MSListAddItem(), MSListSetSortCallback(), MTableFormSetColAlign(), MTableFormSetRowAlign(), MTButtonSetCallback(), stepm::NAMS, adtester::OutputMode, PFAMS, r_c, r_label, r_sbar, configpanel::RBColObj, RIGHT_ALIGN, SBT_HOR, SetBoldCB(), SetItalicCB(), configpanel::ShellConfig, das::StepM, TestFontCB(), TOP_ALIGN, True, UNDEF_ALIGN, UndoFCB(), WriteAMSCB(), WriteColorsCB(), WriteFontCB(), and WS_ETCHED_OUT.
Referenced by ConfigCB(), D_PButt_CB(), and DB_PasWd().
DOAS shell. Procedure that build the shell for the DOAS main panels.
Definition at line 1859 of file DOAS_FullProj.c.
References BrowseCB(), BuildListCB(), C_A, C_B, C_C, C_D, C_E, C_H, C_L, C_P, C_R, C_S, C_T, C_U, C_W, C_X, ChooseFormatCB(), ColumnFCB(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_Plbl, palette::DB_FG_Albl, palette::DB_FG_Plbl, DiffCB(), DOAS_LoadConfig(), DOAS_MainSh, DOASConfigCB(), DOASProcCB(), DOASSetupCB(), EditorCB(), ExitCB(), F10, doas::family, doas::fbold, FilterCB(), doas::fitalic, FixStepCB(), FluxIndexCB(), doas::font, doas::fsize, HELV_SMALL, HlpTopCB(), id_item, id_menu, IoCreateCB(), IoSetupCB(), lblris, lblsys, LEFT_ALIGN, LinkSpectraCB(), LoadDB_DispCoeff(), LoadParam(), MCreateImagePButton(), MCreateLabel(), MCreateMenu(), MCreateMenuBar(), MCreateRowForm(), MCreateShell(), MCreateSubMenu(), MCreateTableForm(), menu, menubar, MGUIQuitCB(), MLabelSetAlignment(), MLoadFont(), MMainLoop(), MMenuAddItem(), MMenuAddSeparator(), MMenuBarSetAcc(), MMenuItemSetAccel(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetPopupHelp(), MObjectSetShadow(), MObjectSetTransparency(), MPButtonSetAlignment(), MPButtonSetCallback(), MShellRealizeXY(), MShellSetWMCloseCallback(), PBTempHistoCB(), ResumeCB(), RIGHT_ALIGN, doas::RISDIR, ShStCB(), submenu, SunCalcCB(), doas::SYSDIR, TIMES_SMALL, ViewCB(), VitesaCB(), and WS_SHADOW_IN.
Referenced by BuildShell().
MOBJECT MDCreateExpo | ( | char * | tit | ) |
Create Exposure/countdown shell. Procedure that build the Exposure/countdown shell during the calculated or "apriori" imposed integration time.
Create the Exposure shell.
Creation of the Exposure shell during an image acquisition.
*tit | pointer to the char variable with the integration time |
tit | pointer to a char variable containing the title of the shell. |
Definition at line 55 of file Init.c.
References BI_TILED, CBExpo(), graph::digit, DIL, dil::Graph, marconi::LblExpD, marconi::LblExpP, das::Marconi, MCreateColForm(), MCreateImagePButtonExt(), MCreatePixmapFromData(), MCreatePixmapFromFile(), MCreateShell(), MFormSetSpacing(), MObjectSetBackgroundImageFile(), MObjectSetShadow(), MObjectSetTransparency(), MPButtonSetCallback(), MShellRealize(), SF_NO_CLOSE, SF_NO_MAXIMIZE, SF_NO_MINIMIZE, SF_NO_RESIZE, and WS_NONE.
Referenced by DB_GetCCD().
int MDCreateLISC | ( | int | c, |
int | e | ||
) |
Command KEYBOARD. Procedure that build the shell for the Command KEYBOARD. Used in old versions.
void MDCreateMoveGrat | ( | void | ) |
Free Grating positioning. Procedure that build the shell for Free Grating positioning.
Definition at line 2859 of file CreateForms.c.
References ActMvGratCB(), gui::ContrPanel, palette::DB_BG, palette::DB_BG_lblUP, palette::DB_BG_Plbl, DB_dirCB(), palette::DB_FG_lblUP, palette::DB_FG_Plbl, DB_GratPosMode_CB(), DB_RecGio_CB(), DB_StepGratEnc_CB(), False, FIXED_MEDIUM, FIXED_SMALL, das::Flag, GratFlg, flag::gratposmode, GrDIR, das::Gui, HELV_MEDIUM, HELV_SMALL, lbl, controlpanel::lbl_mvgratmode, LEFT_ALIGN, MCreateColForm(), MCreateEdit(), MCreateLabel(), MCreateRButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLoopWhileFlag(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MPButtonSetCallback(), MRButtonActivate(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), controlpanel::rbStepGratEnc, shells::Sh_mg, gui::Shells, TIMES_SMALL, TOP_ALIGN, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
Referenced by DB_KeyB_CB().
void MDCreateMoveZenAzimDeg | ( | void | ) |
Definition at line 3573 of file CreateForms.c.
References palette::DB_UnSel, palette::DB_UnSelFG, mige::edtaz, mige::edtzen, FIXED_MEDIUM, FIXED_SMALL, GratFlg, das::Gui, lbl, MCreateEdit(), MCreateLabel(), MCreatePButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), das::MIGE, MIGEZenAzPos_CB(), MLoopWhileFlag(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), AzimuthSt::realazpos, ZenithSt::realzenpos, shells::Sh_mg, gui::Shells, TIMES_SMALL, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
Referenced by DB_KeyB_CB().
int MDCreateSh_Fil | ( | void | ) |
Create the shell for the available Filters. Procedure that build the shell for the positioning of the filter wheel. They are installed during the instrument setup.
Definition at line 5994 of file CreateForms.c.
References DB_Close_Sh(), DB_Fil_CB(), DB_FilSelButtKB_CB(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, paramini::EqType, pushbutt::Fil, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, FilBuff, FilFlg, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, HELV_SMALL, LIS_, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), das::Paramini, FilterWheelSt::Pos, gui::PushButt, SF_MODAL, shells::Sh_Fil, gui::Shells, TROPOGAS, True, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
int MDCreateSh_Home | ( | void | ) |
Definition at line 6662 of file CreateForms.c.
References DB_Home_CB(), palette::DB_UnSel, palette::DB_UnSelFG, das::Gui, HELV_SMALL, pushbutt::HomePos, HomePosition, MCreatePButton(), MCreateShell(), MCreateTableForm(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellRealizeXY(), gui::PushButt, SF_NO_MAXIMIZE, shells::Sh_Home, gui::Shells, True, wl, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
int MDCreateSh_Mir | ( | void | ) |
Create the shell for the available Mirror Positions. Procedure that build the shell for the positioning of the Input Mirror.
They are: 1) Zenith 2) Horizontal Right 3) Calibra (Down for the calibration sphere) 4) Horizontal Left.
Definition at line 5614 of file CreateForms.c.
References DB_Close_Sh(), DB_Mir_CB(), DB_MirSelButtKB_CB(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, paramini::EqType, GASCODNG4, das::Gui, HELV_SMALL, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), pushbutt::Mir, Mir_Code, Mir_CodeTropo, MirBuff, MirFlg, MIS, MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), das::Paramini, MirrorSt::Pos, gui::PushButt, SF_MODAL, shells::Sh_Mir, gui::Shells, SPATRAM3, TROPOGAS, True, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
int MDCreateSh_NDFil | ( | void | ) |
Definition at line 6233 of file CreateForms.c.
References DB_Close_Sh(), DB_Fil_CB(), DB_FilSelButtKB_CB(), DB_NDFil_CB(), DB_NDFilSelButtKB_CB(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, paramini::EqType, pushbutt::Fil, Fil_Code8H, Fil_CodeNG, Fil_CodeTropo, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, HELV_SMALL, LIS_, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), pushbutt::NDFil, NDFil_Code, NDFilBuff, NDFilFlg, NDFWS, das::Paramini, FilterWheelSt::Pos, NDFilterWheelSt::Pos, gui::PushButt, SF_MODAL, shells::Sh_NDFil, gui::Shells, TROPOGAS, True, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
int MDCreateSh_Plot | ( | void | ) |
Plot shell. Procedure that build the shell for plotting the data.
int MDCreateSh_PWD | ( | void | ) |
Password shell. Procedure that build the shell for the System password in order to access the control panel of the application.
Definition at line 105 of file PWD.C.
References ActPWDSysCB(), DAS, DPWD, FIXED_MEDIUM, FIXED_SMALL, dpwd::FlgSh_PWD, das::Gui, MCreateHiddenEdit(), MCreateLabel(), MCreateRowForm(), MCreateShell(), MEditSetActCallback(), MEditSetFilter(), MLoopWhileFlag(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MShellDestroy(), MShellRaise(), MShellRealize(), MShellUnrealize(), dpwd::PwdOK, SF_MODAL, shells::Sh_PWD, gui::Shells, and True.
MOBJECT MDCreatesh_vitesa | ( | void | ) |
Definition at line 295 of file ViTES_1.c.
Referenced by VitesaCB().
int MDCreateSh_Wl | ( | void | ) |
Create the shell for the available Wavelength. Procedure that build the shell for the availables wavelength. They are fixed and setted during the testing phase.
Definition at line 5815 of file CreateForms.c.
References DB_Close_Sh(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, DB_Wl_CB(), DB_WlSelButtKB_CB(), EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, das::Gui, HELV_SMALL, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), gui::PushButt, SF_MODAL, shells::Sh_Wl, gui::Shells, True, wl, pushbutt::Wl, GratingSt::Wl, WlBuff, WlFlg, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
void MDCreateWaitShell | ( | void | ) |
Create a waiting window .
Definition at line 2408 of file DAS_Spat.c.
References BOTTOM_ALIGN, CENTER_ALIGN, palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Plbl, False, HELV_LARGE, HELV_MEDIUM, lbl, MCreateColForm(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreateRowForm(), MCreateShell(), MLoopWhileEvents(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeHeight(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetText(), MObjectSetTransparency(), MPButtonSetCallback(), MShellDestroy(), MShellRealize(), MShellUnrealize(), nowait, NoWaitCB(), SF_MODAL, st, TOP_ALIGN, True, WS_ETCHED_IN, WS_NONE, and WS_SHADOW_OUT.
Referenced by InitCCD_AMS().
void MDQuitCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
callback for closing a generic MGUI shell
Definition at line 40 of file REQ.C.
References delay(), DMessage(), MGUITerm(), MShellDestroy(), and MShellUnrealize().
Referenced by MAPDefPix(), and MDCreate_shell000().
void Message | ( | char * | str, |
int | er | ||
) |
Create a message shell for the AMS errors (Debug Use).
.
*str | text to be displayed |
er | Number of error |
Definition at line 1085 of file Dxl.c.
References DXL_par::add, DXL_par::bufrx, DXL_par::buftx, palette::DB_BG_Plbl, palette::DB_FG_Plbl, DEFAULT_FONT, DPAL, lbl, LEFT_ALIGN, MCreateLabel(), MCreateShell(), MLabelSetAlignment(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MShellRealize(), and SF_MODAL.
Referenced by AMS_chkbitsts(), AMS_Proxy(), DB_StepMotor(), DB_ToolsKeyB_CB(), DE_StepMotor(), FPGACB(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), and ReadInputCB().
void MGUIMain | ( | int | argc, |
char ** | argv | ||
) |
MAIN PROGRAM starting point
Actions:
.
Definition at line 3546 of file DAS_Spat.c.
void MGUIQuitCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Exit MGUI Library. Procedure that close MGUI .
Definition at line 728 of file DAS_Spat.c.
References MGUITerm(), MMessageDialog(), MShellDestroy(), and MShellUnrealize().
Referenced by MDCreateDOAS_MainSh(), RunLogMode(), and RunOLP().
float MIGEActualZenAz | ( | int | mode | ) |
convert SUN AZIMUTH and ZENITH angles, to be used with MIGE mode = 0 –> fix azimuth and return azimuth for MIGE positioning mode = 1 –> fix zenith and return zenith for MIGE positioning
Definition at line 2759 of file Spat_Device.c.
References elev, MIGEAz(), MIGEZen(), S_azim, and S_zenetr.
void MIGEAntiSunTrack | ( | void | ) |
Definition at line 206 of file RTC_Time.c.
References elev, S_azim, S_zenetr, and SD_PosAADev().
Referenced by Task_Timer().
float MIGEAz | ( | float | p | ) |
Definition at line 3475 of file CreateForms.c.
References paramini::EqType, GASCODNG2, das::MIGE, p, das::Paramini, S_azim, TROPOGAS, and mige::type.
Referenced by ActMvAzimDegCB(), MIGEActualZenAz(), SD_Azimuth(), SD_PosAADev(), and SD_Position().
void MIGESunTrack | ( | void | ) |
Definition at line 222 of file RTC_Time.c.
References elev, S_azim, S_zenetr, and SD_PosAADev().
Referenced by Task_Timer().
float MIGEZen | ( | float | p | ) |
Definition at line 3419 of file CreateForms.c.
References paramini::EqType, GASCODNG2, das::MIGE, p, das::Paramini, AzimuthSt::realazpos, TROPOGAS, and mige::type.
Referenced by MIGEActualZenAz(), SD_PosAADev(), SD_Position(), and SD_Zenith().
void ModifyConfFileCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Modification DAS Configuration files Callback
Set if the blind pixels will be displayed or not on the plot window.
*a_data_ |
|
Definition at line 4203 of file DAS_Spat_ConfCBs.c.
References d_fileman::CONFIGDIRCOMMON, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, d_fileman::HOMEDIRECTORY, LoadDasSysCol(), LoadDB_Options(), MObjectGetText(), and flag::VMRsf.
Referenced by CONFP_opt_page2().
int NOVA_In | ( | int | novatype, |
unsigned int | DigIn | ||
) |
Read the NOVA Input port.
novatype | = type of NOVA monoboard |
DigIn | = value read on the input port |
Definition at line 1306 of file DAS_Spat.c.
References DBDEMO, DIO_GetInput(), flag::exemode, das::Flag, InByte(), ISMM_Close(), ISMM_Open(), MMessageDialog(), NOVA7892, and NOVA945GSE.
Referenced by CONFP_AMS_NOVA(), and NOVAIn_CB().
int NOVA_Out | ( | int | novatype, |
unsigned int | out | ||
) |
Write the NOVA Output port.
novatype | = type of NOVA monoboard |
DigOut | = value to be written on the output port |
Definition at line 1375 of file DAS_Spat.c.
References DBDEMO, DIO_GetConfig(), DIO_GetOutput(), DIO_SetOutput(), DWORD, flag::exemode, das::Flag, ISMM_Close(), ISMM_Open(), MMessageDialog(), NOVA6612G2, NOVA7892, NOVA945GSE, OutByte(), and WORD.
Referenced by InitCCD_AMS(), MDCreateSplashExe(), NOVAOut_CB(), ShutCB(), and WinRes().
void NovaTypeCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Callback for NOVA selection.
Definition at line 60 of file DAS_Spat_ConfCBs.c.
References nova::DigIn, nova::DigOut, MRButtonGetActivationStatus(), das::Nova, NOVA6612G2, NOVA7892, NOVA945GSE, and nova::type.
Referenced by CONFP_AMS_NOVA().
void PB_H_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Quick Help Callback.
Definition at line 3363 of file DAS_Spat_ConfCBs.c.
References MMessageDialog().
Referenced by CONFP_param_page1().
void PBTempHistoCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 527 of file DAS_Spat_Conf.c.
References BrowseLog().
Referenced by CONFP_opt_page4(), and MDCreateDOAS_MainSh().
void Peltier | ( | int | mod | ) |
Peltier ON/OFF
.
mod |
|
Definition at line 2597 of file Spat_Device.c.
References AMS1, AMS_wopto(), delay(), stepm::OOP, and das::StepM.
Referenced by ADTesterCB(), OMU_ChooseDir(), and ShutCB().
void PeltierPS | ( | int | mod | ) |
Peltier Power Supply ON/OFF
.
mod |
|
Definition at line 2551 of file Spat_Device.c.
References AMS1, AMS_wopto(), stepm::OOP, and das::StepM.
Referenced by InitCCD_AMS(), and ShutCB().
int perc2int | ( | int | mod, |
char * | string | ||
) |
translate the percent power in AMS digit unit.
The percent power assigned to the motor trough the AMS , is translated in digital unit (i.e. 50% –> 38)
translate the AMS digit unit in hertz speed.
mod | –> int not used (0) |
*string | –> char containing the percent power |
mod | –> int not used (0) |
string | –> char containing the |
Definition at line 2191 of file DAS_Spat_ConfCBs.c.
Referenced by ApplyChCB(), and WriteAMSCB().
void PerformMeas | ( | int | mod, |
int | ar, | ||
double | te, | ||
int | mt, | ||
int | sv, | ||
int | pl | ||
) |
Perform Averaged or single measurements.
mod |
|
ar |
|
te |
|
mt |
|
sv |
|
pl |
|
Definition at line 463 of file Exec.c.
References AutoRange(), D_Average(), D_Plot(), D_Saving(), DB_GetCCD(), das::Flag, flag::plotW, Status(), and TExp.
Referenced by E_AAMeasure(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_DFMeasure(), E_DirectSun(), E_IRefSun(), E_Meashor(), E_Meashor2(), and E_Measure().
int PID_Calc | ( | int | mod, |
int | pow | ||
) |
Definition at line 78 of file Chktemp.c.
References omuthr::CoolAT, omuthr::CoolTT, delta, LISTEMP_TASK_TIME, omuthr::PID_kd, omuthr::PID_ki, omuthr::PID_kp, and Status().
Referenced by OMU_ColdOnly(), and OMU_HC().
int PRG_Check | ( | int | mod, |
char * | prgname | ||
) |
Definition at line 531 of file DAS_Spat.c.
References _MAX_PATH, AAMEASURE, AAPOSIT, ALMUCANTAR, AUTORNG, AVGCCD, AVGCCDHOR, AZIMUTH, BEGIN, CALIBRA, CHKEXLAMP, DARKC, delay(), bil::DFILEM, DFMEASURE, DI_FileExist(), DI_SplitName(), DIRECTSUN, ELAMPOFF, ELAMPON, ESHUTCL, ESHUTOP, EXPO, Fetch(), FILTER, GETCCD, H_AZI, H_FILTER, H_GRAT, H_GRAT_CAL, H_MIRROR, H_NDFW, H_ZEN, HG_OFF, HG_ON, HGSCAN, d_fileman::HOMEDIRECTORY, IREFSUN, LABEL, LoadExec(), MEASHOR, MEASHOR2, MEASURE, MGUITerm(), MIRROR, MMessageDialog(), NDFILTER, PLOT, PRG_ChKBegin(), PRG_ChkGrating(), PRG_ChkMeasAvg(), PRG_ChkMirror(), PrgCnt, PrgSiz, Program, QJ_OFF, QJ_ON, QJSCAN, RADIO, REM, SAVE, SETCCDOFFS, SETCCDPOW, SETCCDTEMP, SETCCDVBIN, WAIT, WAVELEN, XEND, and ZENITH.
Referenced by ChkExeMode(), DB_ToolsKeyB_CB(), and ExMaster().
void print2file | ( | FILE * | ff, |
int | x, | ||
int | y, | ||
unsigned int | m | ||
) |
Print to file the defective pixel.
*ff | Pointer to the buffer file |
x | Image horizontal dimension |
y | Image vertical dimension |
m | image buffer |
Definition at line 3734 of file DAS_Spat_ConfCBs.c.
Referenced by GetDefPix().
void q_sort | ( | float | numbers[], |
int | left, | ||
int | right | ||
) |
quick sort of one array
void QjLamp | ( | int | mod | ) |
QJ Lamp ON/OFF
.
mod |
|
Definition at line 2724 of file Spat_Device.c.
References AMS1, AMS_wopto(), gui::ContrPanel, das::Gui, controlpanel::LedQJ, MObjectSetText(), MPixmapSetImageFile(), stepm::OOP, controlpanel::pblamps, QJFlg, and das::StepM.
Referenced by DB_KeyB_CB(), E_Qj_Off(), E_Qj_On(), GetDefPix(), ShutCB(), and WinRes().
void quickSort | ( | float | numbers[], |
int | array_size | ||
) |
callback for q_sort()
void Radio | ( | int | g | ) |
NOT Used
.
Definition at line 650 of file Exec.c.
References E_AutoRange(), E_GetCCD(), and E_Save().
int ReadHeader_ASCII | ( | int | mod, |
FILE * | fd | ||
) |
Read ASCII Header of the measurement.
.
mod |
|
Definition at line 1877 of file Spat_Plot.c.
References spectrumheader::altitude, BlindPix, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdmin, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::ccdwx, spectrumheader::ccdwy, ch, spectrumheader::comment, D_AssignLabelPlot(), ddate::da_day, ddate::da_mon, ddate::da_year, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, IDX, IDY, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::StrDate, spectrumheader::StrTime, spectrumheader::sza, dtime::ti_hour, dtime::ti_min, dtime::ti_sec, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by DatOrBinFormat(), DB_Column(), LoadIo(), ViewNext(), and Visualizza().
int ReadHeader_BIN | ( | int | fd | ) |
read the BINARY header of the stored spectrum
fd | number of source file |
Definition at line 1798 of file Spat_Plot.c.
References spectrumheader::altitude, BlindPix, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::ccdwx, spectrumheader::ccdwy, spectrumheader::comment, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, IDX, IDY, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::sza, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by DatOrBinFormat(), DB_CalcFluxI(), DB_Column(), ViewNext_BIN(), and Visualizza().
int ReadHeaderOldF | ( | FILE * | fd | ) |
read the ASCII header of the stored spectrum (OLD FORMAT - replaced by ReadHeaderOnly(FILE *fd)
fd | number of source file |
Definition at line 751 of file Save.c.
References spectrumheader::altitude, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdmin, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::comment, ddate::da_day, ddate::da_mon, ddate::da_year, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::sza, dtime::ti_hour, dtime::ti_min, dtime::ti_sec, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by DT_CorrHeader().
int ReadHeaderOnly | ( | FILE * | fd | ) |
read the ASCII header of the stored spectrum
fd | number of source file |
Definition at line 704 of file Save.c.
References spectrumheader::altitude, spectrumheader::ccdex, spectrumheader::ccdey, spectrumheader::ccdmax, spectrumheader::ccdmin, spectrumheader::ccdnr, spectrumheader::ccdsx, spectrumheader::ccdsy, spectrumheader::ccdtemp, spectrumheader::ccdtexp, spectrumheader::ccdvb, spectrumheader::ccdwx, spectrumheader::ccdwy, spectrumheader::comment, ddate::da_day, ddate::da_mon, ddate::da_year, spectrumheader::DATE, spectrumheader::dummy1, spectrumheader::dummy2, spectrumheader::dummy3, spectrumheader::dummy4, spectrumheader::filpos, spectrumheader::imgtype, spectrumheader::latitude, spectrumheader::location, spectrumheader::longitude, spectrumheader::mirpos, bil::SPH, spectrumheader::sza, dtime::ti_hour, dtime::ti_min, dtime::ti_sec, spectrumheader::TIME, and spectrumheader::wavelen.
Referenced by DT_CorrFileEvora().
void ReadIMG | ( | FILE * | file, |
unsigned short * | mat, | ||
int | hp, | ||
int | vp | ||
) |
Read ASCII Image (Spectral Data only)
.
*file | = ASCII file number |
*mat | = image buffer |
hp | = horizontal pixels |
vp | = vertical pixels |
Definition at line 1206 of file Spat_Plot.c.
Referenced by DatOrBinFormat(), DB_Column(), DT_CorrFileEvora(), DT_CorrHeader(), LoadIo(), ViewNext(), and Visualizza().
void ReadIMG_BIN | ( | int | fd, |
unsigned short * | mat, | ||
int | hp, | ||
int | vp | ||
) |
read the BINARY stored spectrum
fd | number of source file |
*mat | destination buffer |
hp | horizontal pixels |
vp | vertical pixels |
Definition at line 1166 of file Spat_Plot.c.
Referenced by DatOrBinFormat(), DB_CalcFluxI(), DB_Column(), ViewNext_BIN(), and Visualizza().
void ReadIMG_old | ( | FILE * | file, |
int | hp, | ||
int | vp | ||
) |
NOT Used
.
Definition at line 1136 of file Spat_Plot.c.
References bil::DPLOT, and d_view::ImatGraf.
void ReadLine | ( | char * | buf, |
int | nc, | ||
FILE * | f | ||
) |
Read Line on a file
Read one record of nc character on the file f.
*buf | pointer to a character buffer |
nc | number of char to be read |
*f | FILE to read in, prevously opened |
Definition at line 72 of file Load.c.
Referenced by DOAS_LoadConfig(), ExMaster(), LoadAMS(), LoadDasSysCol(), LoadDB_DispCoeff(), LoadDB_Options(), LoadEquipment(), LoadFTPSetting(), LoadHardware(), LoadParam(), LoadWlstep(), and ReadLogFile().
int ReadLogFile | ( | int | mod, |
char * | dir, | ||
char * | filename, | ||
int | nx, | ||
int | ny, | ||
struct omutemp | datatemp | ||
) |
Read DAS LOG File.
.
mod |
|
*dir | = pointer to directory name |
*filename | = pointer to filename |
nx | = number of items |
ny | = number of rows of temperature matrix |
struct | omutemp datatemp = Temperature Structure for Optical Mechanical Unit |
Definition at line 379 of file DAS_Spat_Conf.c.
References _MAX_PATH, omutemp::CCDPwr, omutemp::CCDTemp, ch, omutemp::PltPwr, omutemp::pTempMat, omutemp::ptimeMat, ReadLine(), dtime::ti_hour, dtime::ti_min, and dtime::ti_sec.
Referenced by BrowseLog(), and RunLogMode().
int RefreshDrArea | ( | MOBJECT | obj | ) |
Redraw the draw arwa in a 2D Plot window.
Definition at line 428 of file 2DPlot.c.
References mtcl::black, bil::BLENS, omutemp::COSTX, omutemp::COSTY, D2D_AssignOrigin(), D2D_findmaxmin(), D2D_PlotAxis(), D2D_PlotGrid(), D2D_PlotSpectrum(), D2D_PoslblX(), D2D_PoslblY(), omutemp::dimx, omutemp::dimy, omutemp::eX, omutemp::eY, blens::Imim, omutemp::lblx, maxploth, maxplotw, MObjectGetHeight(), MObjectGetWidth(), omutemp::oX, omutemp::oY, mtcl::PLColor, omutemp::pTempMat, omutemp::ptimeMat, dtime::ti_hour, omutemp::tmax, and omutemp::tmin.
Referenced by DrawAreaTempCB(), and ToggleButtCB().
int RemoveSpikes | ( | int | mod, |
unsigned short * | mat, | ||
int | horpix, | ||
int | verpix, | ||
int | blindpix | ||
) |
Removes Spikes on a measure.
mod | NOT USED (=0) |
*mat | source buffer |
horpix | horizontal pixels |
verpix | vertical pixels |
blindpix | blind pixels |
Definition at line 369 of file FFT.c.
References CheckSpikes(), and IDX.
Referenced by DrawAreaPlotCB().
void ResumeCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 174 of file DOAS_FullProj.c.
References MMessageDialog().
Referenced by MDCreateDOAS_MainSh().
void RunFULL | ( | void | ) |
DAS Main LOOP for Equipment management
This Procedure is called by the MGUIMain function when the execution mode is:
.
Actions:
Definition at line 2994 of file DAS_Spat.c.
Referenced by BuildShell(), and SZA_FirstCalc().
void SaveCalib | ( | int | mod | ) |
Definition at line 2130 of file Procedures.c.
References _MAX_PATH, d_fileman::DAILYDATADIRECTORY, d_fileman::DATADIRECTORY, DB_Save(), bil::DFILEM, das::DGeo, das::DOption, fftsavecal, spectrumheader::newdate, spectrumheader::olddate, d_geo::s_name, optionini::savingmode, bil::SPH, and Total.
Referenced by D_Calibra(), E_HgScan(), and E_QjScan().
void ScreenInfoCB | ( | MOBJECT | o, |
void * | s, | ||
void * | v | ||
) |
Definition at line 886 of file DAS_Spat_ConfCBs.c.
References MGetNColors(), MGetNPlanes(), MGetScreenHeight(), MGetScreenWidth(), and MMessageDialog().
int SD_Azimuth | ( | float | ang, |
float | raz | ||
) |
Positioning Azimuth.
The Zenith reaches the position specified by ang.
ang= | mechanical angle |
raz= | real azimuth angle |
Definition at line 3110 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS3, gui::ContrPanel, DB_KB_ButtonActive(), DB_StepMotor(), flag::exec, flag::fileprg, das::Gui, pushbutt::KeyB, controlpanel::LedSM, MIGEAz(), MObjectSetSensitive(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::nstep, AzimuthSt::Pos, gui::PushButt, AzimuthSt::realazpos, stepm::Revo, stepm::SM_B, SM_stepr(), stepm::step, and das::StepM.
Referenced by ActMvAzimDegCB(), E_AAMeasure(), E_Azimuth(), and E_IRefSun().
int SD_FilterW | ( | int | filter | ) |
Positioning Filter wheel.
The filter wheel move on the filter number specified by filter.
See also Filter Wheel page.
filter |
|
Definition at line 2244 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS2, gui::ContrPanel, DB_KB_ButtonActive(), DB_StepMotor(), paramini::EqType, flag::exec, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, flag::fileprg, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, gui::HorizMeas, pushbutt::KeyB, horizmeas::lbl, controlpanel::LedSM, LIS_, flag::manhormeas, MMessageDialog(), MObjectSetSensitive(), MObjectSetText(), MPixmapSetImageFile(), das::Paramini, FilterWheelSt::Pos, gui::PushButt, SM_stepr(), SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, Status(), stepm::step, das::StepM, and TROPOGAS.
Referenced by AutoR_SetND_Filter(), D_Calibra(), D_Measure(), DB_KeyB_CB(), E_AAMeasure(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_DFMeasure(), E_DirectSun(), E_Filter(), E_HgScan(), E_IRefSun(), E_Meashor(), E_Meashor2(), E_Measure(), and E_QjScan().
void SD_FNTorqueM | ( | int | mod | ) |
Positioning NDFilter.
.
Definition at line 3066 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS1, AMS_wopto(), gui::ContrPanel, das::Gui, controlpanel::LedSM, MObjectSetText(), MPixmapSetImageFile(), stepm::OOP, das::StepM, and TMFlg.
Referenced by AutoR_SetND_Filter(), DB_KeyB_CB(), E_AAMeasure(), E_Almucantar(), E_DFMeasure(), E_DirectSun(), E_HgScan(), and E_QjScan().
int SD_Grating | ( | int | ang | ) |
Positioning Grating.
The Grating move to the position specified by ang (Wavelength)
ang | –> int from 0 to 14 –> grating position –> Wavelength |
Definition at line 2108 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS1, gui::ContrPanel, DB_KB_ButtonActive(), DB_StepMotor(), GratingSt::dp, flag::exec, flag::fileprg, das::Gui, gui::HorizMeas, pushbutt::KeyB, horizmeas::lbl, controlpanel::LedSM, flag::manhormeas, MObjectSetSensitive(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::nstep, GratingSt::Pos, gui::PushButt, SM_stepr(), Status(), stepm::step, das::StepM, wav, wl, and GratingSt::Wl.
Referenced by D_Calibra(), D_Measure(), DB_KeyB_CB(), E_AAMeasure(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_DFMeasure(), E_DirectSun(), E_HgScan(), E_IRefSun(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), E_QjScan(), and WinRes().
int SD_Mirror | ( | int | where | ) |
Positioning Input Mirror.
The Input Mirror reaches the position specified by where.
where | –> int from 0 to 3 –> grating position –> Wavelength |
Definition at line 1898 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS1, gui::ContrPanel, DB_KB_ButtonActive(), DB_StepMotor(), paramini::EqType, flag::exec, flag::fileprg, GASCODNG4, das::Gui, gui::HorizMeas, pushbutt::KeyB, horizmeas::lbl, controlpanel::LedSM, flag::manhormeas, Mir_Code, Mir_CodeTropo, MIS, MObjectSetSensitive(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, paramini::Offset, das::Paramini, MirrorSt::Pos, gui::PushButt, SM_stepr(), SPATRAM3, Status(), stepm::step, das::StepM, and TROPOGAS.
Referenced by D_Calibra(), D_Measure(), DB_KeyB_CB(), E_AAMeasure(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_DFMeasure(), E_DirectSun(), E_HgScan(), E_IRefSun(), E_Meashor(), E_Meashor2(), E_Measure(), E_Mirror(), E_QjScan(), and GetDefPix().
int SD_NDFilterW | ( | int | filter | ) |
Positioning Filter wheel.
The filter wheel move on the filter number specified by filter.
See also Filter Wheel page.
filter |
|
Definition at line 2354 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS2, gui::ContrPanel, DB_KB_ButtonActive(), DB_StepMotor(), paramini::EqType, flag::exec, Fil_Code8H, Fil_CodeNG, Fil_CodeTropo, flag::fileprg, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, gui::HorizMeas, pushbutt::KeyB, horizmeas::lbl, controlpanel::LedSM, LIS_, flag::manhormeas, MMessageDialog(), MObjectSetSensitive(), MObjectSetText(), MPixmapSetImageFile(), NDFil_Code, NDFWS, das::Paramini, NDFilterWheelSt::Pos, gui::PushButt, SM_stepr(), SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, Status(), stepm::step, das::StepM, and TROPOGAS.
Referenced by AutoR_SetND_Filter(), DB_KeyB_CB(), E_AAMeasure(), E_Almucantar(), E_DFMeasure(), E_DirectSun(), E_HgScan(), E_NDFilter(), and E_QjScan().
int SD_PosAADev | ( | double | z, |
double | a | ||
) |
perform the simoultaneous positioning of the AltAzimuth platform z = Zenith Axis a = Grating Position
Definition at line 447 of file Spat_Device.c.
References optionini::aaopmode, controlpanel::Albl_LS, AMS3, AMS_sendstep(), optionini::amsprogbar, gui::ContrPanel, D_VRangeSim(), DBDEMO, DD_VOpen, das::DOption, flag::exemode, das::Flag, das::Gui, controlpanel::LedSM, MIGEAz(), MIGEZen(), MLoopWhileEvents(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::NAMS, stepm::nstep, ZenithSt::Pos, AzimuthSt::Pos, stepm::postime, AzimuthSt::realazpos, ZenithSt::realzenpos, stepm::Revo, S_azim, stepm::SM_A, stepm::SM_B, SM_stepr(), stepm::speed_Hz, st, stepm::step, das::StepM, and WriteLogAMS().
Referenced by MIGEAntiSunTrack(), and MIGESunTrack().
int SD_Position | ( | int | m, |
int | w, | ||
int | f, | ||
double | z, | ||
double | a | ||
) |
perform the simoultaneous positioning of the Spectrometer Devices m = mirror w = wavelength (Grating) f = filter wheel z = zenith a = azimuth
Definition at line 1243 of file Spat_Device.c.
References optionini::aaopmode, controlpanel::Albl_LS, AMS1, AMS2, AMS3, AMS_sendstep(), optionini::amsprogbar, gui::ContrPanel, D_VRangeSim(), DB_StepMotor(), DBDEMO, DD_VOpen, das::DOption, GratingSt::dp, paramini::EqType, flag::exemode, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, das::Flag, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, controlpanel::LedSM, LIS_, MIGEAz(), MIGEZen(), Mir_Code, Mir_CodeTropo, MIS, MLoopWhileEvents(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::NAMS, stepm::nstep, paramini::Offset, das::Paramini, FilterWheelSt::Pos, MirrorSt::Pos, ZenithSt::Pos, AzimuthSt::Pos, stepm::postime, AzimuthSt::realazpos, ZenithSt::realzenpos, stepm::Revo, stepm::SM_A, stepm::SM_B, SM_stepr(), SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, stepm::speed_Hz, st, stepm::step, das::StepM, TROPOGAS, wav, wl, GratingSt::Wl, and WriteLogAMS().
Referenced by E_AAMeasure(), E_AAPos(), E_Almucantar(), E_DirectSun(), E_IRefSun(), ExecSimPosCB(), and MIGEZenAzPos_CB().
int SD_PosOMUDev | ( | int | m, |
int | w, | ||
int | f | ||
) |
perform the simoultaneous positioning of the Spectrometer Devices in the OMU Unit m = mirror w = wavelength (Grating) f = filter wheel
Definition at line 747 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS1, AMS2, AMS_sendstep(), optionini::amsprogbar, gui::ContrPanel, D_VRangeSim(), DB_StepMotor(), DBDEMO, DD_VOpen, das::DOption, GratingSt::dp, paramini::EqType, flag::exemode, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, das::Flag, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, controlpanel::LedSM, LIS_, Mir_Code, Mir_CodeTropo, MIS, MLoopWhileEvents(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::NAMS, stepm::nstep, paramini::Offset, das::Paramini, FilterWheelSt::Pos, MirrorSt::Pos, stepm::postime, stepm::Revo, stepm::SM_A, stepm::SM_B, SM_stepr(), SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, stepm::speed_Hz, st, stepm::step, das::StepM, TROPOGAS, wav, wl, GratingSt::Wl, and WriteLogAMS().
Referenced by E_AvgCCDHor(), E_DFMeasure(), E_Meashor(), E_Meashor2(), and E_Measure().
int SD_Zenith | ( | float | ang | ) |
Positioning Zenith.
The Zenith reaches the position specified by ang.
ang |
Definition at line 2916 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS3, gui::ContrPanel, DB_KB_ButtonActive(), DB_StepMotor(), flag::exec, flag::fileprg, das::Gui, pushbutt::KeyB, controlpanel::LedSM, MIGEZen(), MObjectSetSensitive(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::nstep, ZenithSt::Pos, gui::PushButt, ZenithSt::realzenpos, stepm::Revo, stepm::SM_A, SM_stepr(), stepm::step, and das::StepM.
Referenced by ActMvZenDegCB(), E_AAMeasure(), E_IRefSun(), and E_Zenith().
int SD_Zenith_H | ( | float | ang | ) |
Definition at line 2816 of file Spat_Device.c.
References controlpanel::Albl_LS, AMS3, gui::ContrPanel, DB_KB_ButtonActive(), DB_StepMotor(), flag::exec, flag::fileprg, das::Gui, pushbutt::KeyB, controlpanel::LedSM, MObjectSetSensitive(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, ZenithSt::Pos, gui::PushButt, SM_stepr(), Status(), stepm::step, and das::StepM.
Referenced by HomeZenithFast().
This callback toggles the Bold attribute.
Definition at line 1455 of file DAS_Spat_ConfCBs.c.
References bold, and DB_TestF().
Referenced by MDCreateDASConfig().
This callback toggles the Italic attribute.
Definition at line 1464 of file DAS_Spat_ConfCBs.c.
References DB_TestF(), and italic.
Referenced by MDCreateDASConfig().
int SetWorkDirMGUIenv | ( | char * | buff | ) |
set DAS and MGUI enviroment when the program is launched undirectly (for offlineplot or log or auto or autotimed modes)
Definition at line 3353 of file DAS_Spat.c.
Referenced by ChkExeMode(), CloseShTempCB(), DB_ToolsKeyB_CB(), MDCreate2DPlot(), and MGUIMain().
void ShiftImg | ( | int | hp, |
int | vp | ||
) |
Used to correct some data files.
hp | horizontal pixels |
vp | vertical pixels |
Definition at line 765 of file Utils.c.
References bil::DPLOT, IDX, and d_view::ImatGraf.
Referenced by DT_CorrFileEvora().
void __stdcall ShowDown | ( | const char * | str, |
int | port | ||
) |
Shows the countdown.
Procedure for the visualisation of the countdown.
cdown | pointer to a char variable containing the partial time. |
Definition at line 98 of file Init.c.
References DI_WriteDigit(), marconi::LblExpD, das::Marconi, and MLoopWhileEvents().
Referenced by DB_GetCCD(), and DB_InitCamera().
void ShStCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 154 of file DOAS_FullProj.c.
References MMessageDialog().
Referenced by MDCreateDOAS_MainSh().
void ShutDOWN | ( | void | ) |
Creates shell for Shutting down the instrument
.
Definition at line 6903 of file CreateForms.c.
References CloseShCB(), palette::DB_BG, palette::DB_BG_Plbl, palette::DB_FG_Plbl, palette::DB_UnSel, palette::DB_UnSelFG, DBDEMO, ESC, flag::exemode, F1, F2, F3, F4, das::Flag, HELV_MEDIUM, HELV_SMALL, lbl, MButtonSetAccelerator(), MButtonSetOnMouseOverForegroundRGB(), MCreateLabel(), MCreatePButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetText(), MObjectSetTransparency(), MObjectSetUnsensitive(), MPButtonSetCallback(), MShellRealize(), MShellRealizeXY(), MShellSetWMCloseCallback(), OFFLINEPLOT, sdsh, SF_MODAL, ShutCB(), True, WS_NONE, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
void ShutterOpening | ( | int | mod | ) |
Definition at line 1685 of file Procedures.c.
References _MAX_PATH, d_fileman::CONFIGDIREQUIPMENT, countsopsh, bil::DFILEM, and MMessageDialog().
Referenced by InitCCD_AMS(), ShutCB(), Task_LOG(), and WinRes().
void sleep | ( | clock_t | wait | ) |
Pauses for a specified number of milliseconds.
.
Definition at line 1566 of file Load.c.
Referenced by DE_InitMotor().
int SM_stepr | ( | int | t | ) |
AMS 'steps/round' value return the AMS 'steps/round' value (microstepping) depending on the setted step fractioning.
t | = fraction |
Definition at line 209 of file Spat_Device.c.
Referenced by ActMvGratCB(), D_Calibra(), SD_Azimuth(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), SD_Zenith(), and SD_Zenith_H().
float SMfraz | ( | int | t | ) |
denominator value of the stepping ratio
t | value of microstepping (0 to 13) |
Definition at line 129 of file Spat_Device.c.
Referenced by ActMvAzimCB(), ActMvZenCB(), and HomeMirror().
SmoothData | ( | unsigned short * | source, |
float * | destination, | ||
int | horpix, | ||
int | verpix, | ||
int | filw, | ||
int | bp | ||
) |
Calc. the smoothed matrix of an unsigned short one.
.
*source | source data buffer |
*destination | destination data buffer |
horpix | horizontal pixels |
verpix | vertical pixels |
filw | filter windows for smoothing |
bp | blind pixels |
Definition at line 973 of file Save.c.
References IDX, and SmoothingF().
Referenced by BuildLogRatio(), and WriteSelColandSmoothed().
SmoothFloatData | ( | float * | source, |
float * | destination, | ||
int | horpix, | ||
int | verpix, | ||
int | filw, | ||
int | bp | ||
) |
Calc. the smoothed matrix of a float one.
.
*source | source data buffer |
*destination | destination data buffer |
horpix | horizontal pixels |
verpix | vertical pixels |
filw | filter windows for smoothing |
bp | blind pixels |
Definition at line 890 of file Save.c.
References IDX, and SmoothingF().
Referenced by BuildLogRatio().
int SmoothingF | ( | double * | tmp, |
int | npix, | ||
int | pts | ||
) |
Smoothing of 1D array.
*tmp | source buffer |
npix | number of elements of the array |
pts | smoothing window |
Definition at line 151 of file FFT.c.
References MMessageDialog(), and realft().
Referenced by FilterData(), SmoothData(), and SmoothFloatData().
void Status | ( | char * | tit | ) |
Writes information's on the Status label
.
Definition at line 1556 of file Load.c.
References controlpanel::Albl_Status, gui::ContrPanel, das::Gui, and MObjectSetText().
Referenced by AMS_DoPos(), AutoR_TestMeas(), AutoRange(), D_AutoExecution(), D_Average(), D_AverageTFix(), D_Calibra(), D_Homing(), D_WaitSZA(), DAS_Error(), DB_InitCamera(), DB_Pause(), DB_save_img(), DB_SelButt_CB(), DB_ToolsKeyB_CB(), DemoInitMotor(), E_AutoRange(), E_Expo(), E_GetCCD(), E_HGratCal(), E_HgScan(), E_Home_SM1(), E_Home_SM2(), E_Home_SM3(), E_Home_SM4(), E_Home_SM5(), E_Home_SM6(), E_QjScan(), E_SetCCDOffSet(), E_SetCCDPow(), E_SetCCDTemp(), E_SetCCDVBin(), ExMaster(), FTP_Back_UP(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), InitCCD_AMS(), PerformMeas(), PID_Calc(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Zenith_H(), ShutCB(), Task_CCD_Temp(), and Task_HomeGrat().
void SunCalcCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 148 of file DOAS_FullProj.c.
References D_SunCalc().
Referenced by MDCreateDOAS_MainSh().
void SwapMatrix | ( | unsigned short * | source, |
unsigned short * | dest, | ||
int | hp, | ||
int | vp | ||
) |
Copy the source matrix in the Destination one
.
*source | = source matrix (buffer) |
*dest | = destination matrix (buffer) |
hp | = horizontal pixels |
vp | = vertical pixels |
Definition at line 1979 of file Spat_Plot.c.
Referenced by DrawAreaPlotCB(), SaveIo(), ViewNext(), ViewNext_BIN(), and Visualizza().
void SZA_FindMin | ( | void | ) |
computation of daily minimum SZA
Definition at line 2808 of file DAS_Spat.c.
References dsza::Dailymaxsza, dsza::Dailyminsza, das::DGeo, d_geo::latitude, d_geo::longitude, S_zenetr, SZACalc(), and d_geo::timezone.
Referenced by SZA_FirstCalc(), and Task_LOG().
int SZACalc | ( | double | d_lat, |
double | d_long, | ||
double | d_tzone, | ||
int | d_year, | ||
int | d_daynum, | ||
int | d_hour, | ||
int | d_minute, | ||
int | d_second, | ||
float | d_temp, | ||
float | d_press, | ||
float | d_tilt, | ||
float | d_aspect | ||
) |
Calc. Solar angles and radiatives quantities.
.
d_lat | station latitude |
d_long | station longitude |
d_tzone | station time zone |
d_year | year |
d_daynum | day number |
d_hour | hour |
d_minute | minute |
d_second | seconds |
d_temp | temperature DEFAULT 10.0 (standard temperature) |
d_press | pressure DEFAULT 1013.0 (standard pressure) |
d_tilt | tilted DEFAULT 0.0 (horizontal panel) |
d_aspect | aspect DEFAULT 180.0 (South-facing panel) |
Definition at line 89 of file CalcSZA.c.
References S_aspect, S_date(), S_daynum, S_hour, S_latitude, S_longitude, S_minute, S_press, S_second, S_solpos(), S_temp, S_tilt, S_timezone, and S_year.
Referenced by D_AutoExecution(), SZA_FindMin(), SZA_FirstCalc(), and Task_Timer().
void Task_AMSH | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
AMS Home Task.
Refresh the temperatures during DAS execution.
Definition at line 1047 of file Chktemp.c.
References AMS1, AMS_chkbitsts(), flag::AMS_H, AMS_TrackOff(), AMSH_TASK_TIME, FLAG, MAddTimeout(), and Task_AMSH().
Referenced by Task_AMSH().
void Task_AutoEx | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
Automatic Execution Task.
.
Definition at line 963 of file RTC_Time.c.
References AUTOEX_TASK_TIME, D_AutoExecution(), and MAddTimeout().
Referenced by LaunchBackTask().
void Task_CCD_Temp | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
CCD Temperature Task.
Provide the thermoregulation of the CCD sensor during DAS execution.
Definition at line 1068 of file Chktemp.c.
References controlpanel::Albl_CS, marconi::CCDTemp, CCDTEMP_TASK_TIME, CELSIUS, gui::ContrPanel, paramini::CoolPw, D_FixSZA(), DB_InitCamera(), DC_CoolerStatus(), DC_GetPower(), DC_GetTemp(), DC_SetPower(), DC_SetTemp(), flag::DeltaSZA, flag::exec, flag::ExeDSZA, FLAG, das::Flag, FlgSM_Stop, das::Gui, paramini::ITemp, dsza::LastMSZA, MAddTimeout(), das::Marconi, MObjectSetText(), das::Paramini, omuthr::ReachTemp, flag::REINITCCD, S_zenetr, Status(), SZADelta, Task_CCD_Temp(), and flag::UPS_Battery.
Referenced by LaunchBackTask(), and Task_CCD_Temp().
void Task_HomeGrat | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
Home grating Task.
5) Check for reached end-run of the stepper motor for the grating
.
Definition at line 980 of file RTC_Time.c.
References controlpanel::Albl_LS, AMS1, AMS_AzzeraCoord(), AMS_chkbitsts(), AMS_MotorOn_Off(), AMS_ReadStep(), flag::AMSPres, DXL_par::bufrx, gui::ContrPanel, flag::exemode, das::Flag, GRAT_TASK_TIME, ids::GRATHOME, das::Gui, HomeGratingFast(), IDS, MANUAL, MObjectSetText(), MRefreshTimeout(), stepm::postime, PRGFILE, stepm::SM_B, st, Status(), das::StepM, SZAMASTERM, SZAMODE, TEMPORIZED, and TESTAMS.
Referenced by E_Home_SM1(), HomeTrack(), and LaunchBackTask().
void Task_LIS_Temp | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
OMU Thermoregulation Task.
Provide the thermoregulation of the Optical Mechanical Unit
In addition allows the CCD sensor temperature to be driven by the SZA
.
Definition at line 873 of file Chktemp.c.
References _MAX_PATH, flag::ADPC104, flag::ADTempTest, controlpanel::Albl_LS, CELSIUS, gui::ContrPanel, omuthr::CoolAT, omuthr::CoolCnt, paramini::CoolPw, omuthr::CoolTT, D_readtemp(), DC_SetPower(), DC_SetTemp(), DeltaTPrec, das::DOption, paramini::EqType, FANECU(), FirstTime, FirstTimeP, FLAG, FlgSM_Stop, das::Gui, Incr_Read_Temp, controlpanel::lbl_Par, LIS_, LISTEMP_TASK_TIME, MAddTimeout(), Master, MObjectSetText(), OMU_AssignPow(), OMU_ChooseDir(), OMU_TemperatureHandle(), das::Paramini, omuthr::PCPower, omuthr::PHPower, PrgFile, optionini::refertemp, S_zenetr, flag::settemp070, flag::settemp7080, flag::settemp8095, flag::settempvar, Task_LIS_Temp(), omuthr::Temperature, and paramini::TPelt.
Referenced by ADTesterCB(), CloseConfigCB(), LaunchBackTask(), and Task_LIS_Temp().
void Task_LOG | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
LOG Task.
Write on the LOG file during DAS execution.
Definition at line 246 of file RTC_Time.c.
References controlpanel::Albl_CS, controlpanel::Albl_LS, flag::AMS_H, marconi::CCDTemp, gui::ContrPanel, bil::DFILEM, das::DGeo, dlog::flog, dlog::fsmlog, GetDateTime(), das::Gui, LOG_TASK_TIME, d_fileman::LOGDIR, MAddTimeout(), das::Marconi, MObjectGetText(), dlog::ndate, dlog::ntime, dlog::odate, d_geo::s_name, ShutterOpening(), SZA_FindMin(), and omuthr::Temperature.
Referenced by LaunchBackTask().
void Task_REFRESH_Temp | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
Temperatures Task.
Refresh the temperatures during DAS execution.
Definition at line 1579 of file Chktemp.c.
References flag::AMS_H, D_readtemp(), FLAG, MAddTimeout(), REFRESHTEMP_TASK_TIME, and Task_REFRESH_Temp().
Referenced by LaunchBackTask(), and Task_REFRESH_Temp().
void Task_Timer | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
Timer Task.
Very useful procedure that:
1) Provide to refresh the clock display
2) Check if daylight saving time is in effect
3) Calculate the Solar Zenith Angle
4) Check the FLAG.sza in order to back-up the daily data via FTP and if all the condition are satisfied the back-up is performed
5) Check for reached end-run of the stepper motor for the grating
.
Definition at line 1184 of file RTC_Time.c.
References optionini::aaopmode, controlpanel::Albl_Azim, controlpanel::Albl_CS, controlpanel::Albl_Elev, controlpanel::Albl_sunr, controlpanel::Albl_suns, flag::AMS_H, gui::ContrPanel, d_fileman::DAILYDATADIRECTORY, bil::DFILEM, das::DGeo, das::DOption, das::Flag, FTP_Back_UP(), optionini::ftpbackup, flag::ftpstatus, GetDateTime(), das::Gui, d_fileman::HOMEDIRECTORY, d_geo::latitude, controlpanel::lbl_Time, d_geo::longitude, MAddTimeout(), MIGEAntiSunTrack(), MIGESunTrack(), MObjectGetText(), MObjectSetText(), optionini::resetEnabled, S_azim, d_geo::s_name, S_sunrise, S_sunset, S_zenetr, SetWindowsReset(), flag::sza, SZACalc(), SZAMax, TIMER_TASK_TIME, d_geo::timezone, flag::WindowsReboot, and WinRes().
Referenced by DB_ToolsKeyB_CB(), and LaunchBackTask().
void TaskWDT | ( | TIMEOUT_ID | id, |
void * | data | ||
) |
Definition at line 1767 of file DAS_Spat.c.
References MRefreshTimeout(), TaskWDT(), ids::WDT, WDT_TASK_TIME, and WDTRefresh().
Referenced by TaskWDT(), and WDT_Task_CB().
void TestFontCB | ( | MOBJECT | obj, |
void * | a, | ||
void * | data | ||
) |
This callback tries to load the specified font.
Definition at line 1489 of file DAS_Spat_ConfCBs.c.
References DB_TestF().
Referenced by MDCreateDASConfig().
Definition at line 744 of file DAS_Spat_ConfCBs.c.
References mtcl::black, cell_label, label_fgc, MObjectBackgroundColor(), MObjectSetColor(), and mtcl::white.
void UnderOverPixCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Under/Over exposed pixels Callback
At the pression of the button in DAS_Config the appropriate shell (For the creation of the Under or Over exposed pixel map - with the MAPDefPix() function) will be created.
a_data |
|
Definition at line 4162 of file DAS_Spat_ConfCBs.c.
References MAPDefPix().
Referenced by CONFP_opt_page1().
void UndoFCB | ( | MOBJECT | obj, |
void * | a, | ||
void * | v | ||
) |
This callback UnDo the font choice (Not implemented yet)
Definition at line 1421 of file DAS_Spat_ConfCBs.c.
Referenced by MDCreateDASConfig().
void UPS_Status | ( | void | ) |
Definition at line 32 of file Save.c.
Referenced by DB_ToolsKeyB_CB().
void val2fraz | ( | int | id, |
int | sn, | ||
int | val | ||
) |
Decimal value to ratio value
Similar to listval2fraz The decimal value indicating the fractioning of the step is translated in ratio (i.e. 0 –> 1/2 = 400 s/r, 1–> 1/4 =800 s/r)
id | NOT USED (0) |
sn | NOT USED (0) |
val | steps |
Definition at line 2333 of file DAS_Spat_ConfCBs.c.
References stepm::step_fraz, and das::StepM.
Referenced by ApplyChCB(), AssignParam(), and WriteAMSCB().
Text Validation callback Validation callback for the text typed in different text box.
Definition at line 1632 of file DAS_Spat_ConfCBs.c.
References paramini::ccdWx, paramini::ccdWy, paramini::ccdXoff, paramini::ccdYoff, paramini::CoolPw, das::DOption, ccd::dx, ccd::dy, False, EDIT_VAL::focus_leave, paramini::ITemp, optionini::maxlvlar, paramini::maxtexp, MMessageDialog(), das::Paramini, omuthr::PCPower, EDIT_VAL::text, paramini::TPelt, and paramini::VBin.
Referenced by CONFP_AMS_SM_OFFSET(), CONFP_opt_page1(), CONFP_opt_page2(), CONFP_opt_page3(), CONFP_param_page1(), D_PlotTools(), MAPDefPix(), and MDCreateColFor_Sh().
void ViewCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 121 of file DOAS_FullProj.c.
References ViewPlot().
Referenced by MDCreateDOAS_MainSh().
int ViewPlot | ( | int | mod | ) |
Create the plot shell. Procedure that build the plot shell for the data visualization.
mod |
|
Definition at line 3775 of file Spat_Plot.c.
References _MAX_PATH, alfont, bil::BLENS, BOTTOM_ALIGN, CENTER_ALIGN, ClosePlotCB(), viewformobj::cmdpb, D_pbr_CB(), D_PButt_CB(), DB_AreaInput(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_Plbl, DB_EqTypePlotCB(), palette::DB_FG_Albl, palette::DB_FG_Plbl, palette::DB_UnSel, DB_XUnitsCB(), delay(), dmenu, DOASMODE, das::DOption, bil::DPLOT, d_view::drawapl, DrawAreaPlotCB(), EM_BUTTON_PRESS, paramini::EqType, flag::exec, flag::exemode, F10, False, ffilenames, Fitem, FIXED_SMALL, FLAG, das::Flag, Fmenu, viewformobj::formbutt, HELV_SMALL, optionini::hlineafter, optionini::hlinebefore, IDY, blens::Imim, InitImage(), item_pd, lbl, viewformobj::lblalt, viewformobj::lblAzimuth, viewformobj::lblccdex, viewformobj::lblccdey, viewformobj::lblccdsx, viewformobj::lblccdsy, viewformobj::lblccdtemp, viewformobj::lblccdtexp, viewformobj::lblccdwx, viewformobj::lblccdwy, viewformobj::lbldate, viewformobj::lblfilter, viewformobj::lbllat, viewformobj::lblloc, viewformobj::lbllong, viewformobj::lblmax, viewformobj::lblmin, viewformobj::lblmirpos, viewformobj::lblndfilter, viewformobj::lblnr, viewformobj::lblnummeas, viewformobj::lblsza, viewformobj::lbltime, viewformobj::lblvb, viewformobj::lblwaveleng, viewformobj::lblX, viewformobj::lblY, viewformobj::lblZenith, LEFT_ALIGN, MakeItemUnsensitiveCB(), MAllocImage(), Master, maxploth, maxplotw, MButtonSetOnMouseOverForegroundRGB(), MCreateColForm(), MCreateDrawArea(), MCreateLabel(), MCreateMenu(), MCreateMenuBar(), MCreatePButton(), MCreatePopupMenu(), MCreateRButton(), MCreateRowForm(), MCreateShell(), MCreateSubMenu(), MCreateTableForm(), MD_CreateBRowShell(), MDrawAreaSetExposeCallback(), MDrawAreaSetInputCallback(), menu, MenuFileOLP_CB(), MenuToolsOLP_CB(), MFormSetSpacing(), MGetScreenWidth(), MLabelSetAlignment(), MLabelSetMargin(), MMenuAddItem(), MMenuAddItemObsolete(), MMenuAddRadioItem(), MMenuBarSetAcc(), MMenuItemSetCheckStatus(), MObjectAddEventNotifyCallback(), MObjectAlign(), MObjectGetHeight(), MObjectGetWidth(), MObjectSetBackgroundRGB(), MObjectSetColor(), MObjectSetCompositeWidth(), MObjectSetFont(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetSensitive(), MObjectSetShadow(), MObjectSetTransparency(), MObjectSetUnsensitive(), MObjectUnmap(), MPButtonSetCallback(), MRButtonActivate(), MShellRealizeXY(), MTableFormSetColAlign(), MTableFormSetRowAlign(), MTCL, OFFLINEPLOT, d_view::OLDnR, ON_OFFLINEPLOT, Optmenu, das::Paramini, d_view::pbr, PButtSelAll_CB(), PBYScale_CB(), mtcl::PLColor, plfont, flag::plotYRange, PopUp_CB(), popup_pd, PopupMenuCB(), PrgFile, RIGHT_ALIGN, viewformobj::selallpb, submenu, Titem, Tmenu, TOP_ALIGN, True, UNDEF_ALIGN, bil::VFO, viewformobj::View_Sh, mtcl::white, flag::Wl, WS_ETCHED_IN, WS_NONE, WS_SHADOW_IN, viewformobj::XAxisU, viewformobj::xincr, viewformobj::xloc, viewformobj::yincr, viewformobj::yloc, and viewformobj::YScalePB.
Referenced by D_Plot(), DB_HorComm_CB(), DB_KeyB_CB(), E_Plot(), RunOLP(), and ViewCB().
void WDT_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 1507 of file DAS_Spat.c.
References gui::ConfigPanel, D_Timing(), das::Gui, configpanel::lbltelap, MObjectGetText(), MObjectSetText(), das::Nova, configpanel::WDT_edt, WDT_flagstop, WDT_func(), and nova::WDT_TOUT.
Referenced by CONFP_AMS_NOVA().
void WDT_func | ( | int | mod | ) |
Definition at line 1572 of file DAS_Spat.c.
References DWORD, InByteR(), ISMM_Close(), ISMM_Open(), das::Nova, NOVA6612G2, NOVA7892, NOVA945GSE, OutByte(), nova::type, WDT_SetTimeout(), WDT_Start(), WDT_TASK_TIME, WDT_TIMEOPT_SECOND, and nova::WDT_TOUT.
Referenced by D_Timing(), ShutCB(), WDT_CB(), WDT_Task_CB(), and WinRes().
void WDT_Task_CB | ( | MOBJECT | o, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 1547 of file DAS_Spat.c.
References MObjectGetText(), MObjectSetText(), MRefreshTimeout(), TaskWDT(), ids::WDT, WDT_func(), and WDT_TASK_TIME.
Referenced by CONFP_AMS_NOVA().
void WinRes | ( | void | ) |
Definition at line 1067 of file RTC_Time.c.
References DXL_par::com, D_WriteInitLog(), DB_WriteMode(), DC_Close(), paramini::EqType, das::Flag, GASCODNG1, GetDateTime(), HGFlg, HgLamp(), LookforWl_X(), MGUITerm(), das::Nova, NOVA_Out(), das::Paramini, QJFlg, QjLamp(), SD_Grating(), ShutterOpening(), SioDone(), nova::type, WDT_func(), and flag::WindowsReboot.
Referenced by InitTempAD(), and Task_Timer().
int WriteAMSCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Write AMS.ini file
.
Definition at line 2834 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, d_fileman::CONFIGDIREQUIPMENT, gui::ConfigPanel, gui::ContrPanel, stepm::cop_perc, date::da_day, date::da_mon, date::da_year, bil::DFILEM, fraz2val(), GetDateTime(), das::Gui, hertz2int(), stepm::hometype, MMessageDialog(), MObjectGetText(), MObjectSetText(), stepm::multiplier, stepm::NAMS, paramini::Offset, das::Paramini, perc2int(), controlpanel::power, stepm::power, controlpanel::slope, stepm::slope, configpanel::SM_multiplier, configpanel::SM_power, configpanel::SM_slope, configpanel::SM_speed, configpanel::SM_step, controlpanel::speed, stepm::speed, stepm::speed_Hz, controlpanel::step, stepm::step, stepm::step_fraz, das::StepM, time::ti_hour, time::ti_min, and val2fraz().
Referenced by MDCreateDASConfig().
int WriteColorsCB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Write selected color in DASSysColor.INI.
Definition at line 98 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, d_fileman::CONFIGDIREQUIPMENT, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_BG_RButt, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, palette::DB_FG_RButt, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, bil::DFILEM, and MMessageDialog().
Referenced by MDCreateDASConfig().
int WriteEquipini | ( | void | ) |
Write equipment.ini file
.
Definition at line 3111 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, d_fileman::CONFIGDIRCOMMON, bil::DFILEM, paramini::EqType, MMessageDialog(), and das::Paramini.
Referenced by DB_EqTypeCB(), and DB_EqTypePlotCB().
void WriteFontCB | ( | MOBJECT | obj, |
void * | a, | ||
void * | v | ||
) |
This callback write on file the selected font (Not implemented yet)
Definition at line 1416 of file DAS_Spat_ConfCBs.c.
References MMessageDialog().
Referenced by MDCreateDASConfig().
int WriteHardwareiniCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Write hardware.ini file
.
Definition at line 3064 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, d_fileman::CONFIGDIREQUIPMENT, bil::DFILEM, MMessageDialog(), das::Nova, and nova::type.
Referenced by CONFP_AMS_NOVA().
void WriteIMG | ( | FILE * | file, |
unsigned short * | mat, | ||
int | hp, | ||
int | vp | ||
) |
Definition at line 1178 of file Spat_Plot.c.
Referenced by SaveDataOffLine().
void WriteIMG_BIN | ( | int | fd, |
unsigned short * | mat, | ||
int | hp, | ||
int | vp | ||
) |
Definition at line 1153 of file Spat_Plot.c.
Referenced by SaveDataOffLine().
void WriteInit | ( | const char * | sname, |
char * | dateffn, | ||
char * | timebuff | ||
) |
Init the daily LOG file
.
*sname | = Name of the station (3 char) |
*dateffn | = date |
*timebuff | = time |
Definition at line 158 of file RTC_Time.c.
References bil::DFILEM, dlog::flog, dlog::fsmlog, and d_fileman::LOGDIR.
Referenced by MGUIMain().
void writelogmotor | ( | int | mod, |
int | id_motore, | ||
int | k, | ||
int | d, | ||
long | steps, | ||
unsigned char | ams_id | ||
) |
Write Motor Operations on Log File.
Write on the SM.LOG file the commands send to the motors.
mod |
|
id_motore |
|
k | = er |
d | = direction:
|
steps | = number of steps |
ams_id | = AMS address:
|
Definition at line 48 of file Spat_Device.c.
References DXL_par::bufrx, DXL_par::buftx, DLOG, and dlog::fsmlog.
Referenced by AMS_DoPos().
int WriteOptioniniCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Write Options.ini file
.
Definition at line 2541 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, optionini::aaopmode, optionini::amsprogbar, optionini::avgautor, optionini::avgmode, d_fileman::CONFIGDIREQUIPMENT, date::da_day, date::da_mon, date::da_year, optionini::darkremove, optionini::darksource, optionini::DEFPIXFILENAME, flag::DeltaSZA, dsza::DeltaSZA, bil::DFILEM, flag::DispBlindPix, das::DOption, optionini::emshutter, optionini::filename, optionini::filtertype, das::Flag, optionini::ftpbackup, GetDateTime(), optionini::hlineafter, optionini::hlinebefore, optionini::imgtype, mige::linked, optionini::maxlvlar, dsza::MaxSZA, optionini::measmode, das::MIGE, dsza::MinSZA, optionini::mirrorimg, MMessageDialog(), N_AVG, omuthr::PID_kd, omuthr::PID_ki, omuthr::PID_kp, optionini::pixcorr, flag::plotW, flag::plotYRange, optionini::refertemp, optionini::resetEnabled, optionini::resetFreq, optionini::resetType, optionini::savingmode, flag::settempvar, optionini::shuttertype, optionini::smposmode, SZADelta, SZAMax, time::ti_hour, time::ti_min, TOTTEXP, omuthr::TRType, mige::type, flag::Wl, XAX, and YAX.
Referenced by CONFP_Options(), CONFP_param_page4(), and CONFP_param_page5().
int WriteParaminiCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Write Param.ini file
.
Definition at line 3212 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, CCD_SetupFlg, paramini::ccdWx, paramini::ccdWy, paramini::ccdXoff, paramini::ccdYoff, CodeEq2Name(), d_fileman::CONFIGDIREQUIPMENT, gui::ContrPanel, paramini::CoolPw, date::da_day, date::da_mon, date::da_year, bil::DFILEM, d_fileman::DIRDCL, DOASMODE, paramini::EqType, flag::exemode, das::Flag, GetDateTime(), das::Gui, paramini::ITemp, controlpanel::lbl_Par, paramini::maxtexp, MMessageDialog(), MObjectSetText(), das::Paramini, omuthr::PCPower, time::ti_hour, time::ti_min, paramini::TPelt, and paramini::VBin.
Referenced by CONFP_param_page1().
void WriteSelColandSmoothed | ( | int | mod, |
FILE * | fd, | ||
int | selcol | ||
) |
write selected Column
Definition at line 1060 of file Save.c.
References AllocFloatMat(), bil::ANALYSIS, spectrumheader::ccdex, spectrumheader::ccdwx, D_PrintHMod(), DeallocFloatMat(), bil::DPLOT, doas::FFTFilter, IDX, IDY, d_view::ImatOrig, analize::ImatSmooth, doas::lambda, SmoothData(), and bil::SPH.
Referenced by SaveSpectrum().
void WriteStatusD | ( | int | w | ) |
NOT Used
.
Definition at line 1331 of file RTC_Time.c.
int WritewlstepiniCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Write wlstep.ini file
.
Definition at line 2476 of file DAS_Spat_ConfCBs.c.
References _MAX_PATH, d_fileman::CONFIGDIREQUIPMENT, date::da_day, date::da_mon, date::da_year, bil::DFILEM, GetDateTime(), MMessageDialog(), time::ti_hour, time::ti_min, wav, and wl.
Referenced by CONFP_param_page2().
MOBJECT _shell000 |
Definition at line 3052 of file DAS_Spatram.h.
Referenced by MDCreate_2DPlot().
long AbsFilePos |
Absolute File position.
Definition at line 122 of file DAS_Spat.c.
Referenced by ViewNext(), and ViewNext_BIN().
adtester ADTESTER |
Definition at line 20 of file Chktemp.c.
Referenced by InitFlags().
int b_c |
Definition at line 3060 of file DAS_Spatram.h.
Referenced by ColorAssignCB(), ColorSaveCB(), DB_ChangeColorCellCB(), DB_Do2Undo_Colors(), DB_Undo2Do_Colors(), and MDCreateDASConfig().
MOBJECT b_label |
Definition at line 3058 of file DAS_Spatram.h.
Referenced by DB_ChangeColorCellCB(), and MDCreateDASConfig().
MOBJECT b_sbar |
Definition at line 3057 of file DAS_Spatram.h.
Referenced by ColObjCB(), ColorMapInputCB(), ColorPickCB(), DB_ColorPick(), and MDCreateDASConfig().
int BlindPix |
Number of blind pixels (usefull for Dark Current)
Definition at line 120 of file DAS_Spat.c.
Referenced by AutoR_No_Shutt(), AutoR_TestMeas(), AutoR_With_Shutt(), D_AssignLabelPlot(), D_Average(), D_Calibra(), D_pbr_CB(), DB_GetCCD(), DrawAreaPlotCB(), ReadHeader_ASCII(), ReadHeader_BIN(), and RemoveBlindPixels().
int bold |
Definition at line 88 of file DAS_Spat_Conf.c.
Referenced by DB_TestF(), and SetBoldCB().
int CCD_SetupFlg |
Definition at line 138 of file DAS_Spat.c.
Referenced by ApplyChCB(), CCDSetupCB(), and WriteParaminiCB().
MTColor cell_color |
Definition at line 3059 of file DAS_Spatram.h.
Referenced by CloseColPickCB(), ColorFreeCB(), DB_CellExposeCB(), DB_ChangeColorCellCB(), and MDCreateDASConfig().
MOBJECT cell_drawa |
Definition at line 3058 of file DAS_Spatram.h.
MOBJECT cell_form |
Definition at line 3057 of file DAS_Spatram.h.
MOBJECT cell_label |
Definition at line 3057 of file DAS_Spatram.h.
Referenced by TextColorAssignCB().
int CItem |
Definition at line 40 of file Load.c.
Referenced by DB_DefectPixCorr(), and E_CItm().
int ContFP |
Counter for File position.
Definition at line 123 of file DAS_Spat.c.
Referenced by CloseFile(), CloseFile_BIN(), ClosePlotCB(), D_PButt_CB(), MenuFileOLP_CB(), ViewNext(), ViewNext_BIN(), ViewPre(), and ViewPre_BIN().
unsigned long countsopsh |
counting the number of opening shutter
Definition at line 133 of file DAS_Spat.c.
Referenced by DB_GetCCD(), and ShutterOpening().
das DAS |
DAS structure.
Definition at line 26 of file Chktemp.c.
Referenced by DAS_Error(), DB_Save(), DE_StepMotor(), DT_ColFormat(), MDCreateSh_PWD(), and WriteColumn().
int DAS_StartDOY |
Definition at line 107 of file DAS_Spat.c.
Referenced by MGUIMain(), and SetWindowsReset().
int DAS_StartHour |
Definition at line 106 of file DAS_Spat.c.
Referenced by MGUIMain(), and SetWindowsReset().
unsigned int data[576] |
Conversion data buffer 64 samples * 8 channels * 2 bytes.
int DD_VOpen[16] |
Definition at line 151 of file Utils.c.
Referenced by D_VRangeSim(), SD_PosAADev(), SD_Position(), and SD_PosOMUDev().
int DD_VRip[16] |
Definition at line 150 of file Utils.c.
Referenced by D_VRangeSim().
char ddmmyy[8] |
Definition at line 38 of file RTC_Time.c.
Referenced by FormatData().
char ddmmyyf[6] |
Definition at line 39 of file RTC_Time.c.
Referenced by FormatDataFile().
const char* DeviceTypeInput[] |
const char array for the Device type <-> Input association
Definition at line 247 of file DAS_Spat.c.
Referenced by CONFP_opt_page6().
dfont DFONT |
dftp DFTP |
Definition at line 49 of file DAS_Spat_Conf.c.
d_geo DGEO |
geographical coordinates structure
Definition at line 92 of file CreateForms.c.
dlog DLOG |
Definition at line 52 of file DAS_Spat.c.
Referenced by WriteLogAMS(), and writelogmotor().
palette DPAL |
Definition at line 27 of file 2DPlot.c.
Referenced by AboutCB(), AMS_Error(), CCD_Error(), ComErrors(), DAS_Message(), DSCAD_Error(), Master_Error(), MDCreateFM_Shell(), MDCreatesh_vitesa(), and Message().
dpwd DPWD |
Danbo Passw.
Definition at line 79 of file CreateForms.c.
Referenced by ActPWDSysCB(), CloseConfigCB(), and MDCreateSh_PWD().
MOBJECT drawa |
Definition at line 3053 of file DAS_Spatram.h.
MTColor drawarea_bgc |
Definition at line 3062 of file DAS_Spatram.h.
Referenced by CloseColPickCB(), ColorMapInputCB(), and MDCreateDASConfig().
dsave |
MOBJECT e_fname |
Definition at line 3064 of file DAS_Spatram.h.
Referenced by DB_TestF(), and MDCreateDASConfig().
MOBJECT e_fsize |
Definition at line 3064 of file DAS_Spatram.h.
Referenced by DB_TestF(), and MDCreateDASConfig().
char env[_MAX_PATH] |
Definition at line 55 of file DAS_Spat.c.
Referenced by D_AutoExecution().
int FANFlg |
Definition at line 2970 of file DAS_Spatram.h.
Referenced by OMU_ChooseDir(), and ShutCB().
char* Fil_Code[] |
const char array for the realisation of the Filters buttons in the Filter shell
Definition at line 207 of file DAS_Spat.c.
Referenced by D_BuildH(), DB_Fil_CB(), HeaderInPlot(), MDCreateSh_Fil(), MDCreateSh_SimPos(), SD_FilterW(), SD_Position(), and SD_PosOMUDev().
char* Fil_Code8H[] |
const char array for the realisation of the Filters buttons in the Filter shell
Definition at line 204 of file DAS_Spat.c.
Referenced by D_BuildH(), DB_Fil_CB(), DB_NDFil_CB(), HeaderInPlot(), MDCreateSh_Fil(), MDCreateSh_NDFil(), MDCreateSh_SimPos(), SD_FilterW(), SD_NDFilterW(), SD_Position(), and SD_PosOMUDev().
char* Fil_CodeNG[] |
const char array for the realisation of the Filters buttons in the Filter shell for GASCODNG2 and NG3 instruments
Definition at line 216 of file DAS_Spat.c.
Referenced by D_BuildH(), DB_Fil_CB(), DB_NDFil_CB(), HeaderInPlot(), MDCreateSh_Fil(), MDCreateSh_NDFil(), MDCreateSh_SimPos(), SD_FilterW(), SD_NDFilterW(), SD_Position(), and SD_PosOMUDev().
char* Fil_CodeNG1[] |
const char array for the realisation of the Filters buttons in the Filter shell for GASCODNG1 instrument
Definition at line 213 of file DAS_Spat.c.
Referenced by D_BuildH(), DB_Fil_CB(), HeaderInPlot(), MDCreateSh_Fil(), MDCreateSh_SimPos(), SD_FilterW(), SD_Position(), and SD_PosOMUDev().
char* Fil_CodeTropo[] |
const char array for the realisation of the Filters buttons in the Filter shell for TROPOGAS instrument
Definition at line 210 of file DAS_Spat.c.
Referenced by D_BuildH(), DB_Fil_CB(), DB_NDFil_CB(), HeaderInPlot(), MDCreateSh_Fil(), MDCreateSh_NDFil(), MDCreateSh_SimPos(), SD_FilterW(), SD_NDFilterW(), SD_Position(), and SD_PosOMUDev().
int FilSet |
filter wheel position definition - for SD_FilterW
Definition at line 5992 of file CreateForms.c.
Referenced by DB_Fil_CB(), and DB_KeyB_CB().
flag FLAG |
flags structure
Definition at line 84 of file CreateForms.c.
Referenced by Calculate(), D_pbr_CB(), D_readtemp(), DB_AreaInput(), DB_XUnitsCB(), DrawAreaPlotCB(), InitCCD_AMS(), InitDefaultOptions(), InitFlags(), LaunchBackTask(), LoadDB_Options(), PBYScale_CB(), SaveSpectrum(), SZA_FirstCalc(), Task_AMSH(), Task_CCD_Temp(), Task_LIS_Temp(), Task_REFRESH_Temp(), and ViewPlot().
int FlgBG |
Definition at line 91 of file DAS_Spat_Conf.c.
Referenced by ColObjCB(), ColorAssignCB(), ColPickBackForeGCB(), DB_ColorAssign(), and DB_ColorPick().
int FlgFG |
Definition at line 92 of file DAS_Spat_Conf.c.
Referenced by ColObjCB(), ColorAssignCB(), ColPickBackForeGCB(), DB_ColorAssign(), and DB_ColorPick().
int FlgOBJ |
Definition at line 93 of file DAS_Spat_Conf.c.
Referenced by ColObjCB(), ColorAssignCB(), and FontOBJSelCB().
int FlgSM_Stop |
Steppers Motor Activity: 0 = Motors moving; 1 = Motors stopped.
Definition at line 140 of file DAS_Spat.c.
Referenced by AMS_DoPos(), Task_CCD_Temp(), and Task_LIS_Temp().
MTFont font |
Definition at line 3066 of file DAS_Spatram.h.
Referenced by CloseFontViewCB(), DB_TestF(), and DrawAreaExpFontCB().
MOBJECT frm3_dr1 |
Definition at line 3058 of file DAS_Spatram.h.
Referenced by ColorSaveCB(), DB_ChangeColorCellCB(), and MDCreateDASConfig().
FilterWheelSt FWS |
Filter Wheel.
Definition at line 57 of file DAS_Spat.c.
Referenced by DB_PushButtonMouse_CB(), DB_save_img(), ExecSimPosCB(), HeaderInPlot(), HomeFiltersFast(), HomeNDFiltersFast(), ListTargetCB(), MDCreateSh_Fil(), MDCreateSh_NDFil(), MDCreateSh_SimPos(), SD_FilterW(), SD_Position(), and SD_PosOMUDev().
int g_c |
Definition at line 3060 of file DAS_Spatram.h.
Referenced by ColorAssignCB(), ColorSaveCB(), DB_ChangeColorCellCB(), DB_Do2Undo_Colors(), DB_Undo2Do_Colors(), and MDCreateDASConfig().
MOBJECT g_label |
Definition at line 3058 of file DAS_Spatram.h.
Referenced by DB_ChangeColorCellCB(), and MDCreateDASConfig().
MOBJECT g_sbar |
Definition at line 3057 of file DAS_Spatram.h.
Referenced by ColObjCB(), ColorMapInputCB(), ColorPickCB(), DB_ColorPick(), and MDCreateDASConfig().
GratingSt GRS |
Grating.
Definition at line 82 of file CreateForms.c.
Referenced by HeaderInPlot(), and HomeGratingFast().
int HGFlg |
Definition at line 2968 of file DAS_Spatram.h.
Referenced by D_Average(), D_AverageTFix(), DB_KeyB_CB(), HgLamp(), ShutCB(), and WinRes().
char* HomePosition[] |
const char array for the realisation of the Filters buttons in the ND Filter shell
Definition at line 227 of file DAS_Spat.c.
Referenced by MDCreateSh_Home().
ids IDS |
ID tasks.
Definition at line 54 of file DAS_Spat.c.
Referenced by DB_ToolsKeyB_CB(), E_Home_SM1(), HomeTrack(), and Task_HomeGrat().
int IDX |
Number of sensible horizontal pixels.
Definition at line 118 of file DAS_Spat.c.
Referenced by AllocMat(), ApplyImgCB(), BuildLogRatio(), D_AssignLabelPlot(), D_Average(), D_AverageTFix(), D_Calibra(), D_pbr_CB(), D_PButt_CB(), D_PrintSpectrum(), DatOrBinFormat(), DB_CalcFluxI(), DB_Column(), DB_GetCCD(), DB_InitCamera(), DB_InitDil(), DB_save_img(), DrawAreaPlotCB(), DT_CorrFileEvora(), DT_CorrHeader(), FilterData(), GetDefPix(), ImatGrafInImat(), ImatInImatGraf(), LoadIo(), MaskCol(), MaskPix(), MaskRow(), MenuFileOLP_CB(), ReadHeader_ASCII(), ReadHeader_BIN(), RemoveBlindPixels(), RemoveSpikes(), SaveDataOffLine(), SaveIo(), ShiftImg(), SmoothData(), SmoothFloatData(), ViewNext(), ViewNext_BIN(), Visualizza(), WriteColumn(), WriteDataFile(), and WriteSelColandSmoothed().
int IDY |
Number of sensible vertical pixels.
Definition at line 119 of file DAS_Spat.c.
Referenced by AllocMat(), ApplyImgCB(), BuildLogRatio(), D_AssignLabelPlot(), D_Average(), D_AverageTFix(), D_Calibra(), D_pbr_CB(), D_PButt_CB(), D_PrintSpectrum(), DatOrBinFormat(), DB_CalcFluxI(), DB_Column(), DB_GetCCD(), DB_InitCamera(), DB_InitDil(), DB_save_img(), DrawAreaPlotCB(), DT_CorrFileEvora(), DT_CorrHeader(), GetDefPix(), ImatGrafInImat(), ImatInImatGraf(), LoadIo(), LoadTestPalette(), MenuFileOLP_CB(), PButtSelAll_CB(), ReadHeader_ASCII(), ReadHeader_BIN(), RemoveBlindPixels(), SaveDataOffLine(), SaveIo(), SaveSpectrum(), ViewNext(), ViewNext_BIN(), ViewPlot(), Visualizza(), WriteColumn(), WriteDataFile(), and WriteSelColandSmoothed().
unsigned short* ImatDark |
buffer for the dark image
Definition at line 3045 of file DAS_Spatram.h.
Referenced by DB_GetCCD(), and DB_InitCamera().
int italic |
Definition at line 89 of file DAS_Spat_Conf.c.
Referenced by DB_TestF(), and SetItalicCB().
const char* KeyCode[] |
Definition at line 164 of file DAS_Spat.c.
Referenced by Fetch(), and MDCreatesh_vitesa().
MTColor label_fgc |
Definition at line 3059 of file DAS_Spatram.h.
Referenced by TextColorAssignCB().
unsigned int LevelDefPix |
Definition at line 126 of file DAS_Spat.c.
Referenced by ActEditCB(), and GetDefPix().
char lfraz[6] |
Definition at line 94 of file DAS_Spat_Conf.c.
Referenced by CONFP_AMS_TabSingMotor(), and listval2fraz().
int MainCommand |
Command switch in main loop.
Definition at line 105 of file DAS_Spat.c.
Referenced by D_AutoExecution().
int MaskedCol[100][6] |
Masked column array.
Definition at line 38 of file Load.c.
Referenced by DB_DefectPixCorr(), and E_CItm().
int MaskedPix[100][6] |
Masked pixel's array.
Definition at line 37 of file Load.c.
Referenced by DB_DefectPixCorr(), and E_PItm().
int MaskedRow[100][6] |
Masked rows array.
Definition at line 39 of file Load.c.
Referenced by DB_DefectPixCorr(), and E_RItm().
int Master |
Definition at line 100 of file DAS_Spat.c.
Referenced by ChkExeMode(), D_AutoExecution(), ManualModeCB(), SZA_FirstCalc(), Task_LIS_Temp(), and ViewPlot().
unsigned int* mattempbuff |
Definition at line 3009 of file DAS_Spatram.h.
mige Mige |
const char* Mir_Code[] |
const char array for the realisation of the Mirrors buttons in the Mirror shell
Definition at line 231 of file DAS_Spat.c.
Referenced by CONFP_AMS_SM_OFFSET(), CONFP_opt_page6(), D_BuildH(), DB_Mir_CB(), DemoInitMotor(), HeaderInPlot(), HomeMirror(), MDCreateSh_Mir(), MDCreateSh_SimPos(), SD_Mirror(), SD_Position(), and SD_PosOMUDev().
const char* Mir_CodeTropo[] |
const char array for the realisation of the Mirrors buttons in the Mirror shell for TROPOGAS
Definition at line 234 of file DAS_Spat.c.
Referenced by CONFP_AMS_SM_OFFSET(), CONFP_opt_page6(), D_BuildH(), DB_Mir_CB(), DemoInitMotor(), HeaderInPlot(), HomeMirror(), MDCreateSh_Mir(), MDCreateSh_SimPos(), SD_Mirror(), SD_Position(), and SD_PosOMUDev().
int MirSet |
mirror position definition - for SD_Mirror
Definition at line 5612 of file CreateForms.c.
Referenced by DB_KeyB_CB(), and DB_Mir_CB().
MirrorSt MIS |
Mirror.
Definition at line 61 of file DAS_Spat.c.
Referenced by DB_PushButtonMouse(), DB_PushButtonMouse_CB(), DB_save_img(), ExecSimPosCB(), HeaderInPlot(), HomeMirror(), ListTargetCB(), MDCreateSh_Mir(), MDCreateSh_SimPos(), SD_Mirror(), SD_Position(), and SD_PosOMUDev().
mtcl MTCL |
MTColor.
Definition at line 30 of file 2DPlot.c.
Referenced by D_DoLens(), D_pbr_CB(), D_PlotGrid(), D_PlotOneLine(), DrawAreaPlotCB(), DrawImg(), LoadIo(), LoadTestPalette(), LoadTruePalette(), MD_CreateBRowShell(), PlotSpectrum(), and ViewPlot().
int N_AVG |
Number of measurements for Averaging mode in fixed number of meas. mode.
Definition at line 113 of file DAS_Spat.c.
Referenced by ActEditCB(), CONFP_opt_page1(), D_Average(), D_BuildH(), DB_RadioAvgModeCB(), HeaderInPlot(), LoadDB_Options(), and WriteOptioniniCB().
int N_RM |
Number of measurements for Averaging mode in fixed exposure time mode.
Definition at line 114 of file DAS_Spat.c.
Referenced by D_Average(), D_BuildH(), and HeaderInPlot().
char* NDFil_Code[] |
const char array for the realisation of the Filters buttons in the ND Filter shell
Definition at line 219 of file DAS_Spat.c.
Referenced by D_AssignLabelPlot(), DB_NDFil_CB(), HeaderInPlot(), MDCreateSh_NDFil(), and SD_NDFilterW().
int NDFilSet |
ND filter wheel position definition - for SD_NDFilterW.
Definition at line 6231 of file CreateForms.c.
Referenced by DB_KeyB_CB(), and DB_NDFil_CB().
NDFilterWheelSt NDFWS |
ND Filter Wheel.
Definition at line 58 of file DAS_Spat.c.
Referenced by DB_PushButtonMouse_CB(), MDCreateSh_NDFil(), and SD_NDFilterW().
nova NOVA |
Definition at line 77 of file DAS_Spat.c.
int on |
PRG execution control variabile.
Definition at line 109 of file DAS_Spat.c.
Referenced by D_AutoExecution(), DB_SelButt_CB(), DB_ToolsKeyB_CB(), and SZA_FirstCalc().
int ON_OFFLINEPLOT |
Definition at line 117 of file DAS_Spat.c.
Referenced by ActEditCB(), BuildLogRatio(), DB_DisplayCB(), DB_EqTypePlotCB(), DB_FilterCB(), DB_SpikesCB(), DB_XUnitsCB(), DrawAreaPlotCB(), PBYScale_CB(), ViewNext(), ViewNext_BIN(), ViewPlot(), and Visualizza().
int PaletteMode |
Definition at line 158 of file DAS_Spat.c.
Referenced by ColorSaveCB(), DB_CellExposeCB(), DB_ChangeColorCellCB(), and InitColors().
paramini PARAM |
Param.ini.
Definition at line 90 of file CreateForms.c.
int PeltFlg |
Definition at line 2971 of file DAS_Spatram.h.
Referenced by OMU_AssignPow(), OMU_ChooseDir(), and ShutCB().
int PItem |
Definition at line 40 of file Load.c.
Referenced by DB_DefectPixCorr(), and E_PItm().
MTColor* PLColor[] |
Definition at line 251 of file DAS_Spat.c.
long PrgCnt |
For PRG File.
For PRG File.
Definition at line 93 of file DAS_Spat.c.
Referenced by D_Measure(), E_AAMeasure(), E_AAPos(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_Azimuth(), E_DFMeasure(), E_DirectSun(), E_Expo(), E_Filter(), E_IRefSun(), E_Label(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), E_Mirror(), E_NDFilter(), E_Radio(), E_REM(), E_SetCCDOffSet(), E_SetCCDPow(), E_SetCCDTemp(), E_SetCCDVBin(), E_WAIT(), E_Zenith(), Fetch(), FTP_Back_UP(), LoadExec(), PRG_Check(), and PRG_ChkMeasAvg().
int PrgNum |
Definition at line 96 of file DAS_Spat.c.
Referenced by SZA_FirstCalc().
int PrgNumExe |
number of PRG file in execution
Definition at line 98 of file DAS_Spat.c.
Referenced by ChkMaster(), and D_AutoExecution().
int PrgNumInM |
Actual number of PRG File in current MASTER or MASTERSZA File.
Definition at line 97 of file DAS_Spat.c.
Referenced by ChkMaster(), D_AutoExecution(), and ExMaster().
long PrgSiz |
Length of PRG file (bytes)
Length of PRG file (bytes)
Definition at line 94 of file DAS_Spat.c.
Referenced by LoadExec(), and PRG_Check().
char* Program |
pointer to PRG file
pointer to PRG file
Definition at line 90 of file DAS_Spat.c.
Referenced by D_Measure(), E_AAMeasure(), E_AAPos(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_Azimuth(), E_DFMeasure(), E_DirectSun(), E_Expo(), E_Filter(), E_IRefSun(), E_Label(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), E_Mirror(), E_NDFilter(), E_Radio(), E_REM(), E_SetCCDOffSet(), E_SetCCDPow(), E_SetCCDTemp(), E_SetCCDVBin(), E_WAIT(), E_Zenith(), Fetch(), LoadExec(), PRG_Check(), and PRG_ChkMeasAvg().
int QJFlg |
Definition at line 2969 of file DAS_Spatram.h.
Referenced by D_Average(), D_AverageTFix(), DB_KeyB_CB(), QjLamp(), ShutCB(), and WinRes().
int r_c |
Definition at line 3060 of file DAS_Spatram.h.
Referenced by ColorAssignCB(), ColorSaveCB(), DB_ChangeColorCellCB(), DB_Do2Undo_Colors(), DB_Undo2Do_Colors(), and MDCreateDASConfig().
MOBJECT r_label |
Definition at line 3058 of file DAS_Spatram.h.
Referenced by DB_ChangeColorCellCB(), and MDCreateDASConfig().
MOBJECT r_sbar |
Definition at line 3057 of file DAS_Spatram.h.
Referenced by ColObjCB(), ColorMapInputCB(), ColorPickCB(), DB_ColorPick(), and MDCreateDASConfig().
long REL_FILE_POS[51] |
relative File position
Definition at line 124 of file DAS_Spat.c.
Referenced by D_PButt_CB(), MenuFileOLP_CB(), ViewNext(), ViewNext_BIN(), and Visualizza().
int RItem |
number of Pixel, Column, Row Item
Definition at line 40 of file Load.c.
Referenced by DB_DefectPixCorr(), and E_RItm().
int SaveCnt |
Definition at line 49 of file Procedures.c.
Referenced by D_Saving(), DB_HorComm_CB(), DB_KeyB_CB(), E_QjScan(), and ExMaster().
int sel_cell |
Definition at line 3060 of file DAS_Spatram.h.
Referenced by ColorFreeCB(), and ColorMapInputCB().
int sel_x |
Definition at line 3060 of file DAS_Spatram.h.
Referenced by ColorMapExposeCB(), ColorMapInputCB(), and ColorMapResizeCB().
int sel_y |
Definition at line 3060 of file DAS_Spatram.h.
Referenced by ColorMapExposeCB(), ColorMapInputCB(), and ColorMapResizeCB().
int Server |
Definition at line 253 of file DAS_Spat.c.
Referenced by ApplyImgCB(), AutoR_No_Shutt(), AutoR_TestMeas(), AutoR_With_Shutt(), CloseFile(), CloseFile_BIN(), D_Average(), D_AverageTFix(), D_BuildH(), D_Calibra(), D_XProfile(), D_YProfile(), DB_GetCCD(), DB_InitCamera(), DB_InitDil(), DB_Save(), DrawAreaPlotCB(), E_Dark(), GetDefPix(), HeaderInPlot(), ImatGrafInImat(), ImatInImatGraf(), MaskCol(), MaskPix(), MaskRow(), RemoveBlindPixels(), ViewNext(), ViewNext_BIN(), and Visualizza().
stepm STEPM |
Stepper Motors.
Definition at line 50 of file DAS_Spat.c.
dsza SZADelta |
Definition at line 76 of file DAS_Spat.c.
Referenced by CONFP_param_page4(), DB_Pause(), edtDSZA_CB(), edtSZA_CB(), LoadDB_Options(), Task_CCD_Temp(), and WriteOptioniniCB().
int SZAMax |
Maximum SZA for performing measurements.
Definition at line 116 of file DAS_Spat.c.
Referenced by ActEditCB(), CONFP_opt_page3(), LoadDB_Options(), SZA_FirstCalc(), Task_Timer(), and WriteOptioniniCB().
double TExp |
CCD Exposure time [sec].
CCD Exposure time [sec].
Definition at line 130 of file DAS_Spat.c.
Referenced by AutoR_No_Shutt(), AutoR_TestMeas(), AutoR_With_Shutt(), AutoRange(), D_Average(), D_AverageTFix(), D_BuildH(), D_Measure(), DB_AskCB(), DB_CloseAsk(), DB_GetCCD(), DB_HorComm_CB(), DB_KeyB_CB(), DB_save_img(), E_ChkExLamp(), E_Dark(), GetDefPix(), HeaderInPlot(), and PerformMeas().
int TMFlg |
Definition at line 2972 of file DAS_Spatram.h.
Referenced by D_BuildH(), DB_KeyB_CB(), and SD_FNTorqueM().
tools TOOLS |
tools structure
Definition at line 81 of file CreateForms.c.
Referenced by D_pbr_CB(), D_PlotTools(), DB_Column(), DB_DisplayCB(), DB_FilterCB(), DB_FilterColumnCB(), DB_SpikesCB(), DrawAreaPlotCB(), and MDCreateColFor_Sh().
int Total |
Progressive acquisition number for file (MAX defined = 50)
Definition at line 34 of file Exec.c.
Referenced by D_Saving(), and SaveCalib().
int TOTTEXP |
Total Exposure time in Averaging mode.
Definition at line 115 of file DAS_Spat.c.
Referenced by ActEditCB(), CONFP_opt_page1(), D_Average(), DB_RadioAvgModeCB(), LoadDB_Options(), and WriteOptioniniCB().
double TPelt |
CCD Temperature.
undopal UDPAL |
Definition at line 34 of file DAS_Spat_Conf.c.
long wav[] |
Step Number definition - for SD_Grating.
Definition at line 195 of file DAS_Spat.c.
Referenced by CONFP_param_page2(), LoadWlstep(), SD_Grating(), SD_Position(), SD_PosOMUDev(), valstedt(), and WritewlstepiniCB().
int wl[] |
WaveLength definition - for SD_Grating.
Definition at line 182 of file DAS_Spat.c.
Referenced by AutoR_SetND_Filter(), CalcSpectrumLimits(), CONFP_param_page2(), D_BuildH(), D_Calibra(), DB_save_img(), E_AAMeasure(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_DFMeasure(), E_DirectSun(), E_IRefSun(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), HeaderInPlot(), LoadWlstep(), Lookfor4358(), LookforWl_X(), MDCreateDOAS_SetupSh(), MDCreateSh_Home(), MDCreateSh_SimPos(), MDCreateSh_Wl(), PRG_ChkMeasAvg(), SD_Grating(), SD_Position(), SD_PosOMUDev(), valwledt(), wledtCB(), and WritewlstepiniCB().
const char* Wl_Code[] |
const char array for the realisation of the wavelength buttons in the wavelength shell
int WlSet |
Wavelength position definition - for SD_Grating.
Definition at line 135 of file DAS_Spat.c.
Referenced by DB_KeyB_CB(), DB_SheelESC(), and DB_Wl_CB().