view FXAnalyse.h @ 23:65e277fdf01f

Correct DDS3 frequency adjustement on N3 measurement We need to take into account the phase locked loop divisor factor that links DDS1 frequency change to repetition rate change.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 20 Jul 2012 16:50:11 +0200
parents b7b3b5f1c5a6
children 419db63a9949
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_N                         2       /* control type: numeric, callback function: (none) */
#define  CALCN1_ACCEPTN                   3       /* control type: command, callback function: CB_OnAcceptN */
#define  CALCN1_SLOPE                     4       /* control type: numeric, callback function: (none) */
#define  CALCN1_DELTAFREQ                 5       /* control type: numeric, callback function: CB_OnDeltaFreq */
#define  CALCN1_SLOPETIME                 6       /* control type: numeric, callback function: CB_OnSlopeTime */
#define  CALCN1_INTEGRATIONTIME           7       /* control type: numeric, callback function: CB_OnIntegrationTime */
#define  CALCN1_STOP                      8       /* control type: command, callback function: CB_OnNStop */
#define  CALCN1_START                     9       /* control type: command, callback function: CB_OnStartNCalculus */

#define  CALCN2                           3
#define  CALCN2_SLOPE                     2       /* control type: numeric, callback function: (none) */
#define  CALCN2_DELTAFREQ                 3       /* control type: numeric, callback function: CB_OnDeltaFreq */
#define  CALCN2_INTEGRATIONTIME           4       /* control type: numeric, callback function: CB_OnIntegrationTime */
#define  CALCN2_N                         5       /* control type: numeric, callback function: (none) */
#define  CALCN2_STOP                      6       /* control type: command, callback function: CB_OnNStop */
#define  CALCN2_START                     7       /* control type: command, callback function: CB_OnStartNCalculus */
#define  CALCN2_ACCEPTN                   8       /* control type: command, callback function: CB_OnAcceptN */
#define  CALCN2_SLOPETIME                 9       /* control type: numeric, callback function: CB_OnSlopeTime */

#define  CALCN3                           4
#define  CALCN3_SLOPE                     2       /* control type: numeric, callback function: (none) */
#define  CALCN3_DELTAFREQ                 3       /* control type: numeric, callback function: CB_OnDeltaFreq */
#define  CALCN3_INTEGRATIONTIME           4       /* control type: numeric, callback function: CB_OnIntegrationTime */
#define  CALCN3_N                         5       /* control type: numeric, callback function: (none) */
#define  CALCN3_STOP                      6       /* control type: command, callback function: CB_OnNStop */
#define  CALCN3_START                     7       /* control type: command, callback function: CB_OnStartNCalculus */
#define  CALCN3_ACCEPTN                   8       /* control type: command, callback function: CB_OnAcceptN */
#define  CALCN3_SLOPETIME                 9       /* control type: numeric, callback function: CB_OnSlopeTime */

