|
DAS
3.1.6 - 18/09/2017
|
DAS configuration procedures. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <windows.h>#include <direct.h>#include <math.h>#include "mgui.h"#include "DAS_Spatram.h"#include "dcl.h"#include "dil.h"#include "bil.h"#include "wsc.h"#include "dxl.h"#include "dscud.h"#include "DOAS.h"
Include dependency graph for DAS_Spat_ConfCBs.c:Go to the source code of this file.
Functions | |
| 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 | ADTesterCB (MOBJECT shell, void *od, void *ad) |
| Test Temperature AD Converter callback. 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... | |
| void | CCDSetupCB (MOBJECT shell, void *od, void *ad) |
| CCD setup Callback. Execute DCS.exe (DTA Camera Select) More... | |
| 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... | |
| 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 | ColorPickCB (MOBJECT o, void *o_data, void *a_data) |
| 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 | ConfigCB (MOBJECT p, void *od, void *ad) |
| DAS Configuration shell creation callback. More... | |
| void | D_UndoCB (MOBJECT o, void *a, void *v) |
| Undo the previous color setting operation. 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... | |
| 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_ColorAssign (MOBJECT a[], int numel, short tc[]) |
| Assign to the selected object the chosen color. More... | |
| void | DB_ColorPick (MOBJECT o) |
| 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_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... | |
| void | DB_ImgTypeCB (MOBJECT o, void *id, void *a_data) |
| Set the Image type. 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_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_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... | |
| 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... | |
| void | DB_TestF (void) |
| 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 | DrawAreaExpFontCB (MOBJECT obj, MEvent *pe, void *data) |
| This callback draws strings using the selected font. More... | |
| char * | EquipCode2Name (int eqcode, char *src, char *dest) |
| translate the Equipment Code in the Equipment Name More... | |
| void | FontOBJSelCB (MOBJECT obj, void *a, void *v) |
| This callback select the object for applying font. More... | |
| int | fraz2val (int mod, char *val) |
| ratio value to decimal value opposite than listval2fraz or val2fraz More... | |
| int | GetDefPix (int mod) |
| Maps the defective pixel. More... | |
| int | hertz2int (int mod, char *string) |
| translate the Hertz speed in AMS digit unit. 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 | 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... | |
| void | LoadFontCB (MOBJECT obj, void *a, void *data) |
| This callback tries to load the specified font. More... | |
| int | LoadPaletteCB (MOBJECT o, void *o_data, void *a_data) |
| Callback for LoadTestPalette. More... | |
| 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 | 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... | |
| 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... | |
| 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 | print2file (FILE *ff, int x, int y, unsigned int m) |
| Print to file the defective pixel. More... | |
| void | ScreenInfoCB (MOBJECT o, void *s, void *v) |
| 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... | |
| 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 | 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... | |
| 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... | |
| 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... | |
| int | WritewlstepiniCB (MOBJECT shell, void *od, void *ad) |
| Write wlstep.ini file . More... | |
Variables | |
| adtester | ADTESTER |
| bil | BIL |
| ccd | cc |
| config | Cfg |
| MOBJECT | CP_Sh |
| das | DAS |
| ccd | DC_CCD |
| ptf | DC_HP |
| dftp | DFTP |
| dil | DIL |
| doas | DOAS |
| palette | DPAL |
| DSCCB | dsccb |
| DXL_par | DXL |
| flag | FLAG |
| ids | IDS |
| ID tasks. More... | |
| listf | LISTF |
| mtcl | MTCL |
| MTColor. More... | |
| omuthr | OMUTHR |
| paramini | PARAM |
| unsigned char | Port = 0 |
| undopal | UDPAL |
| int | undofont = 15 |
DAS configuration procedures.
Definition in file DAS_Spat_ConfCBs.c.
| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
Here is the call graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function: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.
Here is the call graph for this function:| 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 ColorPickCB | ( | MOBJECT | o, |
| void * | o_data, | ||
| void * | a_data | ||
| ) |
Definition at line 386 of file DAS_Spat_ConfCBs.c.
References b_sbar, g_sbar, MObjectBackgroundColor(), MQueryColor(), MScrollBarSetPos(), p, and r_sbar.
Here is the call graph for this function:| 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.
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:display selected Color
Definition at line 788 of file DAS_Spat_ConfCBs.c.
References cell_color, MDrawFilledBox(), MObjectGetHeight(), MObjectGetWidth(), and PaletteMode.
Referenced by MDCreateDASConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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_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().
Here is the call graph for this function:
Here is the caller graph for this function:This callback assign font to the selected object.
Definition at line 1374 of file DAS_Spat_ConfCBs.c.
References MObjectSetFont(), and True.
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| void DB_TestF | ( | void | ) |
Definition at line 1425 of file DAS_Spat_ConfCBs.c.
References bold, gui::ConfigPanel, e_fname, e_fsize, FIXED_MEDIUM, font, configpanel::frm4_dr1, das::Gui, italic, MBeep(), MLoadFont(), MObjectGetText(), MObjectRedraw(), MUnloadFont(), and newfont.
Referenced by SetBoldCB(), SetItalicCB(), and TestFontCB().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| double int2hertz | ( | int | mod, |
| int | k | ||
| ) |
Definition at line 2213 of file DAS_Spat_ConfCBs.c.
Referenced by AssignParam(), and CONFP_AMS_TabSingMotor().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:This callback toggles the Bold attribute.
Definition at line 1455 of file DAS_Spat_ConfCBs.c.
References bold, and DB_TestF().
Referenced by MDCreateDASConfig().
Here is the call graph for this function:
Here is the caller graph for this function:This callback toggles the Italic attribute.
Definition at line 1464 of file DAS_Spat_ConfCBs.c.
References DB_TestF(), and italic.
Referenced by MDCreateDASConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 744 of file DAS_Spat_ConfCBs.c.
References mtcl::black, cell_label, label_fgc, MObjectBackgroundColor(), MObjectSetColor(), and mtcl::white.
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| adtester ADTESTER |
Definition at line 42 of file DAS_Spat_ConfCBs.c.
| bil BIL |
Definition at line 49 of file DAS_Spat_ConfCBs.c.
| ccd cc |
Definition at line 26 of file DAS_Spat_ConfCBs.c.
| config Cfg |
Definition at line 37 of file DAS_Spat_ConfCBs.c.
| MOBJECT CP_Sh |
Definition at line 85 of file CreateForms.c.
Referenced by DB_ColorAssign(), and MDCreate_CP().
| das DAS |
Definition at line 50 of file DAS_Spat_ConfCBs.c.
| ccd DC_CCD |
Definition at line 35 of file DAS_Spat_ConfCBs.c.
| ptf DC_HP |
Definition at line 36 of file DAS_Spat_ConfCBs.c.
| dftp DFTP |
Definition at line 45 of file DAS_Spat_ConfCBs.c.
| dil DIL |
Definition at line 43 of file DAS_Spat_ConfCBs.c.
| doas DOAS |
Definition at line 47 of file DAS_Spat_ConfCBs.c.
| palette DPAL |
Definition at line 33 of file DAS_Spat_ConfCBs.c.
| DSCCB dsccb |
Definition at line 39 of file DAS_Spat_ConfCBs.c.
| DXL_par DXL |
Definition at line 27 of file DAS_Spat_ConfCBs.c.
| flag FLAG |
Definition at line 38 of file DAS_Spat_ConfCBs.c.
| ids IDS |
ID tasks.
Definition at line 41 of file DAS_Spat_ConfCBs.c.
| listf LISTF |
Definition at line 32 of file DAS_Spat_ConfCBs.c.
| mtcl MTCL |
MTColor.
Definition at line 44 of file DAS_Spat_ConfCBs.c.
| omuthr OMUTHR |
Definition at line 52 of file DAS_Spat_ConfCBs.c.
| paramini PARAM |
Definition at line 30 of file DAS_Spat_ConfCBs.c.
| unsigned char Port = 0 |
Definition at line 3730 of file DAS_Spat_ConfCBs.c.
Referenced by CameraObject::UsedPort().
| undopal UDPAL |
Definition at line 28 of file DAS_Spat_ConfCBs.c.
| int undofont = 15 |
Definition at line 1499 of file DAS_Spat_ConfCBs.c.
Referenced by DB_Undo2Do_Fonts().
