/* ************************************************************** */ /* * PM500.H * * Zachary Wolf * 7/27/98 */ #ifndef __PM500_HEADER #define __PM500_HEADER #if defined(__cplusplus) || defined(__cplusplus__) extern "C" { #endif /* ************************************************************** */ /* PUBLIC FUNCTION DECLARATIONS */ void pm500_init(int gpib_board_addr, int gpib_dev_addr, int* ID); void pm500_autocal(int dev_ID, char axis); void pm500_move_to_fiducial(int dev_ID, char axis); void pm500_rel_stage_move(int dev_ID, char axis, double acc, double vel, double dis); void pm500_rel_2_stage_move(int dev_ID, char axis1, char axis2, double acc, double vel, double dis); void pm500_rel_2_indep_stage_move(int dev_ID, char axis1, char axis2, double acc, double vel, double dis1, double dis2); void pm500_abs_stage_move(int dev_ID, char axis, double acc, double vel, double pos); void pm500_abs_2_stage_move(int dev_ID, char axis1, char axis2, double acc, double vel, double pos); void pm500_abs_2_indep_stage_move(int dev_ID, char axis1, char axis2, double acc, double vel, double pos1, double pos2); void pm500_zero(int dev_ID, char axis); void pm500_get_acc(int dev_ID, char axis, double* acc); void pm500_get_dcl(int dev_ID, char axis, double* dcl); void pm500_get_vel(int dev_ID, char axis, double* vel); void pm500_get_pos(int dev_ID, char axis, double* pos); void pm500_get_status(int dev_ID, char axis, char* status); void pm500_set_acc(int dev_ID, char axis, double acc); void pm500_set_dcl(int dev_ID, char axis, double dcl); void pm500_set_vel(int dev_ID, char axis, double vel); void pm500_exit(int dev_ID); /* ************************************************************** */ /* SEMI-PERMANENT PARAMETERS */ #define PM500_MAX_NUM_DEV 10 #define PM500_MAX_CMD 80 #define PM500_SYSTEM_NUM 1 /* ************************************************************** */ /* DONE */ #if defined(__cplusplus) || defined(__cplusplus__) } #endif #endif