#define  ESTIMATEN3                       5
#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  PANEL                            6       /* 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                   32      /* control type: splitter, callback function: (none) */
#define  PANEL_CHANGENDIV                 33      /* control type: numeric, callback function: CB_OnChangeNdiv */
#define  PANEL_DDSFREPOUT                 34      /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_N3CHOICE                   35      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N3CALCULUS                 36      /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_N1CHOICE                   37      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N2CHOICE                   38      /* control type: numeric, callback function: CB_ChangeN */
#define  PANEL_N2CALCULUS                 39      /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_DDS4STEP                   40      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDS3STEP                   41      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDS2STEP                   42      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_CENTERFREQUENCY            43      /* control type: numeric, callback function: (none) */
#define  PANEL_SLOPETOCANCEL              44      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH4                      45      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH5                      46      /* control type: numeric, callback function: (none) */
#define  PANEL_MATH3                      47      /* control type: numeric, callback function: (none) */
#define  PANEL_CHECKBOX_MATH5PLOT         48      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH4PLOT         49      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH4ALLAN        50      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_DDS1STEP                   51      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_TEXTMSG_15                 52      /* control type: textMsg, callback function: (none) */
#define  PANEL_CHECKBOX_MATH5ALLAN        53      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_CHECKBOX_MATH3PLOT         54      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH5SAVE         55      /* control type: radioButton, callback function: (none) */
#define  PANEL_CHECKBOX_MATH3SAVE_2       56      /* control type: radioButton, callback function: CB_OnSaveSr */
#define  PANEL_CHECKBOX_MATH3ALLAN        57      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_DDSFREPSTEP                58      /* control type: ring, callback function: CB_ChangeDDSStep */
#define  PANEL_DDSFREPAMP                 59      /* control type: numeric, callback function: CB_ChangeDDSAmpli */
#define  PANEL_MATHSTRING4                60      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_17                 61      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATH2                      62      /* control type: numeric, callback function: (none) */
#define  PANEL_SPLITTER_15                63      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_12                64      /* control type: splitter, callback function: (none) */
#define  PANEL_CHECKBOX_MATH2PLOT         65      /* control type: radioButton, callback function: CB_OnFreqPlot */
#define  PANEL_CHECKBOX_MATH3SAVE         66      /* control type: radioButton, callback function: CB_OnSaveHg */
#define  PANEL_CHECKBOX_MATH2SAVE         67      /* control type: radioButton, callback function: CB_OnSaveOpt */
#define  PANEL_CHECKBOX_MATH2ALLAN        68      /* control type: radioButton, callback function: CB_OnAllanPlot */
#define  PANEL_TEXTMSG_7                  69      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING3                70      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_MATH1                      71      /* control type: numeric, callback function: (none) */
#define  PANEL_SPLITTER_6                 72      /* control type: splitter, callback function: (none) */
#define  PANEL_TEXTMSG_18                 73      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_6                  74      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_8                  75      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_19                 76      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING1                77      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_9                  78      /* control type: textMsg, callback function: (none) */
#define  PANEL_TEXTMSG_10                 79      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING2                80      /* control type: string, callback function: CB_ChangeMath */
#define  PANEL_TEXTMSG_16                 81      /* control type: textMsg, callback function: (none) */
#define  PANEL_SPLITTER_11                82      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_16                83      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_9                 84      /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_3                 85      /* control type: splitter, callback function: (none) */
#define  PANEL_MINUS10KDDS1               86      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS4               87      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS3               88      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_MINUS10KDDS2               89      /* control type: command, callback function: CB_OnMinus10k */
#define  PANEL_PLUS10KDDS4                90      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_MINUS275K                  91      /* control type: command, callback function: CB_OnMinus275k */
#define  PANEL_PLUS10KDDS3                92      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS10KDDS1                93      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS10KDDS2                94      /* control type: command, callback function: CB_OnPlus10k */
#define  PANEL_PLUS275K                   95      /* control type: command, callback function: CB_OnPlus275k */
#define  PANEL_TEXTMSG_11                 96      /* control type: textMsg, callback function: (none) */
#define  PANEL_MATHSTRING5                97      /* control type: textBox, callback function: CB_ChangeMath */
#define  PANEL_SPLITTER_8                 98      /* control type: splitter, callback function: (none) */
#define  PANEL_MJD                        99      /* control type: numeric, callback function: (none) */
#define  PANEL_UTC                        100     /* control type: numeric, callback function: (none) */
#define  PANEL_TIME                       101     /* control type: string, callback function: (none) */
#define  PANEL_DATE                       102     /* control type: string, callback function: (none) */
#define  PANEL_CHECKBOX_MATH3AUTOSAV      103     /* control type: radioButton, callback function: CB_OnAutoSaveSr */
#define  PANEL_CHECKBOX_MATH2AUTOSAV      104     /* control type: radioButton, callback function: CB_OnAutoSaveHg */
#define  PANEL_CHOOSESAVEFILE             105     /* control type: command, callback function: OnChooseSaveFile */
#define  PANEL_SPLITTER_14                106     /* control type: splitter, callback function: (none) */
#define  PANEL_SPLITTER_13                107     /* control type: splitter, callback function: (none) */
#define  PANEL_DDS4                       108     /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_SPLITTER_2                 109     /* control type: splitter, callback function: (none) */
#define  PANEL_DDS3                       110     /* control type: numeric, callback function: CB_ChangeDDSOut */
#define  PANEL_N1CALCULUS                 111     /* control type: command, callback function: CB_OnNCalculus */
#define  PANEL_FINDSIGN3                  112     /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN3                      113     /* control type: numeric, callback function: (none) */
#define  PANEL_FINDSIGN2                  114     /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN2                      115     /* control type: numeric, callback function: (none) */
#define  PANEL_FINDSIGN1                  116     /* control type: command, callback function: CB_OnFindSign */
#define  PANEL_SIGN1                      117     /* control type: numeric, callback function: (none) */
#define  PANEL_FIND10K3                   118     /* control type: command, callback function: CB_OnFind275K */
#define  PANEL_FIND275K2                  119     /* control type: command, callback function: CB_OnFind275K */
#define  PANEL_RESETSLOPE                 120     /* control type: command, callback function: CB_OnResetSlope */
#define  PANEL_CHECKBOX_STOPIFAUTODE      121     /* control type: radioButton, callback function: CB_OnAutoStopSlopeCancellingIfDelock */
#define  PANEL_CHECKBOX_RECENTER          122     /* control type: radioButton, callback function: CB_OnReCentering */
#define  PANEL_CHECKBOX_KEEPSLOPE         123     /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_CHECKBOX_KEEP              124     /* control type: radioButton, callback function: CB_OnCROX */
#define  PANEL_STARTCANCEL                125     /* control type: textButton, callback function: CB_OnStartSlopeCancelling */
#define  PANEL_LED1                       126     /* control type: LED, callback function: (none) */
#define  PANEL_LED2                       127     /* control type: LED, callback function: (none) */
#define  PANEL_SLOPE_REFERENCE            128     /* control type: ring, callback function: CB_OnSlopeReference */
#define  PANEL_ESTIMATE_N3                129     /* control type: command, callback function: CB_OnEstimateN */


     /* 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_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_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_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_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_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_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_OnSlopeReference(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_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 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);


#ifdef __cplusplus
    }
#endif