105 fs = fopen(buff,
"w");
109 fprintf(fs,
"%s\n",
"###########################################");
110 fprintf(fs,
"%s\n",
"# DAS Default Color #");
111 fprintf(fs,
"%s\n",
"# by DanBo #");
112 fprintf(fs,
"%s\n",
"###########################################");
113 fprintf(fs,
"%s\n",
"# All these values can be modified, but #");
114 fprintf(fs,
"%s\n",
"# DO NOT Exchange the order #");
115 fprintf(fs,
"%s\n",
"###########################################");
118 fprintf(fs,
"%s\n",
"# Selected Buttons BG #");
121 fprintf(fs,
"%s\n",
"# Unselected Buttons BG #");
124 fprintf(fs,
"%s\n",
"# UnSelected Buttons FG #");
127 fprintf(fs,
"%s\n",
"# Forms and shell Background #");
130 fprintf(fs,
"%s\n",
"# ACTIVE Labels Background #");
133 fprintf(fs,
"%s\n",
"# ACTIVE Labels Foreground #");
136 fprintf(fs,
"%s\n",
"# PASSIVE Labels Background #");
139 fprintf(fs,
"%s\n",
"# PASSIVE Labels Foreground #");
142 fprintf(fs,
"%s\n",
"# Capital Letters Labels Color UP BG #");
145 fprintf(fs,
"%s\n",
"# Capital Letters Labels Color UP FG #");
148 fprintf(fs,
"%s\n",
"# Radio Button BG #");
151 fprintf(fs,
"%s\n",
"# Radio Button FG #");
154 fprintf(fs,
"%s\n",
"###########################################");
159 sprintf(str,
"The colors have been saved in 'CONFIG\\DASSysColor.INI' file");
192 for (i = 0; i < 3;i++)
194 undocol[i] = docol[i];
208 for (i=0; i < numel; i++)
465 if(!
MMessageDialog(
"DAS information",
"Not Available in this Execution mode",
" Ok ", NULL))
489 if(!
MMessageDialog(
"DAS information",
"Not Available in this Execution mode",
" Ok ", NULL))
547 switch ((
int) a_data)
551 sprintf(str,
"%03d",
r_c);
556 sprintf(str,
"%03d",
g_c);
561 sprintf(str,
"%03d",
b_c);
582 for (i = 0; i < 3;i++)
584 undocol[i] = docol[i];
599 char fname[128], dirname[128];
605 memset (&fbp, 0,
sizeof (fbp));
619 er =
MFileBrowseExt (
"Select File for Plotting",
"*.MAP", fname, dirname, &fbp);
805 int n, hsize, wsize, i, j;
810 for (i = 0; i < n; i++)
811 for (j = 0; j < n; j++)
812 MDrawFilledBox(obj, wsize * j + 1, hsize * i + 1, wsize - 2, hsize - 2, i * n + j);
818 int n, new_hsize, new_wsize, old_hsize, old_wsize;
821 old_wsize = pref->
old_w / n;
822 old_hsize = pref->
old_h / n;
823 new_wsize = pref->
new_w / n;
824 new_hsize = pref->
new_h / n;
827 pref->
new_w = new_wsize * n;
828 pref->
new_h = new_hsize * n;
834 int r, g, b, old_x, old_y;
890 sprintf(buff,
"Width: %d\nHeight: %d\nColors: %ld\nPlanes: %d",
906 int c = (int) a_data;
913 sprintf(buf,
"%d",
N_AVG);
933 int c = (int) a_data;
957 int c = (int) a_data;
974 int c = (int) a_data;
1317 int c = (int) a_data;
1339 int c = (int) a_data;
1377 for (i=0; i < numel; i++)
1418 MMessageDialog(
"DAS information",
"The procedure is not yet implemented!!",
" Ok ", NULL);
1429 char family[32], buff[8];
1619 "AaBbCcDdEeFfGgHhIiJjKkLl",
1623 "MmOoPpQqRrSsTtUuVvWwXxYyZz",
1863 MMessageDialog(
"DAS information",
"Value Outside Limits" ,
"OK", NULL);
1902 OMUTHR.
PCPower = (int) (strtod( text, &text ) * 10);
2000 TOTTEXP = (int) strtol( text, &text, 10 );
2003 N_AVG = (int) strtol( text, &text, 10 );
2008 SZAMax = (int) strtol( text, &text, 10 );
2029 DOAS.
FFTFilter = (int) strtol( text, &text, 10 );
2035 DOAS.
FFTFilter = (int) strtol( text, &text, 10 );
2046 sprintf(DFTP.
ftpuser,
"%s", text);
2051 sprintf(DFTP.
ftppwd,
"%s", text);
2090 OMUTHR.
PID_kp = (float)strtod( text, &text);
2094 OMUTHR.
PID_ki = (float)strtod( text, &text);
2098 OMUTHR.
PID_kd = (float)strtod( text, &text);
2126 sprintf(buf,
"Marconi %d %d x %d Image",DC_CCD.
kind ,
IDX,
IDY);
2170 for (i=0; i<16; i++)
2195 c = (int) (atof(
string) * 76.0 / 100.0);
2206 c = (1.0 - (76.0 - (double) k ) / 76.0) * 100.0;
2217 c = (125 * ((double) k + 1.0)) / 1000 ;
2230 c = (int) (((atof(
string)*1000) - 125.0) / 125.0) ;
2246 sprintf(
lfraz,
" 1/2");
2251 sprintf(
lfraz,
" 1/4");
2257 sprintf(
lfraz,
" 1/5");
2263 sprintf(
lfraz,
" 1/8");
2269 sprintf(
lfraz,
" 1/10");
2275 sprintf(
lfraz,
" 1/16");
2281 sprintf(
lfraz,
" 1/25");
2287 sprintf(
lfraz,
" 1/32");
2293 sprintf(
lfraz,
" 1/50");
2300 sprintf(
lfraz,
" 1/64");
2305 sprintf(
lfraz,
"1/125");
2311 sprintf(
lfraz,
"1/128");
2317 sprintf(
lfraz,
"1/250");
2323 sprintf(
lfraz,
"1/256");
2343 sprintf(xx,
" 1/2");
2348 sprintf(xx,
" 1/4");
2354 sprintf(xx,
" 1/5");
2360 sprintf(xx,
" 1/8");
2366 sprintf(xx,
" 1/10");
2372 sprintf(xx,
" 1/16");
2378 sprintf(xx,
" 1/25");
2384 sprintf(xx,
" 1/32");
2390 sprintf(xx,
" 1/50");
2397 sprintf(xx,
" 1/64");
2402 sprintf(xx,
"1/125");
2408 sprintf(xx,
"1/128");
2414 sprintf(xx,
"1/250");
2420 sprintf(xx,
"1/256");
2428 for(c = 0; c < (int) strlen(xx); c++)
2440 if(strcmp( val,
" 1/2") == 0)
2442 if(strcmp( val,
" 1/4") == 0)
2444 if(strcmp( val,
" 1/5") == 0)
2446 if(strcmp( val,
" 1/8") == 0)
2448 if(strcmp( val,
" 1/10") == 0)
2450 if(strcmp( val,
" 1/16") == 0)
2452 if(strcmp( val,
" 1/25") == 0)
2454 if(strcmp( val,
" 1/32") == 0)
2456 if(strcmp( val,
" 1/50") == 0)
2458 if(strcmp( val,
" 1/64") == 0)
2460 if(strcmp( val,
"1/125") == 0)
2462 if(strcmp( val,
"1/128") == 0)
2464 if(strcmp( val,
"1/250") == 0)
2466 if(strcmp( val,
"1/256") == 0)
2495 fc = fopen(buff,
"w");
2500 MMessageDialog(
"DAS information",
"Problems in opening file",
" Ok ", NULL);
2507 sprintf(str,
"####################################################\n");
2509 sprintf(str,
"# WLSTEP.INI #\n");
2511 sprintf(str,
"# Wavelengths <--> Steps #\n");
2513 sprintf(str,
"####################################################\n");
2515 sprintf(str,
"# ------------------------------------------------ #\n");
2519 sprintf(str,
"# ------------------------------------------------ #\n");
2521 sprintf(str,
"%d\n", nitem);
2523 for (i=0;i<nitem;i++)
2525 sprintf(str,
"%d %d\n",
wl[i],
wav[i]);
2532 sprintf(str,
"The current setting for Wavelength and stepper steps \n has been saved in '%s' file", buff);
2553 fs = fopen(buff,
"w");
2564 MMessageDialog(
"DAS information",
"Problems in opening file",
" Ok ", NULL);
2568 sprintf(str,
"####################################################\n");
2570 sprintf(str,
"# Configuration file for OPTIONS Setting. #\n");
2574 sprintf(str,
"####################################################\n");
2576 sprintf(str,
"# All these flags can be modified on line #\n");
2578 sprintf(str,
"# in the CONFIG --> OPTION tabs #\n");
2580 sprintf(str,
"#--------------------------------------------------#\n");
2582 sprintf(str,
"# Please DO NOT change the order of the parameters #\n");
2584 sprintf(str,
"#--------------------------------------------------#\n");
2586 sprintf(str,
"# Saving Mode: 0 = ASCII, 1 = Binary #\n");
2590 sprintf(str,
"# File Names:0 = free, 1 = automatic file names #\n");
2594 sprintf(str,
"# Image Type:0=Mono, 1 = RGB #\n");
2599 sprintf(str,
"# CCD Pix Correction: 0=NOT Corrected, 1=Corrected #\n");
2604 sprintf(str,
"# File Name for CCD Pix Correction #\n");
2609 sprintf(str,
"# Measuring Mode:0 = Single, 1 = Averaged #\n");
2614 sprintf(str,
"# Averaging Mode:0 = fixed number, 1 = fixed time #\n");
2619 sprintf(str,
"# Avg Mode fixed Number of measurements #\n");
2621 sprintf(str,
"%d\n",
N_AVG);
2624 sprintf(str,
"# Avg Mode fixed Time Exposure [sec] #\n");
2626 sprintf(str,
"%d\n",
TOTTEXP);
2628 sprintf(str,
"# Remove Dark?: 0 = No, 1 = Yes #\n");
2632 sprintf(str,
"# Dark source: 0 = Blind Pixels, 1 = Full Frame #\n");
2636 sprintf(str,
"# CCD Temp: 0 = Fixed, 1 = variation vs SZA #\n");
2642 sprintf(str,
"# Plot X Scale: 0 = Pixel #, 1 = Wl[A], 2 = wl[nm] #\n");
2644 sprintf(str,
"%d\n", FLAG.
Wl);
2646 sprintf(str,
"# Plot display: 0 = NO, 1 = Yes #\n");
2650 sprintf(str,
"# Plot Y Scale: 0 = FullRange(0-65535), 1 = min/max#\n");
2654 sprintf(str,
"# Measurements performed for SZA <= SZAMax #\n");
2656 sprintf(str,
"%d\n",
SZAMax);
2660 sprintf(str,
"# Hidden Lines in Plot-Before and after Cent. line #\n");
2667 sprintf(str,
"# Display Blind Pixel: 0 = NO, 1 = Yes #\n");
2673 sprintf(str,
"# Perform FTP Back-UP: 0 = NO, 1 = Yes #\n");
2679 sprintf(str,
"# Reference temperature for OMU Thermo-Regulation: #\n");
2681 sprintf(str,
"# 0 = AVG Internal Peltier; 1 = Optic; 2 = Grating #\n");
2687 sprintf(str,
"# OMU Thermo-Regulation mode: #\n");
2689 sprintf(str,
"# 0 = Cold Only; 1 = Heat only; 2 = Cold/Heat #\n");
2691 sprintf(str,
"%d\n", OMUTHR.
TRType);
2694 sprintf(str,
"# Mirroring CCD Image along X #\n");
2696 sprintf(str,
"# 0 = NO Mirroring; 1 = Mirror image #\n");
2701 sprintf(str,
"# Mirroring CCD Image along Y #\n");
2703 sprintf(str,
"# 0 = NO Mirroring; 1 = Mirror image #\n");
2708 sprintf(str,
"# AMS Option - Stepper motor Positioning mode #\n");
2710 sprintf(str,
"# 0 = Sequential; 1 = Simultaneous #\n");
2715 sprintf(str,
"# AMS Option - Progressive bar #\n");
2717 sprintf(str,
"# 0 = DO NOT show ; 1 = Show #\n");
2723 sprintf(str,
"# Autorange before Average #\n");
2725 sprintf(str,
"# 0 = NO Autoranging, 1 = Autoranging #\n");
2730 sprintf(str,
"# MIGE Platform connection #\n");
2732 sprintf(str,
"# 0 = NOT Connected, 1 = Connected #\n");
2737 sprintf(str,
"# MIGE Platform Type #\n");
2739 sprintf(str,
"# 0 = AltAz V 0.5, 1 = MIGE V. 3 #\n");
2741 sprintf(str,
"%d\n", DAS.
MIGE.
type);
2745 sprintf(str,
"# MIGE Platform operating mode #\n");
2747 sprintf(str,
"# 0 = Sun Track, 1 = AntiSunTrack, 2 = FreePos #\n");
2752 sprintf(str,
"# EMShutter #\n");
2754 sprintf(str,
"# 0 = NOT installed, 1 = Installed #\n");
2759 sprintf(str,
"# Shutter Type #\n");
2761 sprintf(str,
"# 0 = VS25, 1 = ROTSHUT, 2 = TORQUEM #\n");
2768 sprintf(str,
"# Measurements driven by SZA #\n");
2770 sprintf(str,
"# Format: a, b, c, d where: #\n");
2772 sprintf(str,
"# a = Flag; 0 = NOT Active, 1 = Active #\n");
2774 sprintf(str,
"# b = DeltaSZA, value of Delta SZA (x.x deg) #\n");
2776 sprintf(str,
"# c = MinSZA, value of Min SZA (xx deg) #\n");
2778 sprintf(str,
"# d = MaxSZA, value of Max SZA (xx deg) #\n");
2784 sprintf(str,
"# Filter Wheel type #\n");
2786 sprintf(str,
"# 0=simple, 1= double, 2= simple +TorqueM #\n");
2791 sprintf(str,
"#PID Parameters #\n");
2793 sprintf(str,
"#PID_kp PID_ki PID_kd #\n");
2799 sprintf(str,
"#DAS/Windows Reset: Enabled = 1, Disabled = 0 #\n");
2804 sprintf(str,
"#Reset Type: Hourly = 0, Daily= 1 #\n");
2809 sprintf(str,
"#Reset frequency: Hourly=1 to 23, Daily=1 to 365 #\n");
2815 sprintf(str,
"#AUTORANGING MAX VALUE ( < 63000 #\n");
2821 sprintf(str,
"####################################################\n");
2847 fs = fopen(buff,
"w");
2856 MMessageDialog(
"DAS information",
"Problems in opening file",
" Ok ", NULL);
2862 sprintf(str,
"###############################################\n");
2864 sprintf(str,
"# AMS.INI #\n");
2866 sprintf(str,
"# Main configuration file for AMS Devices #\n");
2868 sprintf(str,
"###############################################\n");
2870 sprintf(str,
"# ------------------------------------------- #\n");
2874 sprintf(str,
"# ------------------------------------------- #\n");
2922 sprintf(str,
"# Number of AMS # \n");
2967 sprintf(buf,
"SM%d", t+1);
2971 sprintf(str,
"# Input Mirror Stepper Motor - %s #\n", buf);
2975 sprintf(str,
"# Grating Stepper Motor - %s #\n", buf);
2979 sprintf(str,
"# Filter Wheel Stepper Motor - %s #\n", buf);
2983 sprintf(str,
"# Not Connected Stepper Motor - %s #\n", buf);
2987 sprintf(str,
"# Zenith Axis Stepper Motor - %s #\n", buf);
2991 sprintf(str,
"# Azimuth Axis Stepper Motor - %s #\n", buf);
2996 sprintf(str,
"# %s Power (0 = 0A - 76 = 1.52A) #\n", buf);
3000 sprintf(str,
"# %s Step (0=400s/r, 1=800s/r,2=1000/sr) #\n", buf);
3002 sprintf(str,
"%d\n", DAS.
StepM.
step[i][k]);
3004 sprintf(str,
"# %s Slope (0 - 255) #\n", buf);
3008 sprintf(str,
"# %s Speed Hz (PS = 125*(n+1), n=0,1..255) #\n", buf);
3012 sprintf(str,
"# %s Multiplier #\n", buf);
3022 sprintf(str,
"# OFFSETS #\n");
3024 sprintf(str,
"# HMir, Mir0, Mir1, Mir2, Mir3, Mir4, Grat, FW#\n");
3026 for(c = 0; c < 9; c++)
3032 sprintf(str,
"\nHome Type Mode for Steppers #\n");
3035 sprintf(str,
"SM1 SM2 SM3 SM4 SM5 SM6 #\n");
3040 for(k = 0; k < 2; k++)
3049 sprintf(str,
"\n###############################################\n");
3074 fs = fopen(buff,
"w");
3077 MMessageDialog(
"DAS information",
"Problems in opening file",
" Ok ", NULL);
3082 sprintf(str,
"###############################################\n");
3084 sprintf(str,
"# Hardware .INI #\n");
3086 sprintf(str,
"###############################################\n");
3088 sprintf(str,
"# Type of motherboard installed #\n");
3090 sprintf(str,
"# 0 = NOVA7892; 1 = NOVA6612; 2 = NOVA945GSE #\n");
3092 sprintf(str,
"###############################################\n");
3097 sprintf(str,
"%d\n", DAS.
Nova.
type );
3102 sprintf(buff,
"The selected instrument has been saved in '%s\\Hardware.ini' file\n ", BIL.
DFILEM.
CONFIGDIREQUIPMENT);
3121 fs = fopen(buff,
"w");
3124 MMessageDialog(
"DAS information",
"Problems in opening file",
" Ok ", NULL);
3129 sprintf(str,
"###############################################\n");
3131 sprintf(str,
"# Equipment.INI #\n");
3133 sprintf(str,
"# Configuration file setting equipment type #\n");
3135 sprintf(str,
"###############################################\n");
3137 sprintf(str,
"# 0 = SPATRAM, 1 = TROPOGAS, 2 = LIS #\n");
3139 sprintf(str,
"# 3 = SPATRAMPLUS, 4 = GASCODNG1, 5=GASCOD/OA #\n");
3141 sprintf(str,
"# 6 = GASCODNG2, 7 = GASCODNG3, 8 = GASCODNG4 #\n");
3143 sprintf(str,
"# 9 = SPATRAM2, #\n");
3145 sprintf(str,
"###############################################\n");
3171 sprintf(str,
"TROPOGAS");
3174 sprintf(str,
"SPATRAM");
3180 sprintf(str,
"SPATRAMPLUS");
3183 sprintf(str,
"GASCODNG1");
3186 sprintf(str,
"GASCODNG2");
3189 sprintf(str,
"GASCODNG3");
3192 sprintf(str,
"GASCODNG4");
3195 sprintf(str,
"SPATRAM2");
3198 sprintf(str,
"SPATRAM3");
3202 sprintf(str,
"UNKNOWN");
3236 fs = fopen(buff,
"w");
3239 MMessageDialog(
"DAS information",
"Problems in opening file",
" Ok ", NULL);
3247 sprintf(str,
"###############################################\n");
3249 sprintf(str,
"# Param.INI #\n");
3254 sprintf(str,
"# equipment #\n");
3256 sprintf(str,
"###############################################\n");
3258 sprintf(str,
"# ------------------------------------------- #\n");
3262 sprintf(str,
"# ------------------------------------------- #\n");
3265 sprintf(str,
"# CCD Temp (°C) ----------------------------- #\n");
3269 sprintf(str,
"# CCD Peltier Init Power X 10 (150 = %.1lf%%) #\n",(
double) 15);
3273 sprintf(str,
"# Optical Unit Target Temperature ------------#\n");
3278 sprintf(str,
"# OMU Peltier Init Power X 10 (500 = %.1lf%%) #\n",(
double) 50);
3281 sprintf(str,
"%d\n", OMUTHR.
PCPower);
3284 sprintf(str,
"# CCD Window (xstart ys xend ye) -------------#\n");
3288 sprintf(str,
"# Vertical Binning ---------------------------#\n");
3293 sprintf(str,
"# Max Exposure Time s (=0 --> free exposure) #\n");
3299 sprintf(str,
"###############################################\n");
3317 sprintf(str,
"The current parameters has been saved in '%s\\Param.ini' file\n The %s\\camera.cfg file was copied in %s folder and renamed as %s.cfg'.",
3372 sprintf(buf,
"In this text box the user can specify \nthe Maximum Exposure Time (MEXT) \ 3373 (s) that will be used in the AutoRange() Procedure.\n The Maximum time allowed \ 3374 is 999s.\n If the MEXT is set to 0.0, the Autoranging procedure will ignore the \n\ 3375 limitations and the calculated exposure time will be used.");
3429 sprintf(buff,
"File'%s\\%s.cfg' not found,\n\ 3430 Now 'dcs.exe' will load the standard 'camera.cfg' configuration file\n\ 3431 Set the camera parameters, copy the '%s\\dcl\\camera.cfg' file in the %s folder\n\ 3439 er = WinExec(str, SW_SHOW);
3448 int c = (int) ad, i;
3468 sprintf(str,
"%.1lf%%",(
double)OMUTHR.
PCPower / 10);
3579 int PowerOn, PowerOff,i;
3596 MMessageDialog(
"ADTEST",
"AD Test Not possible \n Check the PC104 Connection",
"OK", NULL);
3608 for (i=0; i<16; i++)
3624 int c = (int) a_data;
3644 int c = (int) a_data;
3661 int c = (int) a_data;
3680 int c = (int) a_data;
3699 int c = (int) a_data;
3716 int c = (int) a_data;
3742 sprintf(str,
"%d %d 1 1 0 0\n", x, y);
3764 unsigned short temp, *matdefpix;
3769 int NumUnderExP = 0;
3781 fs = fopen(buff,
"w");
3782 if(fs == NULL)
return 1;
3784 sprintf(str,
"DREM #######################################################\n");
3785 fprintf(fs,str,NULL);
3786 sprintf(str,
"DREM # OVER EXPOSED DEFECTIVE PIXELS: #\n");
3790 sprintf(str,
"DREM #######################################################\n");
3791 fprintf(fs,str,NULL);
3800 fs = fopen(buff,
"w");
3801 if(fs == NULL)
return 1;
3803 sprintf(str,
"DREM #######################################################\n");
3804 fprintf(fs,str,NULL);
3805 sprintf(str,
"DREM # UNDER EXPOSED DEFECTIVE PIXELS: #\n");
3809 sprintf(str,
"DREM #######################################################\n");
3810 fprintf(fs,str,NULL);
3819 fs = fopen(buff,
"w");
3820 if(fs == NULL)
return 1;
3822 sprintf(str,
"DREM #######################################################\n");
3823 fprintf(fs,str,NULL);
3824 sprintf(str,
"DREM # OVER EXPOSED DEFECTIVE PIXELS: #\n");
3828 sprintf(str,
"DREM #######################################################\n");
3829 fprintf(fs,str,NULL);
3838 mx = (
unsigned long)
IDX * (
unsigned long)
IDY;
3839 BIL.
DPLOT.
ImatGraf = (
unsigned short *) calloc( mx,
sizeof(
unsigned short));
3841 mx = (
unsigned long)
IDX * (
unsigned long)
IDY;
3842 matdefpix = (
unsigned short *) calloc( mx,
sizeof(
unsigned short));
3855 for (i= 0; i<3; i++)
3871 for (i= 0; i<3; i++)
3876 for(t = 0 ; t <
IDY ; t++)
3878 for(j = 0; j <
IDX; j++)
3894 fs = fopen(buff,
"a");
3895 if(fs == NULL)
return 1;
3898 if (mod==1 || mod==2)
3901 sprintf(str,
"DREM Start of pixel section\n");
3903 sprintf(str,
"PIX\n");
3905 sprintf(str,
"DREM Number of items of pixel correction\n");
3907 sprintf(str,
"PITM %d\n", NumOverExP);
3914 sprintf(str,
"DREM Start of pixel section\n");
3916 sprintf(str,
"PIX\n");
3918 sprintf(str,
"DREM Number of items of pixel correction\n");
3920 sprintf(str,
"PITM %d\n", NumUnderExP);
3924 for(t = 0 ; t <
IDY ; t++)
3926 for(j = 0; j <
IDX; j++)
3930 if (mod==1 || mod==2)
3935 matdefpix[t * IDX + j] = temp;
3945 matdefpix[t * IDX + j] = temp;
3986 sprintf(str,
"DEND\n");
3993 for(t = 0 ; t <
IDY ; t++)
3995 for(j = 0; j <
IDX; j++)
4013 int c = (int) a_data;
4039 MOBJECT sh, rowf,
lbl,lbl1,lbl2, tb, level, pb;
4054 sprintf(str,
"This procedure allows for the mapping of the\n OVER exposed pixels of the CCD sensor");
4057 sprintf(str,
"This procedure allows for the mapping of the\n UNDER exposed pixels of the CCD sensor");
4060 sprintf(str,
"This procedure allows for the mapping of the\n OVER exposed pixels of the CCD sensor");
4069 sprintf(str,
"3 Flat Measurements (Texp = 0) will be porformed\n in order to identify the defective pixels");
4072 sprintf(str,
"3 Measurements of QJ lamp will be porformed\n in order to identify the defective pixels");
4075 sprintf(str,
"3 Flat Measurements (Texp = 5s) will be porformed\n in order to identify the defective pixels");
4086 sprintf(str,
" You have to set the maximum level in\norder to consider the pixel as good");
4089 sprintf(str,
" You have to set the minimum level in\norder to consider the pixel as good");
4092 sprintf(str,
" You have to set the maximum level in\norder to consider the pixel as good");
4108 sprintf(str,
"Pix with values higher than");
4111 sprintf(str,
"Pix with values lower than");
4114 sprintf(str,
"Pix with values higher than");
4165 int c = (int) a_data;
4187 int c = (int) a_data;
4207 int c = (int) a_data, er;
4222 er = WinExec(str, SW_SHOW);
4230 er = WinExec(str, SW_SHOW);
4237 er = WinExec(str, SW_SHOW);
4246 else if(FLAG.
VMRsf == 1)
4266 er = WinExec(str, SW_SHOW);
void MObjectSetColor(MOBJECT obj, MTColor bgc, MTColor fgc)
void DB_MIGEopmode_CB(MOBJECT o, void *a, void *v)
callback selecting the operation mode for the AltAzPlatform
void DB_Undo2Do_Colors(short undocol[], short docol[])
Assign to the DO_Color structure the Color Values of the UNDO_Color Structure.
short DB_BG_lblUP[3]
Background Capital Letters Labels Color UP.
stepm StepM
Stepper motors parameters structure.
void MQueryColor(MTColor col, int *pr, int *pg, int *pb)
#define SPATRAM
SPectrometer for Atmospheric TRAcers Measurements - CGE-UE Portugal.
void ADTesterCB(MOBJECT shell, void *od, void *ad)
Test Temperature AD Converter callback.
void FANPeltier(int mod)
FAN ON/OFF .
void MObjectSetBackgroundRGB(MOBJECT obj, int r, int g, int b)
gui Gui
Graphic User Interface Structure.
void ColPickBackForeGCB(MOBJECT o, void *a, void *v)
select if the foreground or background color of the selected object will be picked ...
void MRefreshTimeout(TIMEOUT_ID *pid, CARD32 msec, TIMEOUT_CB cb, void *ud)
int WriteEquipini(void)
Write equipment.ini file .
int SD_Mirror(int where)
Positioning Input Mirror. The Input Mirror reaches the position specified by where.
int IDX
Number of sensible horizontal pixels.
void DB_RadioModeSelCB(MOBJECT o, void *id, void *a_data)
Set the saving mode.
shells Shells
Shells structure.
int DB_InitMotor(int mod)
Initialize AMS. Procedure that initialize the parameters for the AMS's devices.
unsigned int keycode
Code for the pressed key.
MTColor MAllocCell(int r, int g, int b)
int LoadPaletteCB(MOBJECT o, void *o_data, void *a_data)
Callback for LoadTestPalette.
void PB_H_CB(MOBJECT p, void *od, void *ad)
Quick Help Callback.
void ColorAssignCB(MOBJECT o, void *o_data, void *a_data)
int DB_InitCamera(int mod)
Initialize Camera Parameters. Procedure that initialize the CCD Camera.
MOBJECT speed[AMSMAX][2]
Active Control Panel Labels for Stepper Motors "speed".
short DB_FG_Plbl[3]
Foreground PASSIVE Label Colors.
void DB_CellExposeCB(MOBJECT obj, MEvent *pexp, void *a_data)
display selected Color
void DB_AMSposmode_CB(MOBJECT o, void *a, void *v)
callback selecting the positioning mode for stepper motors ( sequential or simulaneaous) ...
optionini DOption
Options for DAS execution.
void DB_ChangeColorCellCB(MOBJECT o, MVALUE o_data, void *a_data)
draw the object 'o' with the selected color
int savingmode
Flag to set saving mode: 0=ASCII, 1=Binary.
#define AMS2
AMS2 address.
void CloseFontViewCB(MOBJECT p, void *a, void *data)
This callback Unloads the latest loaded font and destroys the dialog.
void MShellRealize(MOBJECT obj)
void LoadFontCB(MOBJECT obj, void *a, void *data)
This callback tries to load the specified font.
MOBJECT KeyB[28]
Keyboard Buttons.
int NAMS
Number of AMSs Devices.
int TRType
Type of thermo regulation (0=TRTCOOL, 1 = TRTHEAT, 2= TRTBOTH)
MOBJECT SM_multiplier[AMSMAX][2]
void MObjectSetUnsensitive(MOBJECT obj)
#define TORQUEM
Torque Motor.
int PCPower
Power to the Peltier for Cooling.
int Wl
Flag for the units on the X scale plot.
void MDrawFilledBox(MOBJECT p, int x, int y, int w, int h, MTColor bgc)
void WriteFontCB(MOBJECT obj, void *a, void *v)
This callback write on file the selected font (Not implemented yet)
int WritewlstepiniCB(MOBJECT shell, void *od, void *ad)
Write wlstep.ini file .
DXL structure. Structure for the serial communication with the AMS adapter.
int plotW
Flag for the plot display.
das structure (contain all the previous structures) .
MOBJECT MDCreateDASConfig(void)
DAS Config shell. Procedure that build the shell for the DAS Config panels. The DAS Config allow for ...
void D_UndoCB(MOBJECT o, void *a, void *v)
Undo the previous color setting operation.
int VMRsf
ViewModifyReloadsystemfile: 0 = ViewModify, 1 = Reload.
void DB_AMSProgBar_CB(MOBJECT o, void *a, void *v)
callback selecting if show or not the progress bar for motor positioning
int MObjectGetHeight(MOBJECT obj)
MOBJECT MCreateLabel(MOBJECT parent, const char *text, MTFont font)
Control Panel and push buttons colors .
void DB_Shutter_CB(MOBJECT o, void *a, void *v)
callback selecting if the shutter is installed or not
void MObjectSetResize(MOBJECT obj, int resize_w, int resize_h)
#define DOASMODE
execution for DOAS Processing
flag Flag
Structure for different flags.
MOBJECT Sh_Main
Main shell for control panel.
void NovaTypeCB(MOBJECT p, void *od, void *ad)
Callback for NOVA selection.
int darkremove
Flag to set Dark Removal from measurements; motors0 = No Dark Removal, 1 = Dark Removal.
structure for FTP setting
char HOMEDIRECTORY[_MAX_PATH]
int filtertype
type of installed filter module: 0=Simple-SM3, 1=Double-SM3+SM4, 2=simpleplus-SM3+TM) ...
short DB_BG_Albl[3]
Background ACTIVE Label Colors.
void MObjectAlign(MOBJECT obj, int h_align, int v_align)
int Offset[16]
Offset of the hardware devices (Input Mirror (5), Grating, Filter Wheel...)
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...
unsigned short DigOut
Digital Output.
#define NOVA945GSE
NOVA945GSE (SPATRAM2, GASCODNG1, GASCODNG4)
int slope[AMSMAX][2]
Stepper Motors Slope.
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 ...
#define NOVA6612G2
NOVA6612G2 (not used in TROPOGAS, LIS, GASCODNG2/3)
void ConfigCB(MOBJECT p, void *od, void *ad)
DAS Configuration shell creation callback.
void DB_SetXUnitsCB(MOBJECT o, void *id, void *a_data)
Select the X axis Unit mode .
MOBJECT step[AMSMAX][2]
Active Control Panel Labels for Stepper Motors "step".
MOBJECT lbl_Par[11]
Parametric Labels of the Control Panel.
char * CodeEq2Name(int code)
code Equipment to Name
short DB_Sel[3]
Selected Buttons Colors.
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...
void MUnloadFont(MTFont font)
void AMS_PWM(int id, int on, int off)
set the on/off time on the PWM set the on/off time on the PWM.
int perc2int(int mod, char *string)
translate the percent power in AMS digit unit. The percent power assigned to the motor trough the AMS...
void DB_SetCCDTargetTempCB(MOBJECT o, void *id, void *a_data)
Select the CCD temperature mode .
char * MObjectGetText(MOBJECT obj, char *text)
C_DEF int DI_CloseImage(int s)
MTColor MObjectBackgroundColor(MOBJECT obj)
#define ROTSHUT
Rotating Shutter.
int avgautor
autoranging for averaged measurement, 0 = NO AutoR before average; 1 = AutoR before average; ...
MOBJECT MCreateClippedEdit(MOBJECT parent, const char *text, int len, int clip_len, MTFont font)
void SetItalicCB(MOBJECT obj, MVALUE a, void *data)
This callback toggles the Italic attribute.
S16 kind
CCD manufacturer codes CCD code definitions.
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...
float multiplier[AMSMAX][2]
multiplier, > 0 multiplier, < 0 demultiplier
void MShellUnrealize(MOBJECT obj)
void Peltier(int mod)
Peltier ON/OFF .
void ApplyChCB(MOBJECT shell, void *od, void *ad)
Apply changes in DAS Config callback.
int LoadDB_Options(void)
Load Options. Procedure that load the Options in the file {homedir}/config/Options.INI.
void MObjectSetText(MOBJECT obj, const char *text)
void QjLamp(int mod)
QJ Lamp ON/OFF .
void print2file(FILE *ff, int x, int y, unsigned int m)
Print to file the defective pixel.
void DB_CellResizeCB(MOBJECT obj, DRAWAREA_PREF *pref, void *a_data)
display selected Color
int SZAMax
Maximum SZA for performing measurements.
void ColorMapInputCB(MOBJECT obj, MEvent *pe, void *a_data)
Declared but not used.
int WriteOptioniniCB(MOBJECT shell, void *od, void *ad)
Write Options.ini file .
void TextColorAssignCB(MOBJECT o, MVALUE o_data, void *a_data)
void DB_ShutterType_CB(MOBJECT o, void *a, void *v)
callback selecting the type of installed shutter
short DB_BG_RButt[3]
Background Radio Buttons.
MTColor MObjectForegroundColor(MOBJECT obj)
int MObjectGetWidth(MOBJECT obj)
MOBJECT slope[AMSMAX][2]
Active Control Panel Labels for Stepper Motors "Slope".
void MShellDestroy(MOBJECT obj)
int MRButtonGetActivationStatus(MOBJECT o)
MOBJECT MObjectShell(MOBJECT obj)
void UndoFCB(MOBJECT obj, void *a, void *v)
This callback UnDo the font choice (Not implemented yet)
MOBJECT SM_power[AMSMAX][2]
#define LIS_
Lampedusa Island Spectrometer - ENEA.
MOBJECT MCreateTableForm(MOBJECT parent, int n_cols)
void DB_Do2Undo_Colors(short docol[], short undocol[])
void DB_RadioDarkCB(MOBJECT o, void *id, void *a_data)
Set the dark removing from the measurements.
char * EquipCode2Name(int eqcode, char *src, char *dest)
translate the Equipment Code in the Equipment Name
void DB_SelOutModeCB(MOBJECT o, void *id, void *a_data)
Select the Output for the Temperature AD Converter .
#define TROPOGAS
TROPOspheric Gas Analyzer Spectrometer.
File Browser Preferences. Used by the Utility functions MFileBowserExt() and MDirBowserExt().
int WriteColorsCB(MOBJECT o, void *a, void *v)
Write selected color in DASSysColor.INI.
void Task_LIS_Temp(TIMEOUT_ID id, void *data)
OMU Thermoregulation Task. Provide the thermoregulation of the Optical Mechanical Unit In addition al...
void D_Saving(void)
Saving image. Procedure for saving the CCD Image Used since version 2.1.0. The coiche between binary ...
int hlinebefore
Number of HiddenLines before the central line in Plot.
void ColorMapResizeCB(MOBJECT obj, DRAWAREA_PREF *pref, void *a_data)
Declared but not used.
void MDQuitCB(MOBJECT shell, void *od, void *ad)
callback for closing a generic MGUI shell
unsigned int data[576]
Conversion data buffer 64 samples * 8 channels * 2 bytes.
MOBJECT MCreatePButton(MOBJECT parent, const char *text, MTFont font)
int ADTempTest
= 0 -> AD Converter results on the Control Panel; = 1 -> AD Converter Testing Phase(results on the co...
#define FDOUBLE
double filter wheel
void DB_MIGE_CB(MOBJECT o, void *a, void *v)
callback selecting the operation mode for the AltAzPlatform
#define FPLUS
Filter Wheel Torque Motor.
int avgmode
Flag to set Averaging mode: 0 = Repeat measurements for fixed number, 1 = Repeat measurements for fix...
#define OFFLINEPLOT
execution for archived data visualisation
int WriteParaminiCB(MOBJECT shell, void *od, void *ad)
Write Param.ini file .
void FontOBJSelCB(MOBJECT obj, void *a, void *v)
This callback select the object for applying font.
#define GASCODNG2
GASCODNG 2 (with ATX power supply & HiresIV)
void DB_PlotDisplayCB(MOBJECT o, void *id, void *a_data)
Select if the PLOT will be displayed after the measurement .
DrawArea Object's resize data.
int VBin
CCD Vertical Binning.
paramini structure . It contains some of the parameters defined in the file PARAM.INI .
#define SPATRAM2
SPATRAM2 (with ATX power supply & HiresV)
void MEditSetActCallback(MOBJECT edit, OBJ_STRING_CB cb, void *data)
int CoolPw
CCD Init Power.
void MDrawText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor fgc, int align)
void MScrollBarSetPos(MOBJECT p, long pos)
void DB_RadDrkSourceCB(MOBJECT o, void *a, void *v)
Set the dark source.
#define SPATRAMPLUS
As SPATRAM plus AltAzimuth platform.
void MRButtonDeactivate(MOBJECT o)
id's for different tasks .
MOBJECT SM_step[AMSMAX][2]
void MDrawBox(MOBJECT p, int x, int y, int w, int h, MTColor bgc)
char CONFIGDIREQUIPMENT[_MAX_PATH]
double MaxSZA
Maximum SZA.
int hertz2int(int mod, char *string)
translate the Hertz speed in AMS digit unit.
const char * MGetCurrentDirectory(void)
void SetBoldCB(MOBJECT obj, MVALUE a, void *data)
This callback toggles the Bold attribute.
void DB_ColorPick(MOBJECT o)
void DrawAreaExpFontCB(MOBJECT obj, MEvent *pe, void *data)
This callback draws strings using the selected font.
MTFont MLoadFont(const char *family, int h, int bold, int italic)
int emshutter
Presence of the CCD Shutter, emshutter = 1 –> Shutter IS Installed, = 0 –> Shutter NOT Installed...
void DB_PlotYAxisCB(MOBJECT o, void *id, void *a_data)
Select the Y axis Unit mode .
int DeltaSZA
= 1 Delta SZA measurements activated, = 0 Continous measurements
void ValidateCB(MOBJECT edit, EDIT_VAL *ev, void *ii)
Text Validation callback Validation callback for the text typed in different text box...
short DB_FG_Albl[3]
Foreground ACTIVE Label Colors.
void MEditSetValCallback(MOBJECT edit, EDIT_VAL_CB cb, void *data)
char DBFILENAME[_MAX_PATH]
void CloseColPickCB(MOBJECT obj, void *s, void *v)
Declared but not used.
#define LISTEMP_TASK_TIME
spectrometer termoregulation
#define GASCODNG3
GASCODNG 3 (with ATX power supply & HiresIV)
int GetDefPix(int mod)
Maps the defective pixel.
char ftpuser[32]
FTP server users.
int plotYRange
0 –> full range; 1 –> min/max
int resetFreq
frequency of DAS/Windows Reset
int MFileBrowseExt(const char *t, const char *ext, char *fname, char *dname, FB_PREFS *prefs)
#define VS25
Uniblitz Shutter VS25.
MOBJECT SM_slope[AMSMAX][2]
void MObjectRedraw(MOBJECT obj)
double AutoRange(int mod)
Calculate the exposure time The optimum exposure time (TExp) is calculated with an initial TExpAR=0...
short DB_BG_Plbl[3]
Background PASSIVE Label Colors.
double int2hertz(int mod, int k)
void DB_MIGEType_CB(MOBJECT o, void *a, void *v)
int ADPC104
0 –> Device PC104 exist, 1 –> PC104 DOESN'T exist
pushbutt PushButt
Push buttons.
int IDY
Number of sensible vertical pixels.
#define GASCODNG1
GASCODNG 1 (with ATX power supply & HiresIV)
#define GASCODNG4
GASCODNG 4.
int LoadDasSysCol(void)
Load system colors. Procedure that load the DAS colors in the file {homedir}/config/DASSysColor.INI.
double cop_perc[AMSMAX][2]
Stepper Motors Power percent.
void DB_RadioFNSelCB(MOBJECT o, void *id, void *a_data)
Set the file name mode.
int TOTTEXP
Total Exposure time in Averaging mode.
const char * bg_image_file
int amsprogbar
display/hide prograssion bar, 0 = Hide, 1 = display
char ftpserver[32]
FTP server address.
#define FSIMPLE
simple filter wheel
int FFTFilter
Fast Fourier Trasform Filter windows.
MOBJECT MCreateShell(const char *title, int flags)
int hlineafter
Number of HiddenLines after the central line in Plot.
int MMessageDialog(const char *t, const char *msg, const char *btn1, const char *btn2,...)
int fraz2val(int mod, char *val)
ratio value to decimal value opposite than listval2fraz or val2fraz
void DB_Do2Undo_Fonts(MTFont dofont, MTFont undofont)
C_DEF void DI_RunHisto(void)
#define SPATRAM3
SPATRAM3.
short DB_BG[3]
Default Background Color.
unsigned short * ImatGraf
double TExp
CCD Exposure time.
void MObjectUnmap(MOBJECT obj)
short DB_FG_RButt[3]
Foreground Radio Buttons.
configpanel ConfigPanel
Configuration panel structure.
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
void ColObjCB(MOBJECT o, void *a, void *v)
select the object to consider for color picking
Validation data for the EditField Object.
void ScreenInfoCB(MOBJECT o, void *s, void *v)
int mirrorimg[2]
Flag to set the mirroring of the CCD image: 0 = NO Mirroring, 1= YES Mirroring (element 0 for X axis;...
int LISTEMP
Lis Temperature ID.
char step_fraz[AMSMAX][2][6]
Stepper Motors Step fraction.
void val2fraz(int id, int sn, int val)
Decimal value to ratio value Similar to listval2fraz The decimal value indicating the fractioning of ...
void GetDateTime(struct date *dp, struct time *tp, struct tm *when)
void MLabelSetAlignment(MOBJECT p, int align)
int wl[]
WaveLength definition - for SD_Grating.
int MGetScreenWidth(void)
int pixcorr
Flag to set defective pixel correction: 0=NOT Corrected, 1=Corrected.
controlpanel ContrPanel
Control Panel Structure.
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 ...
int ftpbackup
Flag to set back up: 0 = NO FTP Back-UP; 1 = Perform FTP Back-UP.
void DB_Undo2Do_Fonts(MTFont undofont, MTFont dofont)
int LoadTestPalette(char *nf)
Load a test palette. Procedure that load a test palette.
Bortul Image Library Structure .
int imgtype
Flag to set Image type: 0=MONOINT, 1=RGB.
MOBJECT rbSHUTType[3]
radio button for SHUTTER type
void ColorSaveCB(MOBJECT o, void *o_data, void *a_data)
Declared but not used.
void ColorMapExposeCB(MOBJECT obj, MEvent *pexp, void *a_data)
Declared but not used.
void MPButtonSetCallback(MOBJECT button, MGUI_CB cb, void *data)
int measmode
measuring mode: 0 = Single; 1 = Averaged
void MAPDefPix(int mod)
create the Under/Over exposed pixels window At the pression of the button in DAS_Config the appropri...
void TestFontCB(MOBJECT obj, void *a, void *data)
This callback tries to load the specified font.
void MObjectSetCompositeWidth(MOBJECT obj, int w)
short DB_UnSelFG[3]
Unselected Buttons Colors.
MOBJECT rbMIGEtype[5]
radio button for MIGE type
void ColorPickCB(MOBJECT o, void *o_data, void *a_data)
int speed[AMSMAX][2]
Stepper Motors Speed.
int step[AMSMAX][2]
Stepper Motors Step.
short DB_UnSel[3]
Unselected Buttons Colors.
double speed_Hz[AMSMAX][2]
Stepper Motors Speed [Hz].
double maxtexp
Maximum exposure time (used in Autorange())
int aaopmode
operation mode for the Alt Az Platform, 0 = solar Traxker; 1 = Anti-Solar Tracker; 2 = Free Positioni...
char ftppwd[32]
FTP server pwd.
void DB_RadioPixCorrCB(MOBJECT o, void *id, void *a_data)
Set the image Correction flag.
void ColorFreeCB(MOBJECT o, void *o_data, void *a_data)
Declared but not used.
void MObjectSetFont(MOBJECT obj, MTFont font, int resize)
void listval2fraz(int mod, int val)
Decimal value to ratio value The decimal value indicating the fractioning of the step is translated i...
int smposmode
positioning mode for stepper , 0 = sequential mode; 1 = simoultaneous mode
void DB_ColorAssign(MOBJECT a[], int numel, short tc[])
Assign to the selected object the chosen color.
void MObjectMap(MOBJECT obj)
void MAPDefPixCB(MOBJECT o, void *id, void *a_data)
GetDefPix(mod) Callback At the pression of the 'Execute' button in the appropriate shell the GetDefPi...
int filename
Flag to set file name mode 0=Free choice, 1 = Automatic.
void MFreeCell(MTColor c)
int MGetScreenHeight(void)
void DB_RadioAvgModeCB(MOBJECT o, void *id, void *a_data)
Set the Averaging mode flag.
int EqType
Spectrometer Type.
void DB_ImgTypeCB(MOBJECT o, void *id, void *a_data)
Set the Image type.
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) ...
#define NOVA7892
NOVA7892 monoboard (old)
MOBJECT rbMIGEopmode[3]
radio button for MIGE operating mode
char CONFIGDIRCOMMON[_MAX_PATH]
unsigned char DigIn
Digital Input.
void DB_FilterType_CB(MOBJECT o, void *a, void *v)
callback selecting the type of installed filter wheel module
void MFreeColor(MTColor col)
void MObjectSetTransparency(MOBJECT obj, CARD8 level)
void MObjectSetForegroundRGB(MOBJECT obj, int r, int g, int b)
void MSetCellColor(MTColor c, int r, int g, int b)
int WriteHardwareiniCB(MOBJECT shell, void *od, void *ad)
Write hardware.ini file .
int N_AVG
Number of measurements for Averaging mode in fixed number of meas. mode.
int darksource
Flag to set Dark source: 0 = Blind Pixels, 1 = Full Frame.
int resetEnabled
DAS/Windows reset option (1 = Enabled; 0 = disabled)
int refertemp
Flag to set the reference temp for thermo-regulation: 0 = AVGPINT; 1 = OPTIC; 2 = GRATING...
long wav[]
Step Number definition - for SD_Grating.
void MShellSetWMCloseCallback(MOBJECT p, WM_CLOSE_CB cb, void *a_data)
C_DEF int DI_FileExist(char *tit)
void MObjectSetSensitive(MOBJECT obj)
int type
type of NOVA monoboard used (7892 or 945GSE)
int resetType
type of period for DAS Reset: 0=Hours, 1=Days
MOBJECT lblCorrPixF
label for name file used for defec pix correction
MOBJECT SM_speed[AMSMAX][2]
int DispBlindPix
Display Blind Pix: 0 = NO, 1 = Yes.
MOBJECT MCreateRowForm(MOBJECT parent)
int x
pointer x, y coordinates in event window
MOBJECT pbBrowseCorrPixF
Push button for file selection.
int shuttertype
type of installed shutter: 0 = VS25, 1 = Rotating Shutter, 2 = TorqueMotor
double ITemp
CCD Target Temperature.
unsigned int maxlvlar
maximum level of autoranging (max 65000)
UNDO Control Panel and push buttons colors .
MOBJECT power[AMSMAX][2]
active Control Panel Labels for Stepper Motors "power"
void DB_FontAssign(MOBJECT a[], int numel, MTFont fnt)
This callback assign font to the selected object.
int exemode
Set the Execution MODE (Execution modes)
double TPelt
OMU Target Temperature.
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 i...
void CCDSetupCB(MOBJECT shell, void *od, void *ad)
CCD setup Callback. Execute DCS.exe (DTA Camera Select)
OMU Thermoregulation structure .
int DB_GetCCD(int mod)
Get CCD Image. .
double MinSZA
Minimum SZA.
short DB_FG_lblUP[3]
Foreground Capital Letters Labels Color UP.
int WriteAMSCB(MOBJECT shell, void *od, void *ad)
Write AMS.ini file .
C_DEF int DI_OpenImage(U16 dx, U16 dy, U16 ifmt, U16 type, char *tit)
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...
char DEFPIXFILENAME[_MAX_PATH]
defective pixel filename with path
int power[AMSMAX][2]
Stepper Motors Power.
paramini Paramini
structure for the parameters defined in param.ini configuration file