|
/**************************************************************************/
|
|
/* LabWindows/CVI User Interface Resource (UIR) Include File */
|
|
/* Copyright (c) National Instruments 2016. 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 P_ABOUT 1
|
|
#define P_ABOUT_txt 2 /* control type: textMsg, callback function: (none) */
|
|
#define P_ABOUT_CLOSE 3 /* control type: command, callback function: CVI_close */
|
|
#define P_ABOUT_PICTURE_4 4 /* control type: picture, callback function: (none) */
|
|
#define P_ABOUT_PICTURE 5 /* control type: picture, callback function: (none) */
|
|
#define P_ABOUT_PICTURE_2 6 /* control type: picture, callback function: (none) */
|
|
#define P_ABOUT_VERSION 7 /* control type: textMsg, callback function: (none) */
|
|
#define P_ABOUT_VERSION_UIR 8 /* control type: textMsg, callback function: (none) */
|
|
|
|
#define P_CONTROL 2
|
|
#define P_CONTROL_CANCEL 2 /* control type: command, callback function: CVI_button */
|
|
#define P_CONTROL_RINGMODE 3 /* control type: slide, callback function: CVI_button */
|
|
#define P_CONTROL_RINGPHAS 4 /* control type: slide, callback function: CVI_ring */
|
|
#define P_CONTROL_RINGPHAS_2 5 /* control type: slide, callback function: fnct_ctrl */
|
|
#define P_CONTROL_P4 6 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_CONTROL_P3 7 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_CONTROL_I4 8 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_CONTROL_I3 9 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_CONTROL_V4 10 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_CONTROL_V3 11 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_CONTROL_CAL_AUTO 12 /* control type: radioButton, callback function: fnct_ctrl */
|
|
#define P_CONTROL_INTER 13 /* control type: radioButton, callback function: fnct_ctrl */
|
|
#define P_CONTROL_NB_CYCLE 14 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_FREQ 15 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Vin_START 16 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Vin_STOP 17 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Vin_STEP 18 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Pout_START 19 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Pout_STOP 20 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Pout_STEP 21 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Vout_START 22 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Vout_STOP 23 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Vout_STEP 24 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_KP 25 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_KI 26 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_ACC 27 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_Delay_Cal 28 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_delays 29 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_IMAX 30 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_VMAX 31 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_PWMMAX 32 /* control type: numeric, callback function: fnct_ctrl */
|
|
#define P_CONTROL_OK 33 /* control type: command, callback function: CVI_button */
|
|
#define P_CONTROL_DECORATION_6 34 /* control type: deco, callback function: (none) */
|
|
#define P_CONTROL_DECORATION_5 35 /* control type: deco, callback function: (none) */
|
|
#define P_CONTROL_DECORATION_3 36 /* control type: deco, callback function: (none) */
|
|
#define P_CONTROL_TEXTMSG_6 37 /* control type: textMsg, callback function: (none) */
|
|
#define P_CONTROL_DECORATION_2 38 /* control type: deco, callback function: (none) */
|
|
#define P_CONTROL_TEXTMSG_5 39 /* control type: textMsg, callback function: (none) */
|
|
#define P_CONTROL_DECORATION 40 /* control type: deco, callback function: (none) */
|
|
#define P_CONTROL_TEXTMSG_3 41 /* control type: textMsg, callback function: (none) */
|
|
#define P_CONTROL_TEXTMSG_2 42 /* control type: textMsg, callback function: (none) */
|
|
#define P_CONTROL_TEXTMSG 43 /* control type: textMsg, callback function: (none) */
|
|
#define P_CONTROL_DECORATION_7 44 /* control type: deco, callback function: (none) */
|
|
#define P_CONTROL_TEXTMSG_4 45 /* control type: textMsg, callback function: (none) */
|
|
|
|
#define P_GRAPH2D 3
|
|
#define P_GRAPH2D_GRAPH 2 /* control type: graph, callback function: (none) */
|
|
|
|
#define P_GRAPH3D 4
|
|
#define P_GRAPH3D_GRAPH3D 2 /* control type: activeX, callback function: (none) */
|
|
|
|
#define P_INFO 5
|
|
#define P_INFO_TEXTMSG_2 2 /* control type: textMsg, callback function: (none) */
|
|
#define P_INFO_TEXTMSG 3 /* control type: textMsg, callback function: (none) */
|
|
|
|
#define P_LOG 6 /* callback function: CVI_panel_size */
|
|
#define P_LOG_CLOSE 2 /* control type: command, callback function: CVI_close */
|
|
#define P_LOG_TXT 3 /* control type: textBox, callback function: (none) */
|
|
|
|
#define P_MEASURE 7
|
|
#define P_MEASURE_START 2 /* control type: command, callback function: CVI_button */
|
|
#define P_MEASURE_STOP 3 /* control type: command, callback function: CVI_button */
|
|
#define P_MEASURE_LOAD_V 4 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_LOAD_I 5 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_POWER_I 6 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_POWER_V 7 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_P4 8 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_P3 9 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_I4 10 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_I3 11 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_V4 12 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_V3 13 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DCDCin_V 14 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_PWM 15 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_FREQ 16 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_n_DCDC 17 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_SET_Pout 18 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DCDCout_P 19 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DCDCout_I 20 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DECORATION_4 21 /* control type: deco, callback function: (none) */
|
|
#define P_MEASURE_SET_Vout 22 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DCDCout_V 23 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DCDCin_I 24 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DCDCin_P 25 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_PH_4 26 /* control type: splitter, callback function: (none) */
|
|
#define P_MEASURE_PH_3 27 /* control type: splitter, callback function: (none) */
|
|
#define P_MEASURE_PH_2 28 /* control type: splitter, callback function: (none) */
|
|
#define P_MEASURE_TEXTMSG_4 29 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_PH_1 30 /* control type: splitter, callback function: (none) */
|
|
#define P_MEASURE_TEXT_POWER 31 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_INTER 32 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_TXT_TIME_3 33 /* control type: string, callback function: (none) */
|
|
#define P_MEASURE_TXT_TIME_2 34 /* control type: string, callback function: (none) */
|
|
#define P_MEASURE_TXT_TIME 35 /* control type: string, callback function: (none) */
|
|
#define P_MEASURE_TEXT_LOAD 36 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_TEXT_GBF 37 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_TEXTSIMUL 38 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_PICTURE 39 /* control type: picture, callback function: (none) */
|
|
|
|
#define P_PORT 8
|
|
#define P_PORT_COM 2 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_PORT_USB 3 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_PORT_ETH 4 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_PORT_GPIB 5 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_PORT_PORCOM 6 /* control type: numeric, callback function: (none) */
|
|
#define P_PORT_RS232BAUD 7 /* control type: numeric, callback function: (none) */
|
|
#define P_PORT_RS232BITS 8 /* control type: ring, callback function: (none) */
|
|
#define P_PORT_RS232PARITY 9 /* control type: ring, callback function: (none) */
|
|
#define P_PORT_RS232STOP 10 /* control type: ring, callback function: (none) */
|
|
#define P_PORT_RS232HAND 11 /* control type: ring, callback function: (none) */
|
|
#define P_PORT_RS232TERMCHAR 12 /* control type: ring, callback function: (none) */
|
|
#define P_PORT_PORUSB 13 /* control type: string, callback function: (none) */
|
|
#define P_PORT_PORETH 14 /* control type: string, callback function: (none) */
|
|
#define P_PORT_PORETH_2 15 /* control type: numeric, callback function: (none) */
|
|
#define P_PORT_PORGPIB 16 /* control type: numeric, callback function: (none) */
|
|
#define P_PORT_PORGPIB_2 17 /* control type: numeric, callback function: (none) */
|
|
#define P_PORT_LANG 18 /* control type: ring, callback function: (none) */
|
|
#define P_PORT_IDQUERY 19 /* control type: string, callback function: (none) */
|
|
#define P_PORT_CANCEL 20 /* control type: command, callback function: CVI_close */
|
|
#define P_PORT_OK 21 /* control type: command, callback function: CVI_button */
|
|
#define P_PORT_DECORATION 22 /* control type: deco, callback function: (none) */
|
|
#define P_PORT_DECORATION_2 23 /* control type: deco, callback function: (none) */
|
|
#define P_PORT_DECORATION_3 24 /* control type: deco, callback function: (none) */
|
|
#define P_PORT_DECORATION_4 25 /* control type: deco, callback function: (none) */
|
|
#define P_PORT_INSTRUM 26 /* control type: numeric, callback function: (none) */
|
|
#define P_PORT_VERSION_UIR 27 /* control type: textMsg, callback function: (none) */
|
|
|
|
#define P_TOP 9
|
|
#define P_TOP_CLOSE 2 /* control type: command, callback function: CVI_close */
|
|
|
|
|
|
/* Control Arrays: */
|
|
|
|
#define CTRL_AFG 1
|
|
#define CTRL_CONTROL 2
|
|
#define CTRL_KPID 3
|
|
#define CTRL_MEASURE 4
|
|
#define CTRL_PH0 5
|
|
#define CTRL_PID 6
|
|
#define CTRL_V 7
|
|
|
|
/* Menu Bars, Menus, and Menu Items: */
|
|
|
|
#define MENU_DCDC 1
|
|
#define MENU_DCDC_FILE 2
|
|
#define MENU_DCDC_FILE_NEW 3 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_FILE_SAVE 4 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_FILE_LOAD 5 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_FILE_SEPARATOR_2 6
|
|
#define MENU_DCDC_FILE_QUIT 7 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_CONF 8
|
|
#define MENU_DCDC_CONF_CONTROL 9 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_CONF_LOAD 10 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_CONF_POWER 11 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_CONF_Simul 12 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_COM 13
|
|
#define MENU_DCDC_COM_POWER 14 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_COM_LOAD 15 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_COM_AFG 16 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_COM_AFG_2 17 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_COM_PM 18 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_WIN 19
|
|
#define MENU_DCDC_WIN_INIT 20 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_HELP 21
|
|
#define MENU_DCDC_HELP_VERBOSE 22 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_HELP_LOG 23 /* callback function: CVI_menu */
|
|
#define MENU_DCDC_HELP_ABOUT 24 /* callback function: CVI_menu */
|
|
|
|
|
|
/* Callback Prototypes: */
|
|
|
|
int CVICALLBACK CVI_button(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
|
int CVICALLBACK CVI_close(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
|
void CVICALLBACK CVI_menu(int menubar, int menuItem, void *callbackData, int panel);
|
|
int CVICALLBACK CVI_panel_size(int panel, int event, void *callbackData, int eventData1, int eventData2);
|
|
int CVICALLBACK CVI_ring(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
|
int CVICALLBACK fnct_ctrl(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|