# HG changeset patch # User Daniele Nicolodi # Date 1391200294 -3600 # Node ID 75689bfa69afd701fee81bcf385935d316521f51 # Parent 0f7adefc4d373f2a759ddb4a65661ca259a8bab2 Fix data logging diff -r 0f7adefc4d37 -r 75689bfa69af FXAnalyse.h --- 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); diff -r 0f7adefc4d37 -r 75689bfa69af FXAnalyse.uir Binary file FXAnalyse.uir has changed