|
/**************************************************************************/
|
|
/* 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_UIR 7 /* control type: textMsg, callback function: (none) */
|
|
#define P_ABOUT_VERSION 8 /* control type: textMsg, callback function: (none) */
|
|
|
|
#define P_BATT 2
|
|
#define P_BATT_CANCEL 2 /* control type: command, callback function: CVI_close */
|
|
#define P_BATT_OK 3 /* control type: command, callback function: CVI_button */
|
|
#define P_BATT_ID 4 /* control type: string, callback function: (none) */
|
|
#define P_BATT_CHECKBOX_VMIN 5 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_BATT_CHECKBOX_LOOP 6 /* control type: radioButton, callback function: CVI_button */
|
|
#define P_BATT_NB_LOOP 7 /* control type: numeric, callback function: (none) */
|
|
|
|
#define P_CYCLE 3
|
|
#define P_CYCLE_H_CYCLE 2 /* control type: numeric, callback function: CVI_button */
|
|
#define P_CYCLE_NB_CYCLE 3 /* control type: numeric, callback function: CVI_button */
|
|
#define P_CYCLE_CURR 4 /* control type: numeric, callback function: (none) */
|
|
#define P_CYCLE_IMIN 5 /* control type: numeric, callback function: (none) */
|
|
#define P_CYCLE_TIMER 6 /* control type: numeric, callback function: (none) */
|
|
#define P_CYCLE_CMAX 7 /* control type: numeric, callback function: (none) */
|
|
#define P_CYCLE_VMIN 8 /* control type: numeric, callback function: (none) */
|
|
#define P_CYCLE_VMAX 9 /* control type: numeric, callback function: (none) */
|
|
#define P_CYCLE_CANCEL 10 /* control type: command, callback function: CVI_close */
|
|
#define P_CYCLE_APPLY 11 /* control type: command, callback function: CVI_button */
|
|
#define P_CYCLE_OK 12 /* control type: command, callback function: CVI_button */
|
|
#define P_CYCLE_SPLITTER 13 /* control type: splitter, callback function: (none) */
|
|
#define P_CYCLE_txt 14 /* control type: textMsg, callback function: (none) */
|
|
#define P_CYCLE_RINGSTOP 15 /* control type: slide, callback function: CVI_button */
|
|
#define P_CYCLE_RINGSLIDE 16 /* control type: slide, callback function: CVI_button */
|
|
#define P_CYCLE_TEXTMSG 17 /* control type: textMsg, callback function: (none) */
|
|
#define P_CYCLE_VMINSTOP 18 /* control type: textMsg, callback function: (none) */
|
|
|
|
#define P_GRAPH 4
|
|
#define P_GRAPH_GRAPH_V 2 /* control type: graph, callback function: (none) */
|
|
#define P_GRAPH_GRAPH_I 3 /* control type: graph, 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_TXT 2 /* 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_LOOP 5 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_CYCLE 6 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_LOAD_I 7 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_POWER_I 8 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_POWER_V 9 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_TEMP_EXT 10 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_TEMP_BATT 11 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_V_IN 12 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_TEXT_3 13 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_Ah_OUT 14 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_I_OUT 15 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_DECORATION_4 16 /* control type: deco, callback function: (none) */
|
|
#define P_MEASURE_V_OUT 17 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_I_IN 18 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_Ah_IN 19 /* control type: numeric, callback function: (none) */
|
|
#define P_MEASURE_TEXTMSG_4 20 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_TEXT_POWER 21 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_TXT_HCT 22 /* control type: string, callback function: (none) */
|
|
#define P_MEASURE_TXT_TIME 23 /* control type: string, callback function: (none) */
|
|
#define P_MEASURE_TEXT_LOAD 24 /* control type: textMsg, callback function: (none) */
|
|
#define P_MEASURE_PICTURE 25 /* control type: picture, callback function: (none) */
|
|
#define P_MEASURE_TEXTSIMUL 26 /* control type: textMsg, 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 */
|
|
#define P_TOP_TIMER 3 /* control type: timer, callback function: CVI_timer */
|
|
|
|
|
|
/* Control Arrays: */
|
|
|
|
#define CTRL_MEASURE 1
|
|
#define CTRL_V 2
|
|
|
|
/* Menu Bars, Menus, and Menu Items: */
|
|
|
|
#define MENUBAR2 1
|
|
#define MENUBAR2_FILE 2
|
|
#define MENUBAR2_FILE_NEW 3 /* callback function: CVI_menu */
|
|
#define MENUBAR2_FILE_SAVE 4 /* callback function: CVI_menu */
|
|
#define MENUBAR2_FILE_LOAD 5 /* callback function: CVI_menu */
|
|
#define MENUBAR2_FILE_SEPARATOR_2 6
|
|
#define MENUBAR2_FILE_QUIT 7 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF 8
|
|
#define MENUBAR2_CONF_BATT 9 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_CYCLE 10 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_LOAD 11 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_SAVE 12 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_SEPARATOR 13
|
|
#define MENUBAR2_CONF_EDIT 14 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_SIMUL 15 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_SMU 16 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_PWLOAD 17 /* callback function: CVI_menu */
|
|
#define MENUBAR2_CONF_PLPM 18 /* callback function: CVI_menu */
|
|
#define MENUBAR2_COM 19
|
|
#define MENUBAR2_COM_POWER 20 /* callback function: CVI_menu */
|
|
#define MENUBAR2_COM_LOAD 21 /* callback function: CVI_menu */
|
|
#define MENUBAR2_COM_SMU 22 /* callback function: CVI_menu */
|
|
#define MENUBAR2_COM_SAS 23 /* callback function: CVI_menu */
|
|
#define MENUBAR2_COM_PM 24 /* callback function: CVI_menu */
|
|
#define MENUBAR2_COM_TEMP 25 /* callback function: CVI_menu */
|
|
#define MENUBAR2_WIN 26
|
|
#define MENUBAR2_WIN_INIT 27 /* callback function: CVI_menu */
|
|
#define MENUBAR2_HELP 28
|
|
#define MENUBAR2_HELP_VERBOSE 29 /* callback function: CVI_menu */
|
|
#define MENUBAR2_HELP_LOG 30 /* callback function: CVI_menu */
|
|
#define MENUBAR2_HELP_ABOUT 31 /* 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_timer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|