diff FXAnalyse.h @ 76:5e0c314528bf

Refactor data writing to disk. Implement dayly chunking to separate files
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 30 Nov 2012 17:42:02 +0100
parents 6aae1ebf397f
children 46fe62febcd0
line wrap: on
line diff
--- a/FXAnalyse.h	Thu Nov 29 13:16:32 2012 +0100
+++ b/FXAnalyse.h	Fri Nov 30 17:42:02 2012 +0100
@@ -147,31 +147,30 @@
 #define  PANEL_UTC                        93      /* control type: numeric, callback function: (none) */
 #define  PANEL_TIME                       94      /* control type: string, callback function: (none) */
 #define  PANEL_DATE                       95      /* control type: string, callback function: (none) */
-#define  PANEL_CHOOSESAVEFILE             96      /* control type: command, callback function: OnChooseSaveFile */
-#define  PANEL_SPLITTER_14                97      /* control type: splitter, callback function: (none) */
-#define  PANEL_SPLITTER_13                98      /* control type: splitter, callback function: (none) */
-#define  PANEL_DDS4                       99      /* control type: numeric, callback function: CB_ChangeDDSOut */
-#define  PANEL_SPLITTER_2                 100     /* control type: splitter, callback function: (none) */
-#define  PANEL_DDS3                       101     /* control type: numeric, callback function: CB_ChangeDDSOut */
-#define  PANEL_N1CALCULUS                 102     /* control type: command, callback function: CB_OnNCalculus */
-#define  PANEL_FINDSIGN3                  103     /* control type: command, callback function: CB_OnFindSign */
-#define  PANEL_SIGN3                      104     /* control type: numeric, callback function: (none) */
-#define  PANEL_FINDSIGN2                  105     /* control type: command, callback function: CB_OnFindSign */
-#define  PANEL_SIGN2                      106     /* control type: numeric, callback function: (none) */
-#define  PANEL_FINDSIGN1                  107     /* control type: command, callback function: CB_OnFindSign */
-#define  PANEL_SIGN1                      108     /* control type: numeric, callback function: (none) */
-#define  PANEL_FIND10K3                   109     /* control type: command, callback function: CB_OnFind275K */
-#define  PANEL_FIND275K2                  110     /* control type: command, callback function: CB_OnFind275K */
-#define  PANEL_RESETSLOPE                 111     /* control type: command, callback function: CB_OnResetSlope */
-#define  PANEL_CHECKBOX_STOPIFAUTODE      112     /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */
-#define  PANEL_CHECKBOX_RECENTER          113     /* control type: radioButton, callback function: CB_OnReCentering */
-#define  PANEL_CHECKBOX_KEEPSLOPE         114     /* control type: radioButton, callback function: CB_OnCROX */
-#define  PANEL_CHECKBOX_KEEP              115     /* control type: radioButton, callback function: CB_OnCROX */
-#define  PANEL_SLOPE_REFERENCE            116     /* control type: ring, callback function: CB_OnSlopeReference */
-#define  PANEL_ESTIMATE_N3                117     /* control type: command, callback function: CB_OnEstimateN */
-#define  PANEL_INVERT_SLOPE_SIGN          118     /* control type: radioButton, callback function: CB_InvertSlopeSign */
-#define  PANEL_MEASURE_SLOPE              119     /* control type: LED, callback function: CB_MeasureSlope */
-#define  PANEL_SLOPE_MEASURED             120     /* control type: numeric, callback function: (none) */
+#define  PANEL_SPLITTER_14                96      /* control type: splitter, callback function: (none) */
+#define  PANEL_SPLITTER_13                97      /* control type: splitter, callback function: (none) */
+#define  PANEL_DDS4                       98      /* control type: numeric, callback function: CB_ChangeDDSOut */
+#define  PANEL_SPLITTER_2                 99      /* control type: splitter, callback function: (none) */
+#define  PANEL_DDS3                       100     /* control type: numeric, callback function: CB_ChangeDDSOut */
+#define  PANEL_N1CALCULUS                 101     /* control type: command, callback function: CB_OnNCalculus */
+#define  PANEL_FINDSIGN3                  102     /* control type: command, callback function: CB_OnFindSign */
+#define  PANEL_SIGN3                      103     /* control type: numeric, callback function: (none) */
+#define  PANEL_FINDSIGN2                  104     /* control type: command, callback function: CB_OnFindSign */
+#define  PANEL_SIGN2                      105     /* control type: numeric, callback function: (none) */
+#define  PANEL_FINDSIGN1                  106     /* control type: command, callback function: CB_OnFindSign */
+#define  PANEL_SIGN1                      107     /* control type: numeric, callback function: (none) */
+#define  PANEL_FIND10K3                   108     /* control type: command, callback function: CB_OnFind275K */
+#define  PANEL_FIND275K2                  109     /* control type: command, callback function: CB_OnFind275K */
+#define  PANEL_RESETSLOPE                 110     /* control type: command, callback function: CB_OnResetSlope */
+#define  PANEL_CHECKBOX_STOPIFAUTODE      111     /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */
+#define  PANEL_CHECKBOX_RECENTER          112     /* control type: radioButton, callback function: CB_OnReCentering */
+#define  PANEL_CHECKBOX_KEEPSLOPE         113     /* control type: radioButton, callback function: CB_OnCROX */
+#define  PANEL_CHECKBOX_KEEP              114     /* control type: radioButton, callback function: CB_OnCROX */
+#define  PANEL_SLOPE_REFERENCE            115     /* control type: ring, callback function: CB_OnSlopeReference */
+#define  PANEL_ESTIMATE_N3                116     /* control type: command, callback function: CB_OnEstimateN */
+#define  PANEL_INVERT_SLOPE_SIGN          117     /* control type: radioButton, callback function: CB_InvertSlopeSign */
+#define  PANEL_MEASURE_SLOPE              118     /* control type: LED, callback function: CB_MeasureSlope */
+#define  PANEL_SLOPE_MEASURED             119     /* control type: numeric, callback function: (none) */
 
 
      /* Menu Bars, Menus, and Menu Items: */
@@ -216,7 +215,6 @@
 int  CVICALLBACK CB_OnStopSlopeCancellingOnUnlocked(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 int  CVICALLBACK CB_OnTimer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 int  CVICALLBACK CB_SetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-int  CVICALLBACK OnChooseSaveFile(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 int  CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);