view FXAllan.h @ 67:0159abc1a9d8

Fix slope measurement For the update algorithm to work correclty the slope measurement must be updated before the mean measurement. Other code is affected by the same issue.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 29 Oct 2012 14:48:08 +0100
parents d9aae7d7f2c6
children 77539f2597b1
line wrap: on
line source

/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/* Copyright (c) National Instruments 2010. 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  ALLANPANEL                       1       /* callback function: CB_GeneralAllanPanel */
#define  ALLANPANEL_NORMALIZER            2       /* callback function: Allan_CB_ChangeNormalizer */
#define  ALLANPANEL_ALLANPLOT             3
#define  ALLANPANEL_MAX                   4       /* callback function: Allan_CB_ChangeMax */
#define  ALLANPANEL_MIN                   5       /* callback function: Allan_CB_ChangeMin */
#define  ALLANPANEL_CHECKBOX_AUTOSCALE    6       /* callback function: Allan_CB_ChangeAutoScale */
#define  ALLANPANEL_RESETBUTTON           7       /* callback function: Allan_CB_Reset */
#define  ALLANPANEL_DRIFT                 8
#define  ALLANPANEL_DEDRIFT               9


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

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


     /* Callback Prototypes: */ 

int  CVICALLBACK Allan_CB_ChangeAutoScale(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Allan_CB_ChangeMax(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Allan_CB_ChangeMin(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Allan_CB_ChangeNormalizer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Allan_CB_Reset(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK CB_GeneralAllanPanel(int panel, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif