view FXPlot.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 2011. 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  PLOTPANEL                        1       /* callback function: CB_PlotEvent */
#define  PLOTPANEL_MAX                    2       /* callback function: Plot_CB_ChangeMax */
#define  PLOTPANEL_MIN                    3       /* callback function: Plot_CB_ChangeMin */
#define  PLOTPANEL_TEXTMSG_3              4
#define  PLOTPANEL_TEXTMSG_4              5
#define  PLOTPANEL_CHECKBOX_AUTOSCALE     6       /* callback function: Plot_CB_ChangeAutoScale */
#define  PLOTPANEL_RESETBUTTON            7       /* callback function: Plot_CB_Reset */
#define  PLOTPANEL_TEXTMSG_6              8
#define  PLOTPANEL_FREQPLOT               9
#define  PLOTPANEL_ADEV                   10
#define  PLOTPANEL_SLOPE                  11
#define  PLOTPANEL_MEAN                   12
#define  PLOTPANEL_TEXTMSG                13
#define  PLOTPANEL_SCALINGSTEP            14      /* callback function: Plot_CB_ChangeScalingStep */
#define  PLOTPANEL_TEXTMSG_8              15
#define  PLOTPANEL_DEDRIFT                16      /* callback function: Plot_CB_ChangeDrift */
#define  PLOTPANEL_GETSLOPEBUTTON         17      /* callback function: Plot_CB_GetDrift */
#define  PLOTPANEL_CHECKBOX_DEDRIFT       18      /* callback function: Plot_CB_Reset */


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

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


     /* Callback Prototypes: */ 

int  CVICALLBACK CB_PlotEvent(int panel, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Plot_CB_ChangeAutoScale(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Plot_CB_ChangeDrift(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Plot_CB_ChangeMax(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Plot_CB_ChangeMin(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Plot_CB_ChangeScalingStep(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Plot_CB_GetDrift(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Plot_CB_Reset(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif