Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 303 → Rev 304

/cvi/instr/K6517/K6517-ctrl.h
34,43 → 34,55
 
#define P2 2
#define P2_DRAW 2 /* control type: command, callback function: DrawCB */
#define P2_EXIT_2 3 /* control type: command, callback function: Exit2CB */
#define P2_STOP 4 /* control type: command, callback function: StopCB */
#define P2_GRAPHIV 5 /* control type: graph, callback function: (none) */
#define P2_SETVOLT 6 /* control type: command, callback function: SETVOLTCB */
#define P2_IVSCAN 7 /* control type: command, callback function: IVSCANCB */
#define P2_UMAX_4 8 /* control type: numeric, callback function: (none) */
#define P2_UMIN_4 9 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_4 10 /* control type: numeric, callback function: (none) */
#define P2_UMAX_3 11 /* control type: numeric, callback function: (none) */
#define P2_UMIN_3 12 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_3 13 /* control type: numeric, callback function: (none) */
#define P2_RANGE_4 14 /* control type: ring, callback function: (none) */
#define P2_SLCT_4 15 /* control type: radioButton, callback function: (none) */
#define P2_UMAX_2 16 /* control type: numeric, callback function: (none) */
#define P2_UMIN_2 17 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_2 18 /* control type: numeric, callback function: (none) */
#define P2_RANGE_3 19 /* control type: ring, callback function: (none) */
#define P2_SLCT_3 20 /* control type: radioButton, callback function: (none) */
#define P2_UMAX_1 21 /* control type: numeric, callback function: (none) */
#define P2_UMIN_1 22 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_1 23 /* control type: numeric, callback function: (none) */
#define P2_RANGE_2 24 /* control type: ring, callback function: (none) */
#define P2_SLCT_2 25 /* control type: radioButton, callback function: (none) */
#define P2_FILENAME 26 /* control type: string, callback function: (none) */
#define P2_PATH 27 /* control type: string, callback function: (none) */
#define P2_VOLT 28 /* control type: ring, callback function: (none) */
#define P2_RANGE_1 29 /* control type: ring, callback function: (none) */
#define P2_SLCT_1 30 /* control type: radioButton, callback function: (none) */
#define P2_DEBUG 31 /* control type: radioButton, callback function: DebugCB */
#define P2_LOGSCALE 32 /* control type: radioButton, callback function: LogScaleCB */
#define P2_PRINTX 33 /* control type: command, callback function: Print */
#define P2_VMON 34 /* control type: numeric, callback function: (none) */
#define P2_EXIT 3 /* control type: command, callback function: ExitCB */
#define P2_EXIT_2 4 /* control type: command, callback function: Exit2CB */
#define P2_STOP 5 /* control type: command, callback function: StopCB */
#define P2_HUMIDITY 6 /* control type: numeric, callback function: (none) */
#define P2_TMON 7 /* control type: numeric, callback function: (none) */
#define P2_GRAPHIV 8 /* control type: graph, callback function: (none) */
#define P2_SETVOLT 9 /* control type: command, callback function: SETVOLTCB */
#define P2_DISCONNECT 10 /* control type: command, callback function: DisconnectCB */
#define P2_CONNECT 11 /* control type: command, callback function: ConnectCB */
#define P2_TSCAN 12 /* control type: command, callback function: TScanCB */
#define P2_IVSCAN 13 /* control type: command, callback function: IVSCANCB */
#define P2_UMAX_4 14 /* control type: numeric, callback function: (none) */
#define P2_UMIN_4 15 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_4 16 /* control type: numeric, callback function: (none) */
#define P2_UMAX_3 17 /* control type: numeric, callback function: (none) */
#define P2_UMIN_3 18 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_3 19 /* control type: numeric, callback function: (none) */
#define P2_RANGE_4 20 /* control type: ring, callback function: (none) */
#define P2_SLCT_4 21 /* control type: radioButton, callback function: (none) */
#define P2_UMAX_2 22 /* control type: numeric, callback function: (none) */
#define P2_UMIN_2 23 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_2 24 /* control type: numeric, callback function: (none) */
#define P2_RANGE_3 25 /* control type: ring, callback function: (none) */
#define P2_SLCT_3 26 /* control type: radioButton, callback function: (none) */
#define P2_UMAX_1 27 /* control type: numeric, callback function: (none) */
#define P2_UMIN_1 28 /* control type: numeric, callback function: (none) */
#define P2_NSTEPS_1 29 /* control type: numeric, callback function: (none) */
#define P2_RANGE_2 30 /* control type: ring, callback function: (none) */
#define P2_SLCT_2 31 /* control type: radioButton, callback function: (none) */
#define P2_TIME 32 /* control type: string, callback function: (none) */
#define P2_FILENAME 33 /* control type: string, callback function: (none) */
#define P2_PATH 34 /* control type: string, callback function: (none) */
#define P2_RANGE_1 35 /* control type: ring, callback function: (none) */
#define P2_SLCT_1 36 /* control type: radioButton, callback function: (none) */
#define P2_DEBUG 37 /* control type: radioButton, callback function: DebugCB */
#define P2_REPEAT 38 /* control type: radioButton, callback function: (none) */
#define P2_LOGSCALE 39 /* control type: radioButton, callback function: LogScaleCB */
#define P2_PRINTX 40 /* control type: command, callback function: Print */
#define P2_NEXTSCAN 41 /* control type: numeric, callback function: (none) */
#define P2_VCUR 42 /* control type: numeric, callback function: (none) */
#define P2_VMON 43 /* control type: numeric, callback function: (none) */
#define P2_VOLT 44 /* control type: numeric, callback function: (none) */
#define P2_DELAY2 45 /* control type: numeric, callback function: (none) */
#define P2_PERIOD 46 /* control type: numeric, callback function: (none) */
#define P2_DELAY 47 /* control type: numeric, callback function: (none) */
#define P2_TABLE 48 /* control type: table, callback function: (none) */
#define P2_LED 49 /* control type: LED, callback function: (none) */
 
#define PANEL 3
#define PANEL_COMMANDBUTTON 2 /* control type: command, callback function: StartTest */
 
 
/* Control Arrays: */
 
/* (no control arrays in the resource file) */
83,7 → 95,9
 
/* Callback Prototypes: */
 
int CVICALLBACK ConnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK DebugCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK DisconnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK DrawCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK Exit2CB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
96,12 → 110,12
int CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK SETVOLTCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK StartTest(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK TestCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK TimerOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK TScanCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 
 
#ifdef __cplusplus