view FXAnalyse.h @ 118:43b35f4aae78

Fix N3 measurement. Simply frequnecy ramping functions.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Thu, 12 Sep 2013 15:49:27 +0200
parents 6691728a0c58
children f9fb17fb64cc
line wrap: on
line source

/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/* Copyright (c) National Instruments 2013. 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  CALCN                            1
#define  CALCN_N                          2       /* control type: numeric, callback function: (none) */
#define  CALCN_STOP                       3       /* control type: command, callback function: CB_OnNStop */
#define  CALCN_SLOPETIME                  4       /* control type: numeric, callback function: (none) */
#define  CALCN_INTEGRATIONTIME            5       /* control type: numeric, callback function: (none) */
#define  CALCN_DELTAFREQ                  6       /* control type: numeric, callback function: (none) */
#define  CALCN_START                      7       /* control type: command, callback function: CB_OnStartNCalculus */
#define  CALCN_ACCEPTN                    8       /* control type: command, callback function: CB_OnAcceptN */
#define  CALCN_SLOPE                      9       /* control type: numeric, callback function: (none) */

#define  ESTIMATEN3                       2
#define  ESTIMATEN3_N                     2       /* control type: numeric, callback function: (none) */
#define  ESTIMATEN3_ESTIMATE              3       /* control type: command, callback function: CB_OnNEstimate */
#define  ESTIMATEN3_FREP                  4       /* control type: numeric, callback function: (none) */
#define  ESTIMATEN3_SET                   5       /* control type: command, callback function: CB_OnNEstimateSet */
#define  ESTIMATEN3_CANCEL                6       /* control type: command, callback function: CB_OnNEstimateCancel */
#define  ESTIMATEN3_WAVELENGTH            7       /* control type: numeric, callback function: (none) */

#define  LOGGING                          3       /* callback function: CB_OnLoggingPanelEvent */
#define  LOGGING_LOGGING                  2       /* control type: textBox, callback function: (none) */

#define  PANEL                            4       /* 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_MATH1ALLAN        9       /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ4ALLAN        10      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ3ALLAN        11      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ4PLOT         12      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_FREQ2ALLAN        13      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ3PLOT         14      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_CORRFREQU         15      /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_CHECKBOX_FREQ1ALLAN        16      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_FREQ2PLOT         17      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH1PLOT         18      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_FREQ1PLOT         19      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_DDS2                       20      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_TEXTMSG                    21      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_2                  22      /* control type: textMsg, callback function: (none) */
#define  PANEL_SLOPETIME                  23      /* control type: numeric, callback function: CB_ChangeSlopeTime */
#define  PANEL_DDS1                       24      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_CHANGENDIV                 25      /* control type: numeric, callback function: CB_OnChangeNdiv */
#define  PANEL_N3CHOICE                   26      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N3CALCULUS                 27      /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_N1CHOICE                   28      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N2CHOICE                   29      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N2CALCULUS                 30      /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_DDS4STEP                   31      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDS3STEP                   32      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDS2STEP                   33      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_CENTERFREQUENCY            34      /* control type: numeric, callback function: (none) */
#define  PANEL_SLOPE_APPLIED              35      /* control type: numeric, callback function: CB_SetSlope */
#define  PANEL_MATH4                      36      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH5                      37      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH3                      38      /* control type: numeric, callback function: (none) */
#define  PANEL_CHECKBOX_MATH5PLOT         39      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH4PLOT         40      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH4ALLAN        41      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_DDS1STEP                   42      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_TEXTMSG_15                 43      /* control type: textMsg, callback function: (none) */
#define  PANEL_CHECKBOX_MATH5ALLAN        44      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_MATH3PLOT         45      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH5SAVE         46      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_MATH4SAVE         47      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_MATH3ALLAN        48      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_MATHSTRING4                49      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_17                 50      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATH2                      51      /* control type: numeric, callback function: (none) */
#define  PANEL_SPLITTER_15                52      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_12                53      /* control type: splitter, callback function: (none) */
#define  PANEL_CHECKBOX_MATH2PLOT         54      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH3SAVE         55      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_MATH2SAVE         56      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_MATH2ALLAN        57      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_TEXTMSG_7                  58      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING3                59      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_MATH1                      60      /* control type: numeric, callback function: (none) */
#define  PANEL_SPLITTER_6                 61      /* control type: splitter, callback function: (none) */
#define  PANEL_TEXTMSG_18                 62      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_6                  63      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_8                  64      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_19                 65      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING1                66      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_9                  67      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_10                 68      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING2                69      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_16                 70      /* control type: textMsg, callback function: (none) */
#define  PANEL_SPLITTER_11                71      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_16                72      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_9                 73      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_3                 74      /* control type: splitter, callback function: (none) */
#define  PANEL_MINUS10KDDS1               75      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS4               76      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS3               77      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS2               78      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_PLUS10KDDS4                79      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS10KDDS3                80      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS10KDDS1                81      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS10KDDS2                82      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_TEXTMSG_11                 83      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING5                84      /* control type: textBox, callback function: CB_ChangeMath */
#define  PANEL_SPLITTER_8                 85      /* control type: splitter, callback function: (none) */
#define  PANEL_UTC                        86      /* control type: numeric, callback function: (none) */
#define  PANEL_TIME                       87      /* control type: string, callback function: (none) */
#define  PANEL_SPLITTER_14                88      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_13                89      /* control type: splitter, callback function: (none) */
#define  PANEL_DDS4                       90      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_SPLITTER_2                 91      /* control type: splitter, callback function: (none) */
#define  PANEL_DDS3                       92      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_N1CALCULUS                 93      /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_FINDSIGN3                  94      /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN3                      95      /* control type: numeric, callback function: CB_Sign3 */
#define  PANEL_FINDSIGN2                  96      /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN2                      97      /* control type: numeric, callback function: (none) */
#define  PANEL_FINDSIGN1                  98      /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN1                      99      /* control type: numeric, callback function: (none) */
#define  PANEL_FIND10K3                   100     /* control type: command, callback function: CB_OnFind275K */
#define  PANEL_FIND275K2                  101     /* control type: command, callback function: CB_OnFind275K */
#define  PANEL_RESETSLOPE                 102     /* control type: command, callback function: CB_OnResetSlope */
#define  PANEL_CHECKBOX_STOPIFAUTODE      103     /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */
#define  PANEL_CHECKBOX_RECENTER          104     /* control type: radioButton, callback function: CB_OnReCentering */
#define  PANEL_CHECKBOX_KEEPSLOPE         105     /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_CHECKBOX_KEEP              106     /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_SLOPE_REFERENCE            107     /* control type: ring, callback function: CB_OnSlopeReference */
#define  PANEL_ESTIMATE_N3                108     /* control type: command, callback function: CB_OnEstimateN */
#define  PANEL_INVERT_SLOPE_SIGN          109     /* control type: radioButton, callback function: CB_InvertSlopeSign */
#define  PANEL_MEASURE_SLOPE              110     /* control type: LED, callback function: CB_MeasureSlope */
#define  PANEL_SLOPE_MEASURED             111     /* control type: numeric, callback function: (none) */
#define  PANEL_RESET_DEDRIFT_DDS          112     /* control type: command, callback function: CB_ResetDedriftDDS */
#define  PANEL_SHOWLOG                    113     /* control type: command, callback function: CB_ShowLog */
#define  PANEL_SAVE_RAW_DATA              114     /* control type: radioButton, callback function: (none) */
#define  PANEL_SAVE_DDS_FREQS             115     /* control type: radioButton, callback function: (none) */


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

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


     /* Callback Prototypes: */

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_InvertSlopeSign(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_MeasureSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnAcceptN(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_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_OnEstimateN(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_OnLoggingPanelEvent(int panel, 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_OnNCalculus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnNEstimate(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnNEstimateCancel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_OnNEstimateSet(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_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_OnSlopeReference(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_OnStartNCalculus(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_OnStopSlopeCancellingOnUnlocked(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_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);
int  CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif