Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 202 → Rev 203

/cvi/instr/DRS/drs4.h
14,25 → 14,55
/* Panels and Controls: */
 
#define PANEL 1
#define PANEL_Exit 2 /* control type: command, callback function: ExitCB */
#define PANEL_EXIT 2 /* control type: command, callback function: ExitCB */
#define PANEL_STOP 3 /* control type: command, callback function: StopCB */
#define PANEL_START 4 /* control type: command, callback function: StartCB */
#define PANEL_TRGTYPE 5 /* control type: numeric, callback function: (none) */
#define PANEL_TRGLEVEL 6 /* control type: numeric, callback function: (none) */
#define PANEL_TRGDELAY 7 /* control type: numeric, callback function: (none) */
#define PANEL_RANGE 8 /* control type: numeric, callback function: (none) */
#define PANEL_TRGCHANNEL 9 /* control type: numeric, callback function: (none) */
#define PANEL_CEVE 10 /* control type: numeric, callback function: (none) */
#define PANEL_NEVE 11 /* control type: numeric, callback function: (none) */
#define PANEL_FILENAME 5 /* control type: string, callback function: (none) */
#define PANEL_TIMER 6 /* control type: timer, callback function: (none) */
#define PANEL_TRGLEVEL 7 /* control type: numeric, callback function: (none) */
#define PANEL_TRGDELAY 8 /* control type: numeric, callback function: (none) */
#define PANEL_RANGE 9 /* control type: numeric, callback function: (none) */
#define PANEL_TRGCHANNEL 10 /* control type: numeric, callback function: (none) */
#define PANEL_PFREQ 11 /* control type: numeric, callback function: (none) */
#define PANEL_FREQUENCY 12 /* control type: numeric, callback function: (none) */
#define PANEL_TRGPOLARITY 13 /* control type: binary, callback function: (none) */
#define PANEL_MASK 14 /* control type: string, callback function: (none) */
#define PANEL_FILENAME 15 /* control type: string, callback function: (none) */
#define PANEL_GRAPH 16 /* control type: graph, callback function: (none) */
#define PANEL_NEVE 13 /* control type: numeric, callback function: (none) */
#define PANEL_CEVE 14 /* control type: numeric, callback function: (none) */
#define PANEL_TRGTYPE 15 /* control type: ring, callback function: (none) */
#define PANEL_ENABLEDOUTPUT 16 /* control type: radioButton, callback function: (none) */
#define PANEL_DEBUG 17 /* control type: radioButton, callback function: (none) */
#define PANEL_TIMER 18 /* control type: timer, callback function: (none) */
#define PANEL_CH3 18 /* control type: radioButton, callback function: (none) */
#define PANEL_CH2 19 /* control type: radioButton, callback function: (none) */
#define PANEL_CH1 20 /* control type: radioButton, callback function: (none) */
#define PANEL_GRAPH 21 /* control type: graph, callback function: (none) */
#define PANEL_CH0 22 /* control type: radioButton, callback function: (none) */
#define PANEL_TRGPOLARITY 23 /* control type: binary, callback function: (none) */
#define PANEL_TEXTMSG 24 /* control type: textMsg, callback function: (none) */
 
#define SCAN 2
#define SCAN_BD 2 /* control type: command, callback function: MoveStageCB */
#define SCAN_BR 3 /* control type: command, callback function: MoveStageCB */
#define SCAN_GETPOSITION 4 /* control type: command, callback function: GetCurrentPositionCB */
#define SCAN_SCAN 5 /* control type: command, callback function: StartCB */
#define SCAN_BU 6 /* control type: command, callback function: MoveStageCB */
#define SCAN_HO 7 /* control type: command, callback function: HomeCB */
#define SCAN_BL 8 /* control type: command, callback function: MoveStageCB */
#define SCAN_XG 9 /* control type: numeric, callback function: (none) */
#define SCAN_YG 10 /* control type: numeric, callback function: (none) */
#define SCAN_IX 11 /* control type: numeric, callback function: (none) */
#define SCAN_IY 12 /* control type: numeric, callback function: (none) */
#define SCAN_NSTEPSX 13 /* control type: numeric, callback function: (none) */
#define SCAN_NSTEPSY 14 /* control type: numeric, callback function: (none) */
#define SCAN_STEPX 15 /* control type: numeric, callback function: (none) */
#define SCAN_STEPY 16 /* control type: numeric, callback function: (none) */
#define SCAN_STARTX 17 /* control type: numeric, callback function: (none) */
#define SCAN_STARTY 18 /* control type: numeric, callback function: (none) */
#define SCAN_XP 19 /* control type: numeric, callback function: (none) */
#define SCAN_YP 20 /* control type: numeric, callback function: (none) */
#define SCAN_GY 21 /* control type: command, callback function: GoYCB */
#define SCAN_GX 22 /* control type: command, callback function: GoXCB */
#define SCAN_PORT 23 /* control type: numeric, callback function: (none) */
 
 
/* Control Arrays: */
 
/* (no control arrays in the resource file) */
46,6 → 76,11
/* Callback Prototypes: */
 
int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK StartCB(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);