Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 265 → Rev 317

/cvi/instr/DRS/drs4.h
14,36 → 14,93
/* Panels and Controls: */
 
#define PANEL 1
#define PANEL_OPENGUI 2 /* control type: command, callback function: OpenGuiCB */
#define PANEL_EXIT 3 /* control type: command, callback function: ExitCB */
#define PANEL_STOP 4 /* control type: command, callback function: StopCB */
#define PANEL_CALIBRATE 5 /* control type: command, callback function: CalibrateCB */
#define PANEL_START 6 /* control type: command, callback function: StartCB */
#define PANEL_FILENAME 7 /* control type: string, callback function: (none) */
#define PANEL_TIMER 8 /* control type: timer, callback function: (none) */
#define PANEL_TWIN1 9 /* control type: numeric, callback function: (none) */
#define PANEL_TWIN0 10 /* control type: numeric, callback function: (none) */
#define PANEL_TRGLEVEL 11 /* control type: numeric, callback function: (none) */
#define PANEL_TRGDELAY 12 /* control type: numeric, callback function: (none) */
#define PANEL_RANGE 13 /* control type: numeric, callback function: (none) */
#define PANEL_TRGCHANNEL 14 /* control type: numeric, callback function: (none) */
#define PANEL_PFREQ 15 /* control type: numeric, callback function: (none) */
#define PANEL_FREQUENCY 16 /* control type: numeric, callback function: (none) */
#define PANEL_NEVE 17 /* control type: numeric, callback function: (none) */
#define PANEL_CEVE 18 /* control type: numeric, callback function: (none) */
#define PANEL_TRGTYPE 19 /* control type: ring, callback function: (none) */
#define PANEL_ENABLEDOUTPUT 20 /* control type: radioButton, callback function: (none) */
#define PANEL_DEBUG 21 /* control type: radioButton, callback function: (none) */
#define PANEL_CH3 22 /* control type: radioButton, callback function: (none) */
#define PANEL_CH2 23 /* control type: radioButton, callback function: (none) */
#define PANEL_CH1 24 /* control type: radioButton, callback function: (none) */
#define PANEL_GRAPH 25 /* control type: graph, callback function: (none) */
#define PANEL_CH0 26 /* control type: radioButton, callback function: (none) */
#define PANEL_TRGPOLARITY 27 /* control type: binary, callback function: (none) */
#define PANEL_TEXTMSG 28 /* control type: textMsg, callback function: (none) */
#define PANEL_STDIO 29 /* control type: textBox, callback function: (none) */
#define PANEL_OPENGUI_2 2 /* control type: command, callback function: OpenQdcCB */
#define PANEL_OPENGUI 3 /* control type: command, callback function: OpenGuiCB */
#define PANEL_EXIT 4 /* control type: command, callback function: ExitCB */
#define PANEL_STOP 5 /* control type: command, callback function: StopCB */
#define PANEL_ACQUIRE 6 /* control type: command, callback function: StartCB */
#define PANEL_TEMPTABLE 7 /* control type: command, callback function: TempTableCB */
#define PANEL_ANA 8 /* control type: command, callback function: ExecRootCB */
#define PANEL_CALIBRATE 9 /* control type: command, callback function: CalibrateCB */
#define PANEL_SETVOLTAGE 10 /* control type: command, callback function: SetVoltageCB */
#define PANEL_START 11 /* control type: command, callback function: StartCB */
#define PANEL_PATH 12 /* control type: string, callback function: (none) */
#define PANEL_FILENAME 13 /* control type: string, callback function: (none) */
#define PANEL_TIMER 14 /* control type: timer, callback function: (none) */
#define PANEL_SCALE_4 15 /* control type: numeric, callback function: ScaleCB */
#define PANEL_DISCONNECT 16 /* control type: command, callback function: DisconnectCB */
#define PANEL_ONOFF 17 /* control type: binary, callback function: SwitchOnOffCB */
#define PANEL_TSCAN 18 /* control type: command, callback function: TScanCB */
#define PANEL_CONNECT 19 /* control type: command, callback function: ConnectCB */
#define PANEL_SCALE_3 20 /* control type: numeric, callback function: ScaleCB */
#define PANEL_SCALE_2 21 /* control type: numeric, callback function: ScaleCB */
#define PANEL_SCALE_1 22 /* control type: numeric, callback function: ScaleCB */
#define PANEL_TRGLEVEL 23 /* control type: numeric, callback function: (none) */
#define PANEL_TRGDELAY 24 /* control type: numeric, callback function: (none) */
#define PANEL_RANGE 25 /* control type: numeric, callback function: (none) */
#define PANEL_TRGCHANNEL 26 /* control type: numeric, callback function: (none) */
#define PANEL_PFREQ 27 /* control type: numeric, callback function: (none) */
#define PANEL_FREQUENCY 28 /* control type: numeric, callback function: (none) */
#define PANEL_VBR 29 /* control type: numeric, callback function: (none) */
#define PANEL_NEVE 30 /* control type: numeric, callback function: (none) */
#define PANEL_CEVE 31 /* control type: numeric, callback function: (none) */
#define PANEL_TRGTYPE 32 /* control type: ring, callback function: (none) */
#define PANEL_ENABLEDOUTPUT 33 /* control type: radioButton, callback function: (none) */
#define PANEL_DEBUG 34 /* control type: radioButton, callback function: (none) */
#define PANEL_CH3 35 /* control type: radioButton, callback function: (none) */
#define PANEL_CH2 36 /* control type: radioButton, callback function: (none) */
#define PANEL_CH1 37 /* control type: radioButton, callback function: (none) */
#define PANEL_GRAPH 38 /* control type: graph, callback function: (none) */
#define PANEL_TIME 39 /* control type: string, callback function: (none) */
#define PANEL_CH0 40 /* control type: radioButton, callback function: (none) */
#define PANEL_TRGPOLARITY 41 /* control type: binary, callback function: (none) */
#define PANEL_TEXTMSG 42 /* control type: textMsg, callback function: (none) */
#define PANEL_STDIO 43 /* control type: textBox, callback function: (none) */
#define PANEL_LED 44 /* control type: LED, callback function: (none) */
#define PANEL_TMON 45 /* control type: numeric, callback function: (none) */
#define PANEL_HUMIDITY 46 /* control type: numeric, callback function: (none) */
#define PANEL_VTABLE 47 /* control type: table, callback function: (none) */
#define PANEL_TABLE 48 /* control type: table, callback function: (none) */
 
#define SCAN 2
#define QDC 2
#define QDC_REDRAW 2 /* control type: command, callback function: PlotQdcHistogramCB */
#define QDC_OPENGUI_2 3 /* control type: command, callback function: OpenQdcCB */
#define QDC_GRAPH_4 4 /* control type: graph, callback function: (none) */
#define QDC_GRAPH_3 5 /* control type: graph, callback function: (none) */
#define QDC_GRAPH_2 6 /* control type: graph, callback function: (none) */
#define QDC_GRAPH_1 7 /* control type: graph, callback function: (none) */
#define QDC_INIT_4 8 /* control type: command, callback function: InitQdcHistogramCB */
#define QDC_INIT_3 9 /* control type: command, callback function: InitQdcHistogramCB */
#define QDC_INIT_2 10 /* control type: command, callback function: InitQdcHistogramCB */
#define QDC_INIT_1 11 /* control type: command, callback function: InitQdcHistogramCB */
#define QDC_TWIN0_4 12 /* control type: numeric, callback function: (none) */
#define QDC_TWIN1_4 13 /* control type: numeric, callback function: (none) */
#define QDC_TWIN0_3 14 /* control type: numeric, callback function: (none) */
#define QDC_TWIN1_3 15 /* control type: numeric, callback function: (none) */
#define QDC_TWIN0_2 16 /* control type: numeric, callback function: (none) */
#define QDC_TWIN1_2 17 /* control type: numeric, callback function: (none) */
#define QDC_NBIN_4 18 /* control type: numeric, callback function: (none) */
#define QDC_MAX_4 19 /* control type: numeric, callback function: (none) */
#define QDC_MIN_4 20 /* control type: numeric, callback function: (none) */
#define QDC_NBIN_3 21 /* control type: numeric, callback function: (none) */
#define QDC_ACTIVE_4 22 /* control type: radioButton, callback function: SetActiveCB */
#define QDC_ACTIVE_3 23 /* control type: radioButton, callback function: SetActiveCB */
#define QDC_ACTIVE_2 24 /* control type: radioButton, callback function: SetActiveCB */
#define QDC_LOGY 25 /* control type: radioButton, callback function: LogScaleCB */
#define QDC_WFM 26 /* control type: radioButton, callback function: (none) */
#define QDC_ACTIVE_1 27 /* control type: radioButton, callback function: SetActiveCB */
#define QDC_MAX_3 28 /* control type: numeric, callback function: (none) */
#define QDC_MIN_3 29 /* control type: numeric, callback function: (none) */
#define QDC_NBIN_2 30 /* control type: numeric, callback function: (none) */
#define QDC_MAX_2 31 /* control type: numeric, callback function: (none) */
#define QDC_MIN_2 32 /* control type: numeric, callback function: (none) */
#define QDC_NBIN_1 33 /* control type: numeric, callback function: (none) */
#define QDC_MAX_1 34 /* control type: numeric, callback function: (none) */
#define QDC_MIN_1 35 /* control type: numeric, callback function: (none) */
#define QDC_TWIN0_1 36 /* control type: numeric, callback function: (none) */
#define QDC_TWIN1_1 37 /* control type: numeric, callback function: (none) */
 
#define SCAN 3
#define SCAN_OPENGUI 2 /* control type: command, callback function: OpenGuiCB */
#define SCAN_BD 3 /* control type: command, callback function: MoveStageCB */
#define SCAN_BR 4 /* control type: command, callback function: MoveStageCB */
85,16 → 142,29
/* Callback Prototypes: */
 
int CVICALLBACK CalibrateCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK ConnectCB(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 ExecRootCB(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);
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 InitQdcHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK LogScaleCB(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 OpenGuiCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK OpenQdcCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK PlotQdcHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK PlotScanHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK ScaleCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK SetActiveCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK SetVoltageCB(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);
int CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK TempTableCB(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