/**************************************************************************/ /* LabWindows/CVI User Interface Resource (UIR) Include File */ /* Copyright (c) National Instruments 2014. All Rights Reserved. */ /* */ /* WARNING: Do not add to, delete from, or otherwise modify the contents */ /* of this include file. */ /**************************************************************************/ #include #ifdef __cplusplus extern "C" { #endif /* Panels and Controls: */ #define UMACPAN 1 #define UMACPAN_CMD_QUIT 2 /* control type: command, callback function: umacui_quit */ #define UMACPAN_ACCELERATION 3 /* control type: numeric, callback function: OnAcceleration */ #define UMACPAN_TRIG_VEL 4 /* control type: numeric, callback function: (none) */ #define UMACPAN_TRIG_POS2 5 /* control type: numeric, callback function: (none) */ #define UMACPAN_TRIG_POS1 6 /* control type: numeric, callback function: (none) */ #define UMACPAN_TRIG_INC 7 /* control type: numeric, callback function: (none) */ #define UMACPAN_VELOCITY 8 /* control type: numeric, callback function: OnVelocity */ #define UMACPAN_ABS_DISTANCE 9 /* control type: numeric, callback function: OnAbsDistance */ #define UMACPAN_REL_DISTANCE 10 /* control type: numeric, callback function: OnRelDistance */ #define UMACPAN_MOVE_ABS 11 /* control type: command, callback function: umacui_move_abs */ #define UMACPAN_COM_MOVE_HOME 12 /* control type: command, callback function: umacui_home_move */ #define UMACPAN_MOVE_REL 13 /* control type: command, callback function: umacui_move_rel */ #define UMACPAN_ACTUAL_POSITION 14 /* control type: numeric, callback function: (none) */ #define UMACPAN_COM_GET_MOT_POS 15 /* control type: command, callback function: umacui_get_mot_position */ #define UMACPAN_RESULT 16 /* control type: string, callback function: (none) */ #define UMACPAN_COMMAND 17 /* control type: string, callback function: OnCommand */ #define UMACPAN_AXIS 18 /* control type: ring, callback function: OnAxis */ #define UMACPAN_DECORATION 19 /* control type: deco, callback function: (none) */ #define UMACPAN_DECORATION_2 20 /* control type: deco, callback function: (none) */ #define UMACPAN_TEXTMSG 21 /* control type: textMsg, callback function: (none) */ #define UMACPAN_DECORATION_3 22 /* control type: deco, callback function: (none) */ #define UMACPAN_TEXTMSG_2 23 /* control type: textMsg, callback function: (none) */ #define UMACPAN_TEXTMSG_3 24 /* control type: textMsg, callback function: (none) */ #define UMACPAN_CS_STATUS 25 /* control type: command, callback function: OnCsStatus */ #define UMACPAN_MOTOR_STATUS 26 /* control type: command, callback function: OnMotorStatus */ #define UMACPAN_MOTOR_MOVE_TIMER 27 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_HOME_COMPLETE 28 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_DESIRED_VELOCIT 29 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_IN_POSITION 30 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_OPEN_LOOP 31 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_AMPLIFIER_ENABL 32 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_POSITIVE_LIMIT 33 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_NEGATIVE_LIMIT 34 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_C_AXIS 35 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_B_AXIS 36 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_V_AXIS 37 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_W_AXIS 38 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_A_AXIS 39 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_X_AXIS 40 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_Y_AXIS 41 /* control type: radioButton, callback function: (none) */ #define UMACPAN_Box_Z_AXIS 42 /* control type: radioButton, callback function: (none) */ #define UMACPAN_MOTOR_ACTIVATED 43 /* control type: radioButton, callback function: (none) */ #define UMACPAN_INPOSITIONCS 44 /* control type: radioButton, callback function: (none) */ #define UMACPAN_RUNPROGRAM 45 /* control type: radioButton, callback function: (none) */ #define UMACPAN_ZBREAK 46 /* control type: textButton, callback function: OnZbreak */ #define UMACPAN_CALIB 47 /* control type: command, callback function: OnCalib */ #define UMACPAN_POSITIVE_SOFT_LIMIT 48 /* control type: command, callback function: (none) */ #define UMACPAN_POSITIVE_SOFT_LIMIT_D 49 /* control type: numeric, callback function: (none) */ #define UMACPAN_RING_TRIG_AXIS 50 /* control type: ring, callback function: (none) */ #define UMACPAN_TEXTMSG_4 51 /* control type: textMsg, callback function: (none) */ #define UMACPAN_BUTTON_HOME 52 /* control type: command, callback function: Home */ #define UMACPAN_BUTTON_TRIG 53 /* control type: command, callback function: Trig */ /* Control Arrays: */ /* (no control arrays in the resource file) */ /* Menu Bars, Menus, and Menu Items: */ /* (no menu bars in the resource file) */ /* Callback Prototypes: */ int CVICALLBACK Home(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnAbsDistance(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnAcceleration(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnAxis(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnCalib(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnCommand(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnCsStatus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnMotorStatus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnRelDistance(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnVelocity(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK OnZbreak(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK Trig(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK umacui_get_mot_position(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK umacui_home_move(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK umacui_move_abs(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK umacui_move_rel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK umacui_quit(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); #ifdef __cplusplus } #endif