DAS  3.1.6 - 18/09/2017
DAS_Spatramdef.h
Go to the documentation of this file.
1 /**********************************************************************
2  **********************************************************************
3  **********************************************************************/
10 /**********************************************************************/
11 #define DASREL 3
12 
13 #define DASREV 1.6
14 
15 #define DASREVDATE "18/09/2017"
16 
17 #define AMSMAX 16
18 /**********************************************************************/
19 
22 
24 
28 
32  typedef struct shells {
43 
44  }shells;
46 
47 
51 
54  typedef struct controlpanel {
55 
56  MOBJECT lblK[10];
57  MOBJECT lblK_DW[6];
58  MOBJECT lbl_Par[11];
59  MOBJECT Albl_LS[8];
71  MOBJECT Albl_LT[16];
72  MOBJECT Albl_CS[4];
73  MOBJECT lbl_lamps[2];
74  MOBJECT pblamps[2];
80  MOBJECT Albl_IE[1];
83  MOBJECT frm_tbSM[AMSMAX][2];
84  MOBJECT lbl[30];
85  MOBJECT ledpelt[2];
88  MOBJECT LedSM[AMSMAX][2];
89  MOBJECT power[AMSMAX][2];
90  MOBJECT step[AMSMAX][2];
91  MOBJECT slope[AMSMAX][2];
92  MOBJECT speed[AMSMAX][2];
96  MOBJECT rbStepGratEnc[2];
97 
98  }controlpanel;
100 
101 
105 
108 typedef struct configpanel {
109 
110  MOBJECT SM_power[AMSMAX][2];
111  MOBJECT SM_step[AMSMAX][2];
112  MOBJECT SM_slope[AMSMAX][2];
113  MOBJECT SM_speed[AMSMAX][2];
114  MOBJECT SM_multiplier[AMSMAX][2];
115  MOBJECT SM_hometype[AMSMAX][2];
116  MOBJECT SM_pbtesthome[AMSMAX][2];
117 
119  MOBJECT addr[AMSMAX];
120  MOBJECT power[AMSMAX][2];
121  MOBJECT step[AMSMAX][2];
122  MOBJECT slope[AMSMAX][2];
123  MOBJECT speed[AMSMAX][2];
124  MOBJECT counter[AMSMAX][2];
125  MOBJECT IOP[AMSMAX][8];
126  MOBJECT OOP[AMSMAX][8];
128  MOBJECT nstep[AMSMAX][2];
129  MOBJECT lblstep[AMSMAX][2];
131  MOBJECT multip[AMSMAX][2];
132  MOBJECT f1lbl[AMSMAX][2];
133  MOBJECT f1scrollbar[AMSMAX][2];
134  MOBJECT rform[AMSMAX][2];
135  int rfstatus[AMSMAX][2];
136  MOBJECT lblAD[AMSMAX][8];
137 
139  MOBJECT FixTExp; //keep
140  MOBJECT lblAvg; //keep
143  MOBJECT XAxisU[3];
144  MOBJECT PlotDisp[2];
145  MOBJECT PlotYAxis[2];
146  MOBJECT DBlindPix[2];
150  MOBJECT pbrele[24];
152  MOBJECT SFOperation[2];
154  MOBJECT RBColObj[7];
155  MOBJECT RBColBG_FG[2];
156  MOBJECT rbDSZA[2];
158  MOBJECT edtSZA[2];
159  MOBJECT lblSZA[3];
160  MOBJECT rbMIGEStatus[2];
161  MOBJECT rbMIGEtype[5];
162  MOBJECT rbMIGEopmode[3];
163  MOBJECT rbSHUTStatus[2];
164  MOBJECT rbSHUTType[3];
165  MOBJECT rbCorrPix[2];
168  MOBJECT rbFilterType[3];
171  MOBJECT PID_edt[3];
172  MOBJECT rbDASResPer[2];
176  MOBJECT rbResetEnab[2];
179 
180 }configpanel;
182 
186 
190 typedef struct pushbutt {
191 
192  MOBJECT KeyB[28];
193  MOBJECT Wl[18];
194  MOBJECT Mir[4];
195  MOBJECT Fil[6];
196  MOBJECT NDFil[6];
197  MOBJECT HomePos[7];
198 
199 }pushbutt;
201 
205 
208 typedef struct horizmeas {
209  MOBJECT pbutt[15];
211  MOBJECT lbl[15];
212  MOBJECT led[2];
213 }horizmeas;
215 
216 
220 
223 typedef struct gui{
224 
230 }gui;
232 
233 
237 
241 typedef struct tools {
242 
243  MOBJECT KeyB[13];
246  int WinFil;
251 
252 }tools;
254 
255 
259 typedef struct ids {
260 
261  int LOG;
262  int TIMER;
263  int LISTEMP;
264  int CCDTEMP;
265  int REFRTEMP;
266  int AMSH;
267  int AUTOEX;
268  int GRATHOME;
269  int WDT;
270 }ids;
271 
272 /*****************************************************/
273 
277 typedef struct FilterWheelSt {
278  int Pos;
279  int Dir;
280  int target;
282 
283 
287 typedef struct NDFilterWheelSt {
288  int Pos;
289  int Dir;
290  int target;
292 
293 
297 typedef struct GratingSt {
298  long Pos;
299  int Dir;
300  int Wl;
301  long target;
302  long dp;
303 }GratingSt;
304 
305 
309 typedef struct MirrorSt {
310  int Pos;
311  int Dir;
312  int Off;
313  int target;
314 
315 }MirrorSt;
316 
317 
321 typedef struct ZenithSt {
322  double Pos;
323  int Dir;
324  int theta;
325  double target;
326  double realzenpos;
327 }ZenithSt;
328 
329 
333 typedef struct AzimuthSt {
334  double Pos;
335  int Dir;
336  int phi;
337  double target;
338  double realazpos;
339 }AzimuthSt;
340 
344 typedef struct sd_status {
345 
351 
352 }sd_status;
353 /*****************************************************/
354 
355 /*****************************************************/
359 typedef struct palette {
360 
361 //DB_Sel[0] = Red; DB_Sel[1] = Green; DB_Sel[2] = Blu
362  short DB_Sel[3];
363  short DB_UnSel[3];
364  short DB_UnSelFG[3];
365  short DB_BG[3];
366  short DB_BG_Albl[3];
367  short DB_FG_Albl[3];
368  short DB_BG_Plbl[3];
369  short DB_FG_Plbl[3];
370  short DB_BG_lblUP[3];
371  short DB_FG_lblUP[3];
372  short DB_BG_RButt[3];
373  short DB_FG_RButt[3];
374 }palette;
375 
379 typedef struct undopal {
380  //DB_Sel[0] = Red; DB_Sel[1] = Green; DB_Sel[2] = Blu
381  short DB_Sel[3];
382  short DB_UnSel[3];
383  short DB_UnSelFG[3];
384  short DB_BG[3];
385  short DB_BG_Albl[3];
386  short DB_FG_Albl[3];
387  short DB_BG_Plbl[3];
388  short DB_FG_Plbl[3];
389  short DB_BG_lblUP[3];
390  short DB_FG_lblUP[3];
391  short DB_BG_RButt[3];
392  short DB_FG_RButt[3];
393 }undopal;
394 
395 typedef struct mtcl{
396  MTColor black, white, darkblue, cadetblue, seagreen;
397  MTColor vmbg, green, red, orange, blue, indaco, viola;
398  MTColor darkvmbg, darkorange, darkred, darkgreen, yellow;
399  MTColor Color[264];
401  int dr[256],dg[256],db[256];
402 // MTColor PLColor[33];
403 }mtcl;
404 
405 
409 typedef struct color {
410 
417 
418 
419 }color;
420 
421 /***********************************************************/
422 
426 typedef struct dfont {
427 
428  int buttf;
429  int alblf;
430  int plblf;
431  int klbuf;
432  int klbdf;
433  int dtlbf;
434  int llblf;
435  int slblf;
436 }dfont;
437 
438 
443 typedef struct paramini {
444 
445  double ITemp;
446  double TPelt;
447  int CoolPw;
448  int ccdXoff;
449  int ccdYoff;
450  int ccdWx;
451  int ccdWy;
452  int VBin;
453  int EqType;
454  int Offset[16];
455  double maxtexp;
456 }paramini;
457 
458 
459 
463 typedef struct optionini {
465  int filename;
466  int imgtype;
467  int pixcorr;
468  int avgmode;
473  int ftpbackup;
474  int refertemp;
475  int mirrorimg[2];
476  int smposmode;
477  int avgautor;
478  int aaopmode;
480  int emshutter;
483  int resetType;
484  int resetFreq;
486  char DEFPIXFILENAME[_MAX_PATH];
487  int measmode;
488  unsigned int maxlvlar;
489 
490 }optionini;
491 
495 typedef struct stepm {
496 
497  int NAMS;
498  int power[AMSMAX][2];
499  int step[AMSMAX][2];
500  int slope[AMSMAX][2];
501  int speed[AMSMAX][2];
502  float multiplier[AMSMAX][2];
503  double cop_perc[AMSMAX][2];
504  char step_fraz[AMSMAX][2][6];
505  double speed_Hz[AMSMAX][2];
506  int Addr[AMSMAX];
507  unsigned long stepa;
508  unsigned long stepb;
509  int Revo[AMSMAX][2];
510  int Moto[AMSMAX];
511  int ESlope[AMSMAX][2];
512  int polh[AMSMAX][2];
513  int polw[AMSMAX][2];
514  int Invert[AMSMAX][2];
515  unsigned long divider[AMSMAX][2];
516  int SM_A;
517  int SM_B;
518  unsigned long nstep[AMSMAX][2];
519  int homemode[AMSMAX][2];
520  int workmode[AMSMAX][2];
521  int mstatus[AMSMAX][2];
522  unsigned long f1[AMSMAX][2];
523  unsigned char OOP[AMSMAX];
524  unsigned char IOP[AMSMAX];
525  int hometype[AMSMAX][2];
526  long postime[AMSMAX][2];
527  double firmrev[AMSMAX];
528 
529 }stepm;
530 
534 typedef struct dpwd {
538  int OwnPwdOk;
539  char PwdOwn[10];
540  char DefPwdSys [10];
541  int PwdOK;
542 
543 }dpwd;
544 
545 
549 typedef struct dftp{
551  MOBJECT rb[2];
555  MOBJECT pbftp[2];
556  char ftpserver[32];
557  char ftpuser[32];
558  char ftppwd[32];
559 
560 }dftp;
561 
562 
566 typedef struct adtester{
567  MOBJECT lblADch[16];
568  MOBJECT lblADvalue[16];
570  MOBJECT ADrb[3];
571  MOBJECT lblADsetup[10];
574 }adtester;
575 
576 
577 //Flags
581 typedef struct flag{
582 
583  int sza;
584  int exec;
589  int Wl;
590  int plotW;
591  int fileprg;
592  int demo;
593  int exemode;
595  int ADPC104;
597  int VMRsf;
600  int ftpstatus;
602  int extlamp;
604  int AMS_H;
605  int AMSPres;
606  int SimShell;
607  int DeltaSZA;
608  int ExeDSZA;
610  int MIGEType;
616  int REINITCCD;
617 
618 }flag;
619 
620 
624 typedef struct marconi{
625 
626  MOBJECT LblExpP[7];
627  MOBJECT LblExpD[7];
628  float CCDTemp;
629  int ReachTemp;
630  int Offset;
631  long *AVGmat;
632 
633 }marconi;
634 
638 typedef struct dlog{
639 
640  char flog[_MAX_PATH];
641  char fsmlog[_MAX_PATH];
642 
643  char ndate[10];
644  char ntime[10];
645  char odate[10];
646  char otime[10];
647 }dlog;
648 
649 
650 
654 typedef struct master {
655  int sora;
656  int smin;
657  int ssec;
658  int eora;
659  int emin;
660  int esec;
661  char prg[16];
662  float ssza;
663  float esza;
664  char ampm[2];
665  int PrgNumInM;
666  int PrgNumExe;
667  float minsza;
668  float maxsza;
669 }master;
670 
671 
672 
673 
677 typedef struct d_geo{
678 
679  char s_name[4];
680  double latitude;
681  double longitude;
682  double alititude;
683  int timezone;
684  int nitem;
685  int selitem;
686  char news_name[20][4];
687  double newlatitude[20];
688  double newlongitude[20];
689  double newalititude[20];
690  int newtimezone[20];
691  MOBJECT edit[5];
693  MOBJECT rb[21];
695 }d_geo;
696 
697 
698 
699 
703 typedef struct nova{
704 
705  int ioadd;
706  unsigned short DigOut;
707  unsigned char DigIn;
708  int type;
709  MOBJECT OUTP[4];
710  MOBJECT INP[4];
711  unsigned short WDT_TOUT;
712 }nova;
713 
714 
715 
719 typedef struct dsza{
720 
721  double DeltaSZA;
722  double MaxSZA;
723  double MinSZA;
724  double LastMSZA;
725  double NextSZA;
726  double Dailyminsza;
727  double Dailymaxsza;
728 
729 }dsza;
730 
734 typedef struct mige{
735 
736  int linked;
737  int type;
740 
741 }mige;
742 
743 
747 typedef struct omuthr{
748 
749  int CoolCnt;
750  float CoolTT;
751  float CoolAT;
752  float CoolPT;
753  float CoolTmp;
754  int PCPower;
755  int PHPower;
757  int CoolSts;
758  int TRType;
759  double ADVolt[16];
760  int PID_On;
761  float Temperature[16];
762  float *Temptemp;
763  float PID_kp;
764  float PID_ki;
765  float PID_kd;
766 }omuthr;
767 
768 
769 
770 
774 typedef struct das{
795  }das;
796 
797 
798 
799 
803 
807 #define SPATRAM 0
808 #define TROPOGAS 1
809 #define LIS_ 2
810 #define SPATRAMPLUS 3
811 #define GASCODNG1 4
812 #define GASCODOFAX 5
813 #define GASCODNG2 6
814 #define GASCODNG3 7
815 #define GASCODNG4 8
816 #define SPATRAM2 9
817 #define SPATRAM3 10
818 
819 
824 #define TRTCOOL 0
825 #define TRTHEAT 1
826 #define TRTBOTH 2
827 #define MAX_PELTPOW 1000
828 #define LIM_PELTPOW 1000
829 
830 
832 /**************************************/
833 // Task's timeouts
837 #define LISTEMP_TASK_TIME 30000l
838 #define LOG_TASK_TIME 60000l
839 #define TIMER_TASK_TIME 200l
840 #define CCDTEMP_TASK_TIME 500l
841 #define REFRESHTEMP_TASK_TIME 900l
842 #define AMSH_TASK_TIME 5l
843 #define AUTOEX_TASK_TIME 50l
844 #define GRAT_TASK_TIME 250
845 #define WDT_TASK_TIME 5000
846 
847 /**************************************/
849 
850 /************************/
851 //Commands KeyWords
855 #define AUTORNG 1
856 #define AVGCCD 2
857 #define BEGIN 3
858 #define CALIBRA 4
859 #define DARKC 5
860 #define EXPO 6
861 #define FILTER 7
862 #define GETCCD 8
863 #define H_FILTER 9
864 #define H_GRAT 10
865 #define H_MIRROR 11
866 #define HG_OFF 12
867 #define HG_ON 13
868 #define LABEL 14
869 #define MEASURE 15
870 #define MIRROR 16
871 #define PLOT 17
872 #define QJ_OFF 18
873 #define QJ_ON 19
874 #define RADIO 20
875 #define REM 21
876 #define SAVE 22
877 #define WAIT 23
878 #define WAVELEN 24
879 #define XEND 25
880 #define MEASHOR 26
881 #define ELAMPON 27
882 #define ELAMPOFF 28
883 #define ESHUTOP 29
884 #define ESHUTCL 30
885 #define H_ZEN 31
886 #define H_AZI 32
887 #define ZENITH 33
888 #define AZIMUTH 34
889 #define AAMEASURE 35
890 #define AVGCCDHOR 36
891 #define CHKEXLAMP 37
892 #define AAPOSIT 38
893 #define IREFSUN 39
894 #define MEASHOR2 40
895 #define SETCCDTEMP 41
896 #define SETCCDVBIN 42
897 #define SETCCDPOW 43
898 #define NDFILTER 44
899 #define H_NDFW 45
900 #define DFMEASURE 46
901 #define SETCCDOFFS 47
902 #define QJSCAN 48
903 #define H_GRAT_CAL 49
904 #define HGSCAN 50
905 #define ALMUCANTAR 51
906 #define DIRECTSUN 52
907 
908 //#define 100 26
910 //#define 101 27
911 
912 
913 #define PLEN 53
914 /*************************/
915 
916 #define PRGMAXNUM 16
917 
918 
919 
920 /***********************************/
921 // For defective pixels corrections
922 /***********************************/
923 /********************/
924 //Commands KeyWords
928 #define DREM 1
929 #define PIX 2
930 #define PITM 3
931 #define COL 4
932 #define CITM 5
933 #define ROW 6
934 #define RITM 7
935 #define DEND 8
936 
938 //Number of commands
939 #define CLEN 8
940 /********************/
941 
942 
946 #define DB_R_FG 255
947 #define DB_G_FG 255
948 #define DB_B_FG 255
949 
951 #define SAVECNT 50
952 #define CHECKDGR 10000
953 #define SCHEDHGRAT 500
954 
955 // definition for AMS commands
956 #define ACKLEN 10
957 #define STS0LEN 9
958 #define STS1LEN 11
959 #define RXTOUT 50
960 
961 /****************/
962 // AMS id's
966 #define AMS1 0
967 #define AMS2 1
968 #define AMS3 2
969 #define AMS4 3
970 
972 #define TEMPORIZED 0
976 #define PRGFILE 1
977 #define TESTAMS 2
978 #define OFFLINEPLOT 3
979 #define TESTCCD 4
980 #define HELP 5
981 #define DBDEMO 6
982 #define MANUAL 7
983 #define TESTAD 8
984 #define DOASMODE 9
985 #define LOGMODE 10
986 #define SZAMASTERM 11
987 #define SZAMODE 12
988 #define TESTSZAMODE 13
989 
991 #define ZENITHSKY 0
995 #define OFFAXIS 1
996 #define HORLAMPOFF 2
997 #define HORLAMPON 3
998 #define RADIOM 4
999 
1001 #define XAX 0
1005 #define YAX 1
1006 
1008 
1009 
1013 #define NOVA7892 0
1014 #define NOVA6612G2 1
1015 #define NOVA945GSE 2
1016 
1018 
1022 #define VS25 0
1023 #define ROTSHUT 1
1024 #define TORQUEM 2
1025 
1027 #define FSIMPLE 0
1031 #define FDOUBLE 1
1032 #define FPLUS 2
1033 
1035 #define RHOUR 0
1039 #define RDAY 1
1040 
1042 
1048 
1420 
1426 
1427 
1428 /*************************************************************************************/
1429 /*************** START EXECUTION MODE PAGE *************************/
1430 /*************************************************************************************/
1664 //<CENTER>**********************************************************************</CENTER>
1665 //<CENTER>********* END EXECUTION MODE PAGE ****************</CENTER>
1666 //<CENTER>**********************************************************************</CENTER>
1667 
1668 
1669 
1670 //<CENTER>**********************************************************************</CENTER>
1671 //<CENTER>********* START DAS MAIN GUI PAGE ****************</CENTER>
1672 //<CENTER>**********************************************************************</CENTER>
1673 
1674 
2944 /*************************************************************************************/
2945 /*************** END DAS GUI PAGE *************************/
2946 /*************************************************************************************/
2947 
2948 /*************************************************************************************/
2949 /*************** START DAS GUI PREVIUOS PAGE *************************/
2950 /*************************************************************************************/
2951 
2952 
2953 /*************************************************************************************/
2954 /*************** END DAS GUI PREVIUOS PAGE *************************/
2955 /*************************************************************************************/
2956 
2957 
2958 
2959 /*************************************************************************************/
2960 /*************** START DRIVERS PAGE *************************/
2961 /*************************************************************************************/
2962 
3113 /*************************************************************************************/
3114 /*************** END DRIVERS PAGE *************************/
3115 /*************************************************************************************/
3116 /*************************************************************************************/
3117 
3118 /*************************************************************************************/
3119 /*************** START UNATTENDED MEASUREMENT PAGE *********************/
3120 /*************************************************************************************/
3121 
3122 
3141 /*************************************************************************************/
3142 /*************** START UNATTENDED MEASUREMENT PAGE *********************/
3143 /*************************************************************************************/
3144 
3145 
3146 /*************************************************************************************/
3147 /*************** START PRG COMMANDS PAGE *********************/
3148 /*************************************************************************************/
3149 /*************************************************************************************/
3150 
3584 /*************************************************************************************/
3585 /*************** END PRG COMMAND PAGE *********************/
3586 /*************************************************************************************/
3587 /*************************************************************************************/
3588 
3589 
3590 
3591 /****************************************************************************/
3592 /* At the pression of the Config button the input box
3593 * for the system Password is displayed.\n
3594 *
3595 * \image html DAS_PWD.jpg
3596 *
3597 * After the pwd is typed the 6 pages for setting the working parameters
3598 * of the DAS program are showed.\n
3599 */
3600 /*****************************************************************************/
3601 
3602 
3603 /*****************************************************************************/
3604 /*****************************************************************************/
3605 /* START DAS CONFIG PAGE */
3606 /*****************************************************************************/
3607 /*****************************************************************************/
3608 
4057 /*****************************************************************************/
4058 /*****************************************************************************/
4059 /* END DAS CONFIG PAGE */
4060 /*****************************************************************************/
4061 /*****************************************************************************/
4062 
4063 //<CENTER>**********************************************************************</CENTER>
4064 //<CENTER>********* START DAS SYS FILES PAGE ****************</CENTER>
4065 //<CENTER>**********************************************************************</CENTER>
4066 
4359 //<CENTER>**********************************************************************</CENTER>
4360 //<CENTER>********* END DAS SYS FILES PAGE ****************</CENTER>
4361 //<CENTER>**********************************************************************</CENTER>
4362 
4363 
4364 
4365 
4366 /**********************************************************************/
4367 /**********************************************************************/
4368 /**********************************************************************/
4369 /**********************************************************************/
4370 
4371 
4516 /***********************************************************************************************/
4517 /***********************************************************************************************/
4518 /***********************************************************************************************/
4519 /***********************************************************************************************/
4520 /***********************************************************************************************/
4521 /***********************************************************************************************/
4522 
4523 
int settemp070
MOBJECT Sh_Tools
Shell for tools.
MOBJECT tbrb
Table Object for rbuttons.
stepm StepM
Stepper motors parameters structure.
MOBJECT edtDSZA
edit box for delta SZA
Status of the Zenith .
gui Gui
Graphic User Interface Structure.
struct controlpanel controlpanel
DAS control panel main structure.
float minsza
Minimum SZA of measurements.
int AUTOEX
Automatic Execution ID.
int Pos
Filter Wheel current Position.
int settemp7080
MOBJECT lblAvg
shells Shells
Shells structure.
MOBJECT lbl
Definition: DFileMan.c:42
MOBJECT edmaxlvlar
edit object maximum level for autoranging
adtester ADTester
AD converter tester.
unsigned long * PLColor[]
Definition: DAS_Spat.c:251
struct dftp dftp
structure for FTP setting
optionini DOption
Options for DAS execution.
int extlamp
0 = external lamp OFF; 1 = external lamp ON
Status of the ND Filter wheel .
int savingmode
Flag to set saving mode: 0=ASCII, 1=Binary.
int OwnPwdOk
double alititude
Station altitude.
int MIGELinked
double target
Azimuth Targrt position.
Structure for Horizontal Measurements .
int plblf
PASSIVE labels fonts.
int CoolSts
Cool status.
int NAMS
Number of AMSs Devices.
MOBJECT Albl_sunr
Active Control Panel Labels for Sunrise.
int llblf
Lamps Labels fonts.
MOBJECT Sh_Wl
Wavelength Shell.
int Dir
Grating Direction.
double Dailymaxsza
Daily maximum SZA.
int TRType
Type of thermo regulation (0=TRTCOOL, 1 = TRTHEAT, 2= TRTBOTH)
MOBJECT LedQJ
Control Panel Led for QJ Lamp.
double LastMSZA
SZA of the previous measurement.
struct GratingSt GratingSt
Status of the Grating .
double realazpos
Stepper motors parameters structure .
int PCPower
Power to the Peltier for Cooling.
MOBJECT AMSTabForm
int gratposmode
Grating position mode flag: = 0 step mode; = 1 Wl mode.
int Wl
Flag for the units on the X scale plot.
int SM_A
Motor A (su Y11) respectively: ID=0->InputMirror,ID=1->FilterWheel,ID=2->Zenith.
int PwdOK
MOBJECT TbFrmSM
Tab form for Stepper Motors.
MOBJECT lblStatus
label for STATUS
int plotW
Flag for the plot display.
int sza
= 1 -> perform measurements; = 0 -> waiting mode
Push buttons . Push buttons for keyboard, Wavelength, mirror, filters.
float ssza
Start SZA.
das structure (contain all the previous structures) .
int VMRsf
ViewModifyReloadsystemfile: 0 = ViewModify, 1 = Reload.
struct mige mige
structure for MIGE Dwvice .
int ccdWx
CCD X End.
MTColor yellow
MOBJECT Sh_Mir
Mirror Shell.
Marconi CCD sensor.
MOBJECT lbl_mvgratmode
Active Control Panel Labels for Sunset.
int esec
End Seconds.
Control Panel and push buttons colors .
double latitude
Station latitude.
int REINITCCD
Flag for CCD re-Initialization: =0 - wait for countdown, =1 - Ready for re-init camera.
colors structure .
MTColor white
int eora
End hour.
struct shells shells
DAS shells structure The structures for building the main shells defined in the program.
short OMU_TempReached
OMU presetted temperature reached -> = 1.
Options for DAS execution (in option.ini file) .
int Pos
Mirror Current Position.
flag Flag
Structure for different flags.
MOBJECT Sh_Main
Main shell for control panel.
MOBJECT tbavg
table for avg section
int darkremove
Flag to set Dark Removal from measurements; motors0 = No Dark Removal, 1 = Dark Removal.
structure for FTP setting
int filtertype
type of installed filter module: 0=Simple-SM3, 1=Double-SM3+SM4, 2=simpleplus-SM3+TM) ...
MOBJECT Sh_Home
Home Shell.
int FlgSh_PWD
MOBJECT WDT_edt
edit Mobject for Watch-Dog elapsed time
unsigned short DigOut
Digital Output.
int SimShell
= 1 Simultaneous positioning Shell opened
DAS gui (DAS graphical user interface) structure .
unsigned long stepb
LOG file and time structure.
struct master master
master structure .
int ccdXoff
CCD X Start.
MOBJECT Sh_mg
Password Shell.
MOBJECT frm4_dr1
MOBJECT Sh_KeyB
Keyboard Shell.
double target
Zenith target position.
MOBJECT reletester
geographical coordinate structure .
int type
int PrgNumInM
Actual number of PRG File in current MASTER or MASTERSZA File.
int avgautor
autoranging for averaged measurement, 0 = NO AutoR before average; 1 = AutoR before average; ...
structure for deltaSZA Measurements .
int target
Mirror Target position.
struct FilterWheelSt FilterWheelSt
Status of the Filter wheel .
palette * ppalette
Control Panel and push buttons colors.
int selitem
struct das das
das structure (contain all the previous structures) .
int klbdf
Capital Labels DW fonts.
Structure containing the previous defined structures defined for the spectrometers devices ...
float CoolPT
Previous Temperature (DTA -> DC_CoolPT)
struct ZenithSt ZenithSt
Status of the Zenith .
CARD32 MTColor
Definition: Mguidefs.h:183
MOBJECT Albl_suns
Active Control Panel Labels for Sunset.
int Pos
Filter Wheel current Position.
int GRATHOME
Home for Grating ID.
d_geo DGeo
struct for Station location
MOBJECT Albl_Azim
Active Control Panel Labels for Sun Azimuth.
MOBJECT edid
edit for FTP server user
undopal * pundopal
UNDO Control Panel and push buttons colors.
int slblf
status Label fonts
MOBJECT Sh_PlotTools
Shell for plot tools.
Control Flags.
int ccdWy
CCD Y End.
dpwd Dpwd
password structure
float CoolTT
Target Temperature (DTA -> DC_CoolTT)
int exec
= 0 -> PRG Execution Paused; = 1 -> PRG Execution Resumed
int Wl
Grating Wavelength.
int ROwnPwdOk
horizmeas HorizMeas
Structure for Horizontal Measurements.
MOBJECT edtaz
int hlinebefore
Number of HiddenLines before the central line in Plot.
tools Tools
Push buttons for various tools.
int emin
End Minutes.
int TIMER
Timer ID.
MOBJECT lbl_Time
Control Panel Labels for Time.
int timezone
Station timezone.
int dtlbf
date/time Label fonts
long dp
Grating backslash recovery steps.
MOBJECT shell
Horizontal measurements shell.
float CCDTemp
Actual CCD Temperature.
int WDT
Watch Dog.
int ADTempTest
= 0 -> AD Converter results on the Control Panel; = 1 -> AD Converter Testing Phase(results on the co...
int Dir
Filter Wheel Direction.
int CCDTEMP
CCD Temperature ID.
float PID_ki
int MIGEType
struct undopal undopal
UNDO Control Panel and push buttons colors .
int CoolCnt
Time Counter.
int avgmode
Flag to set Averaging mode: 0 = Repeat measurements for fixed number, 1 = Repeat measurements for fix...
mtcl * mtcl
MGUI true color structure.
Control Panel and push buttons fonts .
double Dailyminsza
Daily minimum SZA.
int settemp8095
int PHPower
Power to the Peltier for Heating.
MOBJECT edServerFTP
edit for FTP server address
int REFRTEMP
REFRESH Temperature ID.
int sora
Start hour.
MOBJECT Albl_Script
Active Control Panel Labels for Script in execution.
MOBJECT Sh_Fil
Filter Shell.
int ReachTemp
CCD Temperature Reached.
int VBin
CCD Vertical Binning.
int PID_On
PID activation.
paramini structure . It contains some of the parameters defined in the file PARAM.INI .
int Dir
Mirror direction.
int CoolPw
CCD Init Power.
int demo
= 1 –> DEMO mode
MirrorSt MiSt
Status Input Mirror.
DAS shells structure The structures for building the main shells defined in the program.
int AMSH
AMSHome ID.
float * Temptemp
Buffer for lis temperature.
int UPS_Battery
flag for UPS Battery: = 0 Normal Operation, 1 = working on UPS battery
id&#39;s for different tasks .
structure for MIGE Dwvice .
struct omuthr omuthr
OMU Thermoregulation structure .
MOBJECT ADInflbl
double MaxSZA
Maximum SZA.
#define AMSMAX
Max AMSs number.
undopal Undopal
UNDO Control Panel and push buttons colors.
int emshutter
Presence of the CCD Shutter, emshutter = 1 –> Shutter IS Installed, = 0 –> Shutter NOT Installed...
mige MIGE
NOVA7892 structure .
double DeltaSZA
DeltaSZA.
int DeltaSZA
= 1 Delta SZA measurements activated, = 0 Continous measurements
float CoolTmp
Temporary temperature.
mtcl MtCl
MGUI true color structure.
sd_status SD_Status
Spectrometer Devices Status (FW, Grating, Mirror Zenith Azimuth.
int plotYRange
0 –> full range; 1 –> min/max
int resetFreq
frequency of DAS/Windows Reset
MOBJECT edtDASReset
edit box for DAS Reset
MOBJECT FixMeasNum
struct dfont dfont
Control Panel and push buttons fonts .
int phi
Azimuth Angle.
int theta
Zenith Angle.
MOBJECT FixTExp
MOBJECT Sh_NDFil
ND Filter Shell.
tools buttons . Push buttons for various tools .
int ADPC104
0 –> Device PC104 exist, 1 –> PC104 DOESN&#39;T exist
pushbutt PushButt
Push buttons.
dftp Dftp
Structure for FTP setting.
struct pushbutt pushbutt
Push buttons . Push buttons for keyboard, Wavelength, mirror, filters.
int backlashrec
flag for backlash recovery: =0 perform backlash rec.; = 1 DO NOT perform backlash rec...
int smin
Start Minutes.
struct dpwd dpwd
System password structure .
struct sd_status sd_status
Structure containing the previous defined structures defined for the spectrometers devices ...
struct AzimuthSt AzimuthSt
Status of the Azimuth .
int amsprogbar
display/hide prograssion bar, 0 = Hide, 1 = display
int WindowsReboot
Flag that became 1 when Windows reboot is setted (SetWinowsReset)
#define _MAX_PATH
Definition: Dildef.h:202
ZenithSt ZeSt
Status Zenith.
AzimuthSt AzSt
Status Azimuth.
int FlagFilter
flag for filterinf
struct dlog dlog
LOG file and time structure.
int hlineafter
Number of HiddenLines after the central line in Plot.
int linked
int nitem
Number of items of the GeoDB.ini.
struct mtcl mtcl
struct MirrorSt MirrorSt
Status of the Mirror .
int alblf
ACTIVE Label fonts.
struct NDFilterWheelSt NDFilterWheelSt
Status of the ND Filter wheel .
MOBJECT listReset
list for reset frequency
struct stepm stepm
Stepper motors parameters structure .
MTColor vmbg
int Dir
Zenith Direction.
int ftpstatus
0 = FTP Back-UP Not executed; 1 = FTP Back-UP executed;
int buttf
Buttons fonts.
nova Nova
NOVA structure.
configpanel ConfigPanel
Configuration panel structure.
MOBJECT Albl_Status
Active Control Panel Labels for Status.
MOBJECT Sh_SimPos
Simultaneous Positioning Shell.
int Dir
Filter Wheel Direction.
structure for AD Tester
int SM_B
Motor B (su Y12) respectively: ID=0->Grating,ID=1->Not Connected,ID=2->Azimuth.
int LISTEMP
Lis Temperature ID.
GratingSt GrSt
Status Grating.
int AMS_H
Home AMS.
int ssec
Start Seconds.
dlog DLog
Log file.
int FlagDisplay
int Off
Mirror Offset.
MOBJECT lblReset
label for reset frequency
FilterWheelSt FWSt
Status Filter Wheel.
int LOG
Log ID.
int pixcorr
Flag to set defective pixel correction: 0=NOT Corrected, 1=Corrected.
int fileprg
Flag indicating the execution of a PRG file: = 0 –> No PRG File; = 1 –> PRG file in execution...
MOBJECT ShellConfig
Shell configuration panel.
controlpanel ContrPanel
Control Panel Structure.
int ftpbackup
Flag to set back up: 0 = NO FTP Back-UP; 1 = Perform FTP Back-UP.
DAS control panel main structure.
int target
Filter target Position.
float CoolAT
Actual Temperature (DTA -> DC_Temp)
int imgtype
Flag to set Image type: 0=MONOINT, 1=RGB.
int PrgNumExe
number of PRG file in execution
int flagnewstation
New Station Flag.
long * AVGmat
buffer for averaging measurements
struct optionini optionini
Options for DAS execution (in option.ini file) .
double longitude
Station longitude.
dsza SZADelta
delta SZA structure (for measurements at fixed SZA)
int target
Filter target Position.
int measmode
measuring mode: 0 = Single; 1 = Averaged
MOBJECT BPDark
unsigned long stepa
struct adtester adtester
structure for AD Tester
Configuration panel structure .
struct color color
colors structure .
float maxsza
Maximun SZA of Measurements.
int settempvar
float PID_kp
int manhormeas
1 = horizontal measurements in manual mode
struct ids ids
id&#39;s for different tasks .
struct dsza dsza
structure for deltaSZA Measurements .
void * MOBJECT
Definition: Mguidefs.h:192
double NextSZA
SZA of the Next measurement.
int ioadd
NOVA I/O Port Address (220h,240h,260h) For NOVA7892.
int ExeDSZA
= 1 the measurements are performed, = 0 waiting for the next deltasza.
Status of the Mirror .
double maxtexp
Maximum exposure time (used in Autorange())
MOBJECT ADpb
int aaopmode
operation mode for the Alt Az Platform, 0 = solar Traxker; 1 = Anti-Solar Tracker; 2 = Free Positioni...
struct paramini paramini
paramini structure . It contains some of the parameters defined in the file PARAM.INI .
MOBJECT Sh_PWD
Password Shell.
int smposmode
positioning mode for stepper , 0 = sequential mode; 1 = simoultaneous mode
struct configpanel configpanel
Configuration panel structure .
double realzenpos
int filename
Flag to set file name mode 0=Free choice, 1 = Automatic.
MOBJECT Albl_Elev
Active Control Panel Labels for Sun Elevation.
long Pos
Grating Position.
palette Palette
Control Panel and push buttons colors.
MOBJECT edpwd
edit for FTP server pwd
struct nova nova
NOVA7892 structure .
int EqType
Spectrometer Type.
int Dir
Azimuth Direction.
struct palette palette
Control Panel and push buttons colors .
MOBJECT HiddenL
unsigned char DigIn
Digital Input.
struct d_geo d_geo
geographical coordinate structure .
struct gui gui
DAS gui (DAS graphical user interface) structure .
struct tools tools
tools buttons . Push buttons for various tools .
master structure .
double Pos
Azimuth Current Position.
struct horizmeas horizmeas
Structure for Horizontal Measurements .
float esza
End SZA.
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...
dfont DFont
fonts
int type
type of NOVA monoboard used (7892 or 945GSE)
int resetType
type of period for DAS Reset: 0=Hours, 1=Days
int stepgratenc
step to the grating mode: = 0 typed steps sent to the stepper; = 1 typed step are parametrized ...
MOBJECT lblCorrPixF
label for name file used for defec pix correction
int DispBlindPix
Display Blind Pix: 0 = NO, 1 = Yes.
struct marconi marconi
Marconi CCD sensor.
double Pos
Zenith Current Position.
Status of the Azimuth .
int Flg1AskPWD
MOBJECT LedHG
Control Panel Led for HG Lamp.
int FlagShutter
flag for shutter status. =1–> Shutter Open; =0->shutter Closed
Status of the Filter wheel .
MOBJECT pbBrowseCorrPixF
Push button for file selection.
int ccdYoff
CCD Y Start.
color Color
colors struct
int shuttertype
type of installed shutter: 0 = VS25, 1 = Rotating Shutter, 2 = TorqueMotor
int extshutter
0 = external shutter open; 1 = external shutter closed
System password structure .
MOBJECT Pagedfrm_SM
Pged form for Stepper Motors.
double ITemp
CCD Target Temperature.
unsigned int maxlvlar
maximum level of autoranging (max 65000)
UNDO Control Panel and push buttons colors .
int WinFil
Value of filtering windows.
MOBJECT FFDark
unsigned short WDT_TOUT
WDT timeout.
Status of the Grating .
int AMSPres
AMS Presence: 0 = AMS FOUND; 1 = AMS NOT FOUND.
int exemode
Set the Execution MODE (Execution modes)
double TPelt
OMU Target Temperature.
long target
Grating target Wl.
OMU Thermoregulation structure .
double MinSZA
Minimum SZA.
ids Ids
id&#39;s for different tasks
MOBJECT lbltelap
label elapsed time (for WDT)
int FlagSpikes
MOBJECT edtzen
int klbuf
Capital Labels UP fonts.
MOBJECT SZAMax
int ReachTemp
Target Temperature status.
struct flag flag
Control Flags.
float PID_kd
master MasterMode
Structure for master execution mode.
marconi Marconi
CCD Sensor struct.
paramini Paramini
structure for the parameters defined in param.ini configuration file
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:44:07 for DAS - Rel. 3.1.6 - 18/09/2017.