changeset 153:75689bfa69af

Fix data logging
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 31 Jan 2014 21:31:34 +0100
parents 0f7adefc4d37
children a50f9a8168ae
files FXAnalyse.h FXAnalyse.uir
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/FXAnalyse.h	Fri Jan 31 21:27:51 2014 +0100
+++ b/FXAnalyse.h	Fri Jan 31 21:31:34 2014 +0100
@@ -81,12 +81,12 @@
 #define  PANEL_PLOT_Math3                 44      /* control type: radioButton, callback function: CB_OnFreqPlot */
 #define  PANEL_SAVE_EXTRA                 45      /* control type: radioButton, callback function: (none) */
 #define  PANEL_SR_LOGGER                  46      /* control type: radioButton, callback function: CB_SrDatalogger */
-#define  PANEL_SAVE_SR                    47      /* control type: radioButton, callback function: (none) */
+#define  PANEL_SAVE_SR                    47      /* control type: radioButton, callback function: CB_SaveData */
 #define  PANEL_ADEV_Math3                 48      /* control type: radioButton, callback function: CB_OnAllanPlot */
 #define  PANEL_MATHSTRING4                49      /* control type: string, callback function: CB_ChangeMath */
 #define  PANEL_PLOT_Math2                 50      /* control type: radioButton, callback function: CB_OnFreqPlot */
-#define  PANEL_SAVE_HG                    51      /* control type: radioButton, callback function: (none) */
-#define  PANEL_SAVE_LO                    52      /* control type: radioButton, callback function: (none) */
+#define  PANEL_SAVE_HG                    51      /* control type: radioButton, callback function: CB_SaveData */
+#define  PANEL_SAVE_LO                    52      /* control type: radioButton, callback function: CB_SaveData */
 #define  PANEL_ADEV_Math2                 53      /* control type: radioButton, callback function: CB_OnAllanPlot */
 #define  PANEL_MATHSTRING3                54      /* control type: string, callback function: CB_ChangeMath */
 #define  PANEL_MATHSTRING1                55      /* control type: string, callback function: CB_ChangeMath */
@@ -125,10 +125,10 @@
 #define  PANEL_MEASURE_SLOPE              88      /* control type: LED, callback function: CB_MeasureSlope */
 #define  PANEL_SLOPE_MEASURED             89      /* control type: numeric, callback function: (none) */
 #define  PANEL_RESET_DEDRIFT_DDS          90      /* control type: command, callback function: CB_ResetDedriftDDS */
-#define  PANEL_SAVE_RAW                   91      /* control type: radioButton, callback function: (none) */
+#define  PANEL_SAVE_RAW                   91      /* control type: radioButton, callback function: CB_SaveData */
 #define  PANEL_SHOWLOG                    92      /* control type: radioButton, callback function: CB_ShowLog */
 #define  PANEL_SLOPEX2                    93      /* control type: radioButton, callback function: CB_SlopeX2 */
-#define  PANEL_SAVE_DDS                   94      /* control type: radioButton, callback function: (none) */
+#define  PANEL_SAVE_DDS                   94      /* control type: radioButton, callback function: CB_SaveData */
 #define  PANEL_DECORATION_2               95      /* control type: deco, callback function: (none) */
 #define  PANEL_DECORATION_8               96      /* control type: deco, callback function: (none) */
 #define  PANEL_DECORATION                 97      /* control type: deco, callback function: (none) */
@@ -200,6 +200,7 @@
 int  CVICALLBACK CB_RecenterEnable(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 int  CVICALLBACK CB_RecenterInterval(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 int  CVICALLBACK CB_ResetDedriftDDS(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
+int  CVICALLBACK CB_SaveData(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 CB_ShowLog(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 int  CVICALLBACK CB_Sign3(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
Binary file FXAnalyse.uir has changed