view FXAnalyse.h @ 13:e45d6e9544f5

Log file name and line number on error
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 16 Jul 2012 13:04:01 +0200
parents bd7501b65f56
children 9cadd12e7722
line wrap: on
line source

/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/* Copyright (c) National Instruments 2012. All Rights Reserved.          */
/*                                                                        */
/* WARNING: Do not add to, delete from, or otherwise modify the contents  */
/*          of this include file.                                         */
/**************************************************************************/

#include <userint.h>

#ifdef __cplusplus
    extern "C" {
#endif

     /* Panels and Controls: */

#define  CALC3                            1

#define  CALCN1                           2
#define  CALCN1_TARGET_2                  2       /* control type: numeric, callback function: (none) */
#define  CALCN1_COMMANDBUTTON_3           3       /* control type: command, callback function: (none) */
#define  CALCN1_COMMANDBUTTON_4           4       /* control type: command, callback function: (none) */
#define  CALCN1_NUMERIC_4                 5       /* control type: numeric, callback function: (none) */
#define  CALCN1_NUMERIC_5                 6       /* control type: numeric, callback function: (none) */
#define  CALCN1_N_1                       7       /* control type: numeric, callback function: (none) */
#define  CALCN1_NUMERIC_6                 8       /* control type: numeric, callback function: (none) */
#define  CALCN1_ACCEPTN1                  9       /* control type: command, callback function: OnAcceptN */
#define  CALCN1_CHECKBOX_2                10      /* control type: radioButton, callback function: (none) */
#define  CALCN1_TEXTMSG_2                 11      /* control type: textMsg, callback function: (none) */
#define  CALCN1_SLOPE                     12      /* control type: numeric, callback function: (none) */
#define  CALCN1_TEXTMSG_8                 13      /* control type: textMsg, callback function: (none) */
#define  CALCN1_DELTAFREQ                 14      /* control type: numeric, callback function: CB_OnDeltaFreq */
#define  CALCN1_SLOPETIME                 15      /* control type: numeric, callback function: CB_OnSlopeTime */
#define  CALCN1_INTEGRATIONTIME           16      /* control type: numeric, callback function: CB_OnIntegrationTime */
#define  CALCN1_COMMANDBUTTON_2           17      /* control type: command, callback function: CB_OnNStop */
#define  CALCN1_COMMANDBUTTON             18      /* control type: command, callback function: CB_OnStartNCalculus */

#define  CALCN2                           3
#define  CALCN2_SLOPE                     2       /* control type: numeric, callback function: (none) */
#define  CALCN2_TEXTMSG_8                 3       /* control type: textMsg, callback function: (none) */
#define  CALCN2_DELTAFREQ                 4       /* control type: numeric, callback function: CB_OnDeltaFreq */
#define  CALCN2_INTEGRATIONTIME           5       /* control type: numeric, callback function: CB_OnIntegrationTime */
#define  CALCN2_N_2                       6       /* control type: numeric, callback function: (none) */
#define  CALCN2_STOP2                     7       /* control type: command, callback function: CB_OnNStop */
#define  CALCN2_COMMANDBUTTON             8       /* control type: command, callback function: CB_OnStartNCalculus */
#define  CALCN2_ACCEPTN1                  9       /* control type: command, callback function: OnAcceptN */
#define  CALCN2_SLOPETIME                 10      /* control type: numeric, callback function: CB_OnSlopeTime */

#define  CALCN3                           4
#define  CALCN3_SLOPE                     2       /* control type: numeric, callback function: (none) */
#define  CALCN3_TEXTMSG_8                 3       /* control type: textMsg, callback function: (none) */
#define  CALCN3_DELTAFREQ                 4       /* control type: numeric, callback function: CB_OnDeltaFreq */
#define  CALCN3_INTEGRATIONTIME           5       /* control type: numeric, callback function: CB_OnIntegrationTime */
#define  CALCN3_N_3                       6       /* control type: numeric, callback function: (none) */
#define  CALCN3_COMMANDBUTTON_2           7       /* control type: command, callback function: CB_OnN3Stop */
#define  CALCN3_COMMANDBUTTON             8       /* control type: command, callback function: CB_OnStartN3Calculus */
#define  CALCN3_ACCEPTN1                  9       /* control type: command, callback function: OnAcceptN */

#define  PANEL                            5       /* callback function: CB_OnEventMain */
#define  PANEL_QUITBUTTON                 2       /* control type: command, callback function: QuitCallback */
#define  PANEL_STARTBUTTON                3       /* control type: command, callback function: CB_OnStart */
#define  PANEL_STOPBUTTON                 4       /* control type: command, callback function: CB_OnStop */
#define  PANEL_FREQ4                      5       /* control type: numeric, callback function: (none) */
#define  PANEL_FREQ3                      6       /* control type: numeric, callback function: (none) */
#define  PANEL_FREQ2                      7       /* control type: numeric, callback function: (none) */
#define  PANEL_FREQ1                      8       /* control type: numeric, callback function: (none) */
#define  PANEL_CHECKBOX_DDSSRALLAN        9       /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_DDSHGALLAN        10      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_DDSFREPALLAN      11      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_DDSSRPLOT         12      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_MATH1ALLAN        13      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_DDSHGPLOT         14      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_FREQ4ALLAN        15      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_DDSFREPPLOT       16      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_FREQ3ALLAN        17      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ4PLOT         18      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_FREQ2ALLAN        19      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ3PLOT         20      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_CORRFREQU         21      /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_CHECKBOX_FREQ1ALLAN        22      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ2PLOT         23      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH1PLOT         24      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_FREQ1PLOT         25      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_TIMER                      26      /* control type: timer, callback function: CB_OnTimer */
#define  PANEL_DDS2                       27      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_TEXTMSG                    28      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_2                  29      /* control type: textMsg, callback function: (none) */
#define  PANEL_SLOPETIME                  30      /* control type: numeric, callback function: CB_ChangeSlopeTime */
#define  PANEL_DDS1                       31      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_SPLITTER_4                 32      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER                   33      /* control type: splitter, callback function: (none) */
#define  PANEL_CHANGENDIV                 34      /* control type: numeric, callback function: CB_OnChangeNdiv */
#define  PANEL_DDSFREPOUT                 35      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_N3CHOICE                   36      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N3CALCULUS                 37      /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_N1CHOICE                   38      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N2CHOICE                   39      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N2CALCULUS                 40      /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_TEXTMSG_14                 41      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_3                  42      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_4                  43      /* control type: textMsg, callback function: (none) */
#define  PANEL_DDS4STEP                   44      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDS3STEP                   45      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDS2STEP                   46      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_CENTERFREQUENCY            47      /* control type: numeric, callback function: (none) */
#define  PANEL_SLOPETOCANCEL              48      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH4                      49      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH5                      50      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH3                      51      /* control type: numeric, callback function: (none) */
#define  PANEL_CHECKBOX_MATH5PLOT         52      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH4PLOT         53      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH4ALLAN        54      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_DDS1STEP                   55      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_TEXTMSG_15                 56      /* control type: textMsg, callback function: (none) */
#define  PANEL_CHECKBOX_MATH5ALLAN        57      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_MATH3PLOT         58      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH5SAVE         59      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_MATH3SAVE_2       60      /* control type: radioButton, callback function: CB_OnSaveSr */
#define  PANEL_CHECKBOX_MATH3ALLAN        61      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_DDSFREPSTEP                62      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDSFREPAMP                 63      /* control type: numeric, callback function: CB_ChangeDDSAmpli */
#define  PANEL_MATHSTRING4                64      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_17                 65      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATH2                      66      /* control type: numeric, callback function: (none) */
#define  PANEL_SPLITTER_15                67      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_12                68      /* control type: splitter, callback function: (none) */
#define  PANEL_CHECKBOX_MATH2PLOT         69      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH3SAVE         70      /* control type: radioButton, callback function: CB_OnSaveHg */
#define  PANEL_CHECKBOX_MATH2SAVE         71      /* control type: radioButton, callback function: CB_OnSaveOpt */
#define  PANEL_CHECKBOX_MATH2ALLAN        72      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_TEXTMSG_7                  73      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING3                74      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_MATH1                      75      /* control type: numeric, callback function: (none) */
#define  PANEL_SPLITTER_6                 76      /* control type: splitter, callback function: (none) */
#define  PANEL_TEXTMSG_18                 77      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_6                  78      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_8                  79      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_19                 80      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING1                81      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_9                  82      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_10                 83      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING2                84      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_SPLITTER_10                85      /* control type: splitter, callback function: (none) */
#define  PANEL_TEXTMSG_16                 86      /* control type: textMsg, callback function: (none) */
#define  PANEL_SPLITTER_11                87      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_9                 88      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_3                 89      /* control type: splitter, callback function: (none) */
#define  PANEL_MINUS10KDDS1               90      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS4               91      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS3               92      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS2               93      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_PLUS10KDDS4                94      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_MINUS275K                  95      /* control type: command, callback function: CB_OnMinus275k */
#define  PANEL_PLUS10KDDS3                96      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS10KDDS1                97      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS10KDDS2                98      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS275K                   99      /* control type: command, callback function: CB_OnPlus275k */
#define  PANEL_TEXTMSG_11                 100     /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING5                101     /* control type: textBox, callback function: CB_ChangeMath */
#define  PANEL_SPLITTER_8                 102     /* control type: splitter, callback function: (none) */
#define  PANEL_MJD                        103     /* control type: numeric, callback function: (none) */
#define  PANEL_UTC                        104     /* control type: numeric, callback function: (none) */
#define  PANEL_TIME                       105     /* control type: string, callback function: (none) */
#define  PANEL_DATE                       106     /* control type: string, callback function: (none) */
#define  PANEL_CHECKBOX_MATH3AUTOSAV      107     /* control type: radioButton, callback function: CB_OnAutoSaveSr */
#define  PANEL_CHECKBOX_MATH2AUTOSAV      108     /* control type: radioButton, callback function: CB_OnAutoSaveHg */
#define  PANEL_CHOOSESAVEFILE             109     /* control type: command, callback function: OnChooseSaveFile */
#define  PANEL_SPLITTER_14                110     /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_13                111     /* control type: splitter, callback function: (none) */
#define  PANEL_DDS4                       112     /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_SPLITTER_2                 113     /* control type: splitter, callback function: (none) */
#define  PANEL_DDS3                       114     /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_N1CALCULUS                 115     /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_FINDSIGN3                  116     /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN3                      117     /* control type: numeric, callback function: (none) */
#define  PANEL_FINDSIGN2                  118     /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN2                      119     /* control type: numeric, callback function: (none) */
#define  PANEL_FINDSIGN1                  120     /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN1                      121     /* control type: numeric, callback function: (none) */
#define  PANEL_FIND10K3                   122     /* control type: command, callback function: CB_OnFind275K */
#define  PANEL_FIND275K2                  123     /* control type: command, callback function: CB_OnFind275K */
#define  PANEL_RESETSLOPE                 124     /* control type: command, callback function: CB_OnResetSlope */
#define  PANEL_CHECKBOX_STOPIFAUTODE      125     /* control type: radioButton, callback function: CB_OnAutoStopSlopeCancellingIfDelock */
#define  PANEL_CHECKBOX_RECENTER          126     /* control type: radioButton, callback function: CB_OnReCentering */
#define  PANEL_CHECKBOX_KEEPSLOPE         127     /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_CHECKBOX_KEEP              128     /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_STARTCANCEL                129     /* control type: textButton, callback function: CB_OnStartSlopeCancelling */
#define  PANEL_LED1                       130     /* control type: LED, callback function: (none) */
#define  PANEL_LED2                       131     /* control type: LED, callback function: (none) */
#define  PANEL_SLOPE_REFERENCE            132     /* control type: ring, callback function: SlopeReference_cb */


     /* Menu Bars, Menus, and Menu Items: */

          /* (no menu bars in the resource file) */


     /* Callback Prototypes: */

int  CVICALLBACK CB_ChangeDDSAmpli(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_ChangeDDSOut(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_ChangeDDSStep(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_ChangeMath(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_ChangeN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_ChangeSlopeTime(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnAllanPlot(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnAutoSaveHg(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnAutoSaveSr(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnAutoStopSlopeCancellingIfDelock(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnChangeNdiv(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnCROX(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnDeltaFreq(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnEventMain(int panel, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnFind275K(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnFindSign(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnFreqPlot(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnIntegrationTime(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnMinus10k(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnMinus275k(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnN3Stop(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnNCalculus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnNStop(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnPlus10k(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnPlus275k(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnReCentering(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnResetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnSaveHg(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnSaveOpt(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnSaveSr(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnSlopeTime(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnStart(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnStartN3Calculus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnStartNCalculus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnStartSlopeCancelling(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnStop(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 OnAcceptN(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);
int  CVICALLBACK SlopeReference_cb(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